ProfessionalWiki / chameleon

Provides a highly flexible and customizable skin using Bootstrap 4
https://www.mediawiki.org/wiki/Skin:Chameleon
Other
115 stars 63 forks source link

Chameleon skin still acting funky (for more information, see issue #412) #413

Closed Newman22 closed 5 months ago

Newman22 commented 5 months ago

MediaWiki version: 1.36.2 PHP version: 7.4.33 (fpm-fcgi) Chameleon version: 4.0.0 Bootstrap (extension) version: 4.5.0

I chose those versions of Chameleon and Bootstrap because I thought it was suitable with the version of MediaWiki I am currently using on my wiki family.

I read the Customization document and applied the theme by downloading the SCSS files from Bootswatch's website, and then uploading them to my skin's /themes directory and adding them to my Localsettings.php. I also added layouts to my Localsettings.php.

I tried doing everything I could, but my skin looks stripped down to basics.

Here is the code that I put in my Localsettings.php:


$egChameleonLayoutFile= __DIR__ . '/skins/Chameleon/layouts/standard.xml';
$egChameleonLayoutFile= __DIR__ . '/skins/Chameleon/layouts/navhead.xml';
$egChameleonLayoutFile= __DIR__ . '/skins/Chameleon/layouts/clean.xml';

$egChameleonExternalStyleModules = [
    __DIR__ . '/skins/Chameleon/resources/styles/themes/darkly.scss' => 'afterFunctions',

    __DIR__ . '/skins/Chameleon/resources/styles/themes/darkly_bootswatch.scss' => 'afterMain',

];

Originally posted by @Newman22 in https://github.com/ProfessionalWiki/chameleon/issues/412#issuecomment-1881747994

JeroenDeDauw commented 5 months ago

Stick to one issue please. Or make them self contained.