r57353 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57352‎ | r57353 | r57354 >
Date:03:52, 4 October 2009
Author:aaron
Status:ok (Comments)
Tags:
Comment:
Fixed fatal caused by r56420, getting tired of this stuff
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -825,7 +825,7 @@
826826 $wgOut->addHTML( "<div class='mw-warning-with-logexcerpt'>" );
827827 $wgOut->addWikiMsg( 'revreview-locked' );
828828 LogEventsList::showLogExtract( $wgOut, 'stable',
829 - $this->parent->getTitle()->getPrefixedText(), '', 1 );
 829+ $this->parent->getTitle()->getPrefixedText(), '', array('lim'=>1) );
830830 $wgOut->addHTML( "</div>" );
831831 # ...or unstable
832832 } elseif( $this->isPageUnlocked() ) {
@@ -833,7 +833,7 @@
834834 $wgOut->addHTML( "<div class='mw-warning-with-logexcerpt'>" );
835835 $wgOut->addWikiMsg( 'revreview-unlocked' );
836836 LogEventsList::showLogExtract( $wgOut, 'stable',
837 - $this->parent->getTitle()->getPrefixedText(), '', 1 );
 837+ $this->parent->getTitle()->getPrefixedText(), '', array('lim'=>1) );
838838 $wgOut->addHTML( "</div>" );
839839 }
840840 return true;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56420Follow-up on r56284: LogEventsList::showLogExtract gets associative array for...churchofemacs17:17, 16 September 2009

Comments

#Comment by Church of emacs (talk | contribs)   07:55, 4 October 2009

Sorry for breaking the code. I searched the core code and all extensions in SVN to fix calls of showLogExtract, somehow I missed this one :-(

Status & tagging log