Manual:$wgValidSkinNames/zh

细节
Array with information on valid skin names. Optionally can be used by skins to tell MediaWiki that they are available.


 * The key should be the skin's id in all lower case. Generally this should be the same as the name of the base folder inside skins/ that contains the skins css, resources, etc...
 * Prior to MediaWiki 1.35, the value should be an identifier which when prefixed with "Skin" becomes the class name of the class implemented by your skin. i.e. If your skin's class name is "SkinFooBar" the value in the array should be
 * From MediaWiki 1.35, the value can be a specification for . The old format, where the value is an identifier which when prefixed with "Skin" becomes the class name of the class implemented by your skin, is still supported.
 * Prior to MediaWiki 1.18 the value was a fallback display name and the class name was determined by running ucfirst on the lowercase skin id. i.e. For  it would try to load the "SkinFoobar" class. This caused issues with our AutoLoader being case-sensitive despite PHP class names being case-insensitive.

The default skins will be added later, by. Use  as an accessor if you wish to have access to the full list.

Examples
As of MediaWiki 1.35, the value is a specification for. This allows for the skin name to be decoupled (such as PHP class namespacing) from the underlying PHP class name.

Old PHP loading style format: format: