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 usetheme=X parameter is accepted in LocalSettings.php to change the theme on a per-pageload basis. Future versions of this extension will also add fields to Special:Preferences to allow changing the theme on a per-account basis.

This extension was written by Skizzerz for ShoutWiki.

Installation

 * 1) Download the Code and save it as extensions/Theme/Theme.php
 * 2) Add  to your wiki's LocalSettings.php
 * 3) Installation can now be verified through Special:Version on your wiki

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

Adding themes
To add a new theme, create a themes directory in the respective skin's folder (e.g. skins/monobook/themes), and drop the theme css in there (e.g. skins/monobook/themes/dark.css).