Manual:$wgSkipSkins

From MediaWiki.org
Jump to: navigation, search
Skins: $wgSkipSkins
Specify the name of skins that should not be presented in the list of available skins.
Introduced in version: 1.4.5
Removed in version: still in use
Allowed values:
Default value: array()

Other settings: Alphabetical | By Function

Details[edit | edit source]

Specify the names of skins that should not be presented in the list of available skins. Use for preventing users from choosing one or more skins which you do not want to remove from the skins directory.

Example, in LocalSettings.php put:

# Remove old skins from skin choice of user preferences
$wgSkipSkins = array( 'cologneblue', 'modern', 'monobook' );

Above would remove all skin choices but Vector. Omit from above array any choices that you want to remain.

See also[edit | edit source]

Language: English  • Deutsch • français • 日本語