r72896 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72895‎ | r72896 | r72897 >
Date:13:13, 13 September 2010
Author:demon
Status:ok
Tags:
Comment:
ParserCache::save() wants $options, not $user. Fixes bug 25155?
Modified paths:
  • /trunk/extensions/FlaggedRevs/forms/RevisionReviewForm.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/forms/RevisionReviewForm.php
@@ -700,7 +700,7 @@
701701 $text, $title, $options, true, true, $article->getLatest() );
702702 # Might as well save the cache while we're at it
703703 if ( $rev->isCurrent() && $wgEnableParserCache ) {
704 - $parserCache->save( $pOutput, $article, $user );
 704+ $parserCache->save( $pOutput, $article, $options );
705705 }
706706 }
707707 $templateIDs = $pOutput->mTemplateIds;

Status & tagging log