r76869 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76868‎ | r76869 | r76870 >
Date:00:42, 17 November 2010
Author:pdhanda
Status:ok
Tags:
Comment:
Merged r76866. Fixed bug where the stable revisions contents were not being displayed
Modified paths:
  • /branches/chad-pre-wmf-merge/extensions/FlaggedRevs/FlaggedArticleView.php (modified) (history)

Diff [purge]

Index: branches/chad-pre-wmf-merge/extensions/FlaggedRevs/FlaggedArticleView.php
@@ -614,7 +614,9 @@
615615
616616 # Get parsed stable version and output HTML
617617 $parserOut = FlaggedRevs::getPageCache( $this->article, $wgUser );
618 - if ( !$parserOut ) {
 618+ if ( $parserOut ) {
 619+ $this->addParserOutput( $parserOut );
 620+ } else {
619621 $text = $srev->getRevText();
620622 # Check if this is a redirect...
621623 $redirHtml = $this->getRedirectHtml( $text );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76866Fixed bug where the stable revisions contents were not being displayedpdhanda00:23, 17 November 2010

Status & tagging log