r81765 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81764‎ | r81765 | r81766 >
Date:17:58, 8 February 2011
Author:platonides
Status:ok
Tags:
Comment:
Hack to shortcut it to zero until User::getStubThreshold() produces a call to optionUsed()
Modified paths:
  • /trunk/phase3/includes/parser/ParserOptions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/ParserOptions.php
@@ -274,7 +274,7 @@
275275 // since it disables the parser cache, its value will always
276276 // be 0 when this function is called by parsercache.
277277 // The conditional is here to avoid a confusing 0
278 - if ( in_array( 'stubthreshold', $forOptions ) )
 278+ if ( true || in_array( 'stubthreshold', $forOptions ) )
279279 $confstr .= '!0' ;
280280 else
281281 $confstr .= '!*' ;

Follow-up revisions

RevisionCommit summaryAuthorDate
r818511.17wmf1: MFT r81765, r81778catrope22:16, 9 February 2011
r82511Per Platonides; follow-up r78201: add "stubthreshold" to ParserOptions; also ...ialex15:03, 20 February 2011
r85148MFT: r80495, r80610, r80765, r81177, r81490, r81692, r81707, r81729, r81765, ...demon20:11, 1 April 2011

Status & tagging log