Hack to shortcut it to zero until User::getStubThreshold() produces a call to optionU...
authorPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 17:58:53 +0000 (17:58 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 17:58:53 +0000 (17:58 +0000)
includes/parser/ParserOptions.php

index a9a5467..b8b2739 100644 (file)
@@ -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 .= '!*' ;