r76866 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76865‎ | r76866 | r76867 >
Date:00:23, 17 November 2010
Author:pdhanda
Status:ok (Comments)
Tags:
Comment:
Fixed bug where the stable revisions contents were not being displayed
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticleView.php (modified) (history)

Diff [purge]

Index: trunk/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 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r76869Merged r76866. Fixed bug where the stable revisions contents were not being d...pdhanda00:42, 17 November 2010
r77114MFT r76866, r76895, r76902, r76924-r77113demon21:18, 22 November 2010

Comments

#Comment by Aaron Schulz (talk | contribs)   00:40, 17 November 2010

Wow, fixes r73817.

#Comment by Platonides (talk | contribs)   23:14, 17 November 2010

My bad. Thanks pdhanda

Status & tagging log