r64170 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64169‎ | r64170 | r64171 >
Date:19:31, 25 March 2010
Author:aaron
Status:resolved
Tags:
Comment:
* Added history links to OldReviewedPages
* Minor formatRow() cleanup
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php
@@ -201,10 +201,12 @@
202202
203203 public function formatRow( $row ) {
204204 global $wgLang, $wgUser, $wgMemc;
 205+ $css = $quality = $underReview = '';
205206
206207 $title = Title::newFromRow( $row );
207208 $link = $this->skin->makeKnownLinkObj( $title );
208 - $css = $stxt = $review = $quality = $underReview = '';
 209+ $hist = $this->skin->makeKnownLinkObj( $title, wfMsgHtml( 'hist' ),
 210+ 'action=history&reviewing=1' );
209211 $stxt = ChangesList::showCharacterDifference( $row->rev_len, $row->page_len );
210212 $review = $this->skin->makeKnownLinkObj( $title,
211213 wfMsg( 'oldreviewed-diff' ),
@@ -256,7 +258,7 @@
257259 wfMsgHtml( 'oldreviewedpages-viewing' ) . '</b>';
258260 }
259261
260 - return( "<li{$css}>{$link} {$stxt} ({$review}) <i>{$age}</i>" .
 262+ return( "<li{$css}>{$link} ({$hist}) {$stxt} ({$review}) <i>{$age}</i>" .
261263 "{$quality}{$watching}{$underReview}</li>" );
262264 }
263265

Follow-up revisions

RevisionCommit summaryAuthorDate
r64172* Improved diff notice after edit (for reviewers)...aaron19:39, 25 March 2010

Status & tagging log