Manual:$wgSkipSkin

From MediaWiki.org

Jump to: navigation, search
Skins: $wgSkipSkin
Specify the name of a skin that should not be presented in the list of available skins.
Introduced in version: 1.4.1
Removed in version: still in use
Allowed Values: string
Default Value: ''

Other settings: Alphabetical | By Function


[edit] Details

Specify the name of a skin that should not be presented in the list of available skins. Use for blacklisting a skin which you do not want to remove from the skins directory

Example, in LocalSettings.php put:

# To remove various skins from the User Preferences choices
$wgSkipSkins = array( "chick", "cologneblue", "modern", "myskin", "nostalgia", "simple", "standard" );

Above would remove all skin choices but monobook. BTW, "standard" is the skin called Classic. Omit from above array any choices that you want to remain. See also: $wgSkipSkins

Personal tools