Extension:Theme

The Theme extension allows loading of themes (preset CSS to change the appearance of a skin). Currently, the  variable can be used to control what theme is being used site-wide, and the   parameter is accepted in LocalSettings.php to change the theme on a per-pageload basis.

Future versions of this extension plan to add fields to Special:Preferences, to allow changing the theme on a per-account basis.

This extension was written by Skizzerz for ShoutWiki.

Parameters
$wgDefaultTheme controls which theme is displayed by default when users visit your wiki.

Available themes

 * For MonoBook:
 * dark
 * pink
 * stellarbook


 * For Vector:
 * dark

Adding themes
To add a new theme for a core skin (such as Modern or Vector), create a directory called skinname (i.e. vector) under, place the CSS file(s) there and register the new theme in   file, under   object.

To add a new theme for a custom skin, register a module for each theme in the skin's main setup file. The naming convention is themeloader.skins.skinname-in-lowercase.themename-in-lowercase; for example, the module name of the AutumnLeaf theme for the BlueCloud skin would be themeloader.skins.bluecloud.autumnleaf.