r46422 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46421‎ | r46422 | r46423 >
Date:04:20, 28 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Message fix...sigh
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/ReaderFeedback_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/ReaderFeedback_body.php
@@ -164,14 +164,13 @@
165165 $graphLink = SpecialPage::getTitleFor( 'RatingHistory' )->getFullUrl( 'target='.$form->page->getPrefixedUrl() );
166166 $talk = $form->page->getTalkPage();
167167
 168+ wfLoadExtensionMessages( 'RatingHistory' );
168169 $tallyTable = RatingHistory::getVoteAggregates( $form->page, 31 );
169170
170171 $dbw = wfGetDB( DB_MASTER );
171172 $dbw->begin();
172173 $ok = ( $bot || $form->submit() ); // don't submit for mindless drones
173174 $dbw->commit();
174 -
175 - wfLoadExtensionMessages( 'RatingHistory' );
176175 if( $ok ) {
177176 return '<suc#>'.wfMsgExt( 'readerfeedback-success', array('parseinline'),
178177 $form->page->getPrefixedText(), $graphLink, $talk->getFullUrl( 'action=edit&section=new' ) ) .

Status & tagging log