r81851 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81850‎ | r81851 | r81852 >
Date:22:16, 9 February 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r81765, r81778
Modified paths:
  • /branches/wmf/1.17wmf1/includes/parser/ParserOptions.php (modified) (history)
  • /branches/wmf/1.17wmf1/includes/resourceloader/ResourceLoader.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/parser/ParserOptions.php
@@ -281,7 +281,7 @@
282282 // since it disables the parser cache, its value will always
283283 // be 0 when this function is called by parsercache.
284284 // The conditional is here to avoid a confusing 0
285 - if ( in_array( 'stubthreshold', $forOptions ) )
 285+ if ( true || in_array( 'stubthreshold', $forOptions ) )
286286 $confstr .= '!0' ;
287287 else
288288 $confstr .= '!*' ;
Index: branches/wmf/1.17wmf1/includes/resourceloader/ResourceLoader.php
@@ -207,6 +207,7 @@
208208 foreach ( $name as $key => $value ) {
209209 $this->register( $key, $value );
210210 }
 211+ wfProfileOut( __METHOD__ );
211212 return;
212213 }
213214
Property changes on: branches/wmf/1.17wmf1/includes/resourceloader/ResourceLoader.php
___________________________________________________________________
Modified: svn:mergeinfo
214215 Merged /trunk/phase3/includes/resourceloader/ResourceLoader.php:r81778

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81765Hack to shortcut it to zero until User::getStubThreshold() produces a call to...platonides17:58, 8 February 2011
r81778Add missing wfProfileOut( __METHOD__ );reedy22:01, 8 February 2011

Status & tagging log