Anyone know how to globally change the skin colour of a MediaWiki site? 07 April 2018, 07:46:11 I've installed wikimedia on my own machine & I'm in the gradual process of building a wiki. My eyes prefer darker themes, so I hunted up Skin:Vector-DarkCSS on the web & applied it to the wiki.Though I can only apply it (via Special Pages > Users and rights > Preferences > Tab->Appearance) in a fashion that works when I'm logged in.It is possible to make this work globally (logged in or not), though I don't understand how to do this, as the page (linked above) gives too few instructions for one who has no knowledge of CSS & its uses.Any help will be much appreciated, thanks. [edit:] With the above I also edited the LocalSettings.php file to include $wgAllowUserCss = true; Last Edit: 07 April 2018, 08:53:11 by handy
Re: Anyone know how to globally change the skin colour of a MediaWiki site? Reply #1 – 07 April 2018, 08:52:13 I should mention that I’ve also used the:Special pages > Users and rights > Preferences > Tab-Appearance - Skins - Shared CSS/JavaScript for all skins: Custom CSS section to install the Skin:Vector-DarkCSS code.With the $wgUseSiteCss = true; added to the LocalSettings.php , but it makes no difference, it still requires that there is someone logged in. I guess what it does is that it works for anyone who is logged in, & not just the person who uses the $wgAllowUserCss = true; method as mentioned in my previous post.There must be a way to change the entire wiki colour scheme permanently whether anyone is logged in or not?
Re: Anyone know how to globally change the skin colour of a MediaWiki site? Reply #2 – 08 April 2018, 13:43:08 Global Hooks seem to go in etc/environment and this file says " Syntax: simple "KEY=VAL" pairs on separate lines" not sure if this helps?
Re: Anyone know how to globally change the skin colour of a MediaWiki site? Reply #3 – 09 April 2018, 02:58:49 Quote from: robin0800 – on 08 April 2018, 13:43:08Global Hooks seem to go in etc/environment and this file says " Syntax: simple "KEY=VAL" pairs on separate lines" not sure if this helps?Thanks robin, but no, this has to happen inside of the mediawiki installation.