X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=562d887e1728a4c90005d5bbc5913919e0d9c900;hb=ade631c612cc9c86c133005f5e898041b9240084;hp=87ca0168bde1d7ce9554590bb20dab43d7dec5bb;hpb=f93af41d4528bae0a4b0a1c791682e39686c2bdf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 87ca0168bd..562d887e17 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2565,17 +2565,6 @@ $wgCacheEpoch = '20030516000000'; */ $wgGitInfoCacheDirectory = false; -/** - * Bump this number when changing the global style sheets and JavaScript. - * - * It should be appended in the query string of static CSS and JS includes, - * to ensure that client-side caches do not keep obsolete copies of global - * styles. - * - * @deprecated since 1.31 - */ -$wgStyleVersion = '303'; - /** * This will cache static pages for non-logged-in users to reduce * database traffic on public sites. ResourceLoader requests to default @@ -3238,8 +3227,8 @@ $wgHTMLFormAllowTableFormat = true; $wgUseMediaWikiUIEverywhere = false; /** - * Temporary variable that determines whether the EditPage class should use OOjs UI or not. - * This will be removed later and OOjs UI will become the only option. + * Temporary variable that determines whether Special:Preferences should use OOUI or not. + * This will be removed later and OOUI will become the only option. * * @since 1.32 */ @@ -3789,23 +3778,6 @@ $wgResourceLoaderLESSVars = [ 'deviceWidthTablet' => '720px', ]; -/** - * Default import paths for LESS modules. LESS files referenced in @import - * statements will be looked up here first, and relative to the importing file - * second. To avoid collisions, it's important for the LESS files in these - * directories to have a common, predictable file name prefix. - * - * Extensions need not (and should not) register paths in - * $wgResourceLoaderLESSImportPaths. The import path includes the path of the - * currently compiling LESS file, which allows each extension to freely import - * files from its own tree. - * - * @since 1.22 - */ -$wgResourceLoaderLESSImportPaths = [ - "$IP/resources/src/mediawiki.less/", -]; - /** * Whether ResourceLoader should attempt to persist modules in localStorage on * browsers that support the Web Storage API. @@ -6043,6 +6015,15 @@ $wgSessionName = false; */ $wgCookieSetOnAutoblock = false; +/** + * Whether to set a cookie when a logged-out user is blocked. Doing so means that a blocked user, + * even after moving to a new IP address, will still be blocked. This cookie will contain an + * authentication code if $wgSecretKey is set, or otherwise will just be the block ID (in which + * case there is a possibility of an attacker discovering the names of revdeleted users, so it + * is best to use this in conjunction with $wgSecretKey being set). + */ +$wgCookieSetOnIpBlock = false; + /** @} */ # end of cookie settings } /************************************************************************//**