Hello everyone, I took over a project from a colleague this week and have the following problem when updating from Fontawesome 5 to Fontawesome 6. I would like to add that I am a complete newcomer to the Mediawiki world. Since this is a local environment, I don't have an official website for you. Key data:
MediaWiki 1.39.5 (e53adb1)
06:49, 7 Apr 2022
PHP 8.1.25 (fpm-fcgi)
MariaDB 10.5.19-MariaDB-0+deb11u2
ICU 67.1
Debian Distribution
Nginx
We use our own icons, which are integrated via gitlab. If I now install Fontawesome 6 Pro and integrate it into my main.scss:
$fontAwesomeFont:'Font Awesome 6 Pro';
@import 'variables';
@import 'sp-sass/scss/style';
@import 'fontawesome-pro/scss/brands';
@import 'fontawesome-pro/scss/duotone';
@import 'fontawesome-pro/scss/light';
@import 'fontawesome-pro/scss/regular';
@import 'fontawesome-pro/scss/solid';
@import 'fontawesome-pro/scss/v4-shims';
@import 'fontawesome-pro/scss/fontawesome';
@import 'glyphicons/glyphicons/glyphicons';
@import 'glyphicons/halflings/glyphicons-halflings';
@import 'spicons';
@import 'modules/sidebar';
@import 'wiki';
@import 'modules/content';
@import 'modules/searchForm';
and recompile the assets, the custom icons are no longer displayed. I found a place in the source code that causes problems: .fa-slash-back::before If I delete this, everything works. I have no idea why this is happening and hope you can help me. I hope I could give you enough information.