r52210 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52209‎ | r52210 | r52211 >
Date:20:45, 20 June 2009
Author:aaron
Status:ok
Tags:
Comment:
Use newFromRow() to cache more fields
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/OldReviewedPages_body.php
@@ -196,7 +196,7 @@
197197 public function formatRow( $row ) {
198198 global $wgLang, $wgUser, $wgMemc;
199199
200 - $title = Title::makeTitle( $row->page_namespace, $row->page_title );
 200+ $title = Title::newFromRow( $row );
201201 $link = $this->skin->makeKnownLinkObj( $title );
202202 $css = $stxt = $review = $quality = $underReview = '';
203203 $stxt = ChangesList::showCharacterDifference( $row->rev_len, $row->page_len );

Status & tagging log