From: Platonides Date: Tue, 8 Feb 2011 17:58:53 +0000 (+0000) Subject: Hack to shortcut it to zero until User::getStubThreshold() produces a call to optionU... X-Git-Tag: 1.31.0-rc.0~32110 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=8272ebfe6b77ed34f2b2e624eec336260a77d5ad;p=lhc%2Fweb%2Fwiklou.git Hack to shortcut it to zero until User::getStubThreshold() produces a call to optionUsed() --- diff --git a/includes/parser/ParserOptions.php b/includes/parser/ParserOptions.php index a9a5467ebd..b8b2739777 100644 --- a/includes/parser/ParserOptions.php +++ b/includes/parser/ParserOptions.php @@ -274,7 +274,7 @@ class ParserOptions { // since it disables the parser cache, its value will always // be 0 when this function is called by parsercache. // The conditional is here to avoid a confusing 0 - if ( in_array( 'stubthreshold', $forOptions ) ) + if ( true || in_array( 'stubthreshold', $forOptions ) ) $confstr .= '!0' ; else $confstr .= '!*' ;