From 8272ebfe6b77ed34f2b2e624eec336260a77d5ad Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 8 Feb 2011 17:58:53 +0000 Subject: [PATCH] Hack to shortcut it to zero until User::getStubThreshold() produces a call to optionUsed() --- includes/parser/ParserOptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .= '!*' ; -- 2.20.1