Topic on Skin talk:Cosmos

Some options do not seem to be working

4
Summary by Universal Omega

Was using REL1_35 branch, therefore wrong config names.

LordCroquet (talkcontribs)

Hi,


First of all, I would like to tell you that the skin is very well done, congratulations!


I don't know if I'm doing something wrong, but there are some configuration options that don't seem to be working.

These options are: $wgCosmosFooterBackgroundColor, $wgCosmosToolbarBackgroundColor and $wgCosmosButtonBackgroundColor.


LocalSettings.php

# Load Cosmos (skin)

$wgDefaultSkin = 'Cosmos';

wfLoadSkin( 'Cosmos' );

$wgCosmosMainBackgroundColor  = '#a5b5c5';

$wgCosmosBannerBackgroundColor = '#002a32';

$wgCosmosWikiHeaderBackgroundColor = '#002266';

$wgCosmosContentBackgroundColor = '#ebf2f5';

$wgCosmosContentOpacityLevel = 79;

$wgCosmosFooterBackgroundColor = '#002266'; # not working

$wgCosmosToolbarBackgroundColor = '#002a32'; # not working

$wgCosmosLinkColor = '#0148c2';

$wgCosmosButtonBackgroundColor = '#002266'; # not working


Additional information:

- MediaWiki: mediawiki:1.35.1-fpm-alpine

- Browser: Firefox 87.0 (64-bit)

Universal Omega (talkcontribs)

Hello, I apologise for the issue. My guess is you are using the REL1_35 branch of Cosmos, that branch has configs named differently from master. In the REL1_35 branch, configs are wgCosmosFooterColor, wgCosmosButtonColor, wgCosmosToolbarColor, I recommend you switch to the master branch for Cosmos, for reasons that it is highly more maintained and updated, and it still supports mediawiki 1.35+. Thank you!

LordCroquet (talkcontribs)

I was indeed using the REL1_35 branch because I thought the master branch was unstable, but if you say that it is better to use the master branch, I will use it.

Now everything works like a charm!

Thank you very much! ^^

Universal Omega (talkcontribs)

Glad it works!