Manual:Skins

Skins allow users to customize the look and feel of MediaWiki. The default skin used on the WikiMedia projects is Monobook. A number of other skins also exist in default MediaWiki installations. Users can see available skins on their Special:Preferences page.

For more information:


 * Users can find more information about choosing a skin at Help:Skins.
 * Developers can learn about creating new skins at Manual:Skinning.
 * Administrators can learn about configuring skins in the sections below.

Set a Default Skin for a Wiki
A default skin can be set for new users of a wiki by setting the variable $wgDefaultSkin in LocalSettings.php to the lowercase skin name specified in the skin file. Users can still change their skin later by going to their preferences page. If an admin would like to change a large number of existing user's skin settings, they can use the script in the maintenance folder called userOptions.php.

Suppress Skins
The administrator can limit the skin choices that are offered site-wide in user's preferences by listing skin(s) to suppress in the $wgSkipSkins array. To do this, put something like this in LocalSettings.php:

Site-Wide CSS
MediaWiki allows administrators to specify site-wide CSS rules to be added to every page rendered. These rules can be added by editing the page MediaWiki:Common.css. See the rules for this page for example.

User CSS
Users can also specify their own CSS rules by creating the page "User:Username/skinname.css". If a user uses the monobook skin for example, they woudl edit the page Special:MyPage.skinname.css. This feature can be enabled by setting $wgAllowUserCss to true in LocalSettings.php.

Remove Skin tab from User Preferences
The system administrator can completely remove the Skin tab/link so that it does not show up at all in User Preferences. This makes sense if your site will use a customized skin and would not look right in any other skin.

To remove the Skin link/tab from User Preferences, go in includes\SpecialPreferences.php and comment out (put another # at the beginning of each line or put /* before the first line and */ after the last line) these lines (starts on line ~719, ends on line ~747): It is also possible to just remove all the choices for skins, except for one: see $wgSkipSkin and $wgDefaultSkin.