From: Bartosz DziewoƄski Date: Tue, 22 Jul 2014 18:25:15 +0000 (+0200) Subject: DefaultSettings: Update documentation for skin-related variables X-Git-Tag: 1.31.0-rc.0~14789^2 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=8b3d231cf5176f56fb8bb562cb71b35d18d78c45;p=lhc%2Fweb%2Fwiklou.git DefaultSettings: Update documentation for skin-related variables Change-Id: I646b737d225fd320181bb5fe86d548835c4f5357 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 4606e9e6d0..83a9b4148a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2960,24 +2960,20 @@ $wgValidateAllHtml = false; /** * Default skin, for new users and anonymous visitors. Registered users may * change this to any one of the other available skins in their preferences. - * This has to be completely lowercase; see the "skins" directory for the list - * of available skins. */ $wgDefaultSkin = 'vector'; /** - * 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 - * - * @deprecated since 1.23; use $wgSkipSkins instead + * Specify the names of skins that should not be presented in the list of + * available skins in user preferences. If you want to remove a skin entirely, + * remove it from the skins/ directory and its entry from LocalSettings.php. */ -$wgSkipSkin = ''; +$wgSkipSkins = array(); /** - * Array for more like $wgSkipSkin. + * @deprecated since 1.23; use $wgSkipSkins instead */ -$wgSkipSkins = array(); +$wgSkipSkin = ''; /** * Allow user Javascript page? @@ -6049,13 +6045,12 @@ $wgParserOutputHooks = array(); $wgEnableParserLimitReporting = true; /** - * List of valid skin names. + * List of valid skin names + * * The key should be the name in all lower case, the value should be a properly - * cased name for the skin. This value will be prefixed with "Skin" to create the - * class name of the skin to load, and if the skin's class cannot be found through - * the autoloader it will be used to load a .php file by that name in the skins directory. - * The default skins will be added later, by Skin::getSkinNames(). Use - * Skin::getSkinNames() as an accessor if you wish to have access to the full list. + * cased name for the skin. This value will be prefixed with "Skin" to create + * the class name of the skin to load. Use Skin::getSkinNames() as an accessor + * if you wish to have access to the full list. */ $wgValidSkinNames = array();