r67197 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67196‎ | r67197 | r67198 >
Date:19:40, 1 June 2010
Author:catrope
Status:ok (Comments)
Tags:
Comment:
Fix fatal in r67185
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -4788,7 +4788,7 @@
47894789 function disableCache() {
47904790 wfDebug( "Parser output marked as uncacheable.\n" );
47914791 $this->mOutput->setCacheTime( -1 ); // old style, for compatibility
4792 - $this->mOutput->setCacheExpiry( 0 ); // new style, for consistency
 4792+ $this->mOutput->updateCacheExpiry( 0 ); // new style, for consistency
47934793 }
47944794
47954795 /**#@+

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r67185allow parser/extensions to control for how long a ParserOutput gets cached. I...daniel14:28, 1 June 2010

Comments

#Comment by Duesentrieb (talk | contribs)   06:54, 2 June 2010

whooopsy, thanks

#Comment by Duesentrieb (talk | contribs)   13:33, 15 July 2010

needed by DataTransclusion extension

Status & tagging log