Index: trunk/extensions/FlaggedRevs/specialpages/ReaderFeedback_body.php |
— | — | @@ -164,14 +164,13 @@ |
165 | 165 | $graphLink = SpecialPage::getTitleFor( 'RatingHistory' )->getFullUrl( 'target='.$form->page->getPrefixedUrl() ); |
166 | 166 | $talk = $form->page->getTalkPage(); |
167 | 167 | |
| 168 | + wfLoadExtensionMessages( 'RatingHistory' ); |
168 | 169 | $tallyTable = RatingHistory::getVoteAggregates( $form->page, 31 ); |
169 | 170 | |
170 | 171 | $dbw = wfGetDB( DB_MASTER ); |
171 | 172 | $dbw->begin(); |
172 | 173 | $ok = ( $bot || $form->submit() ); // don't submit for mindless drones |
173 | 174 | $dbw->commit(); |
174 | | - |
175 | | - wfLoadExtensionMessages( 'RatingHistory' ); |
176 | 175 | if( $ok ) { |
177 | 176 | return '<suc#>'.wfMsgExt( 'readerfeedback-success', array('parseinline'), |
178 | 177 | $form->page->getPrefixedText(), $graphLink, $talk->getFullUrl( 'action=edit§ion=new' ) ) . |