r83064 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83063‎ | r83064 | r83065 >
Date:02:59, 2 March 2011
Author:yaron
Status:deferred
Tags:
Comment:
Added sortDescending() method, so pages are sorted in right order for MW 1.18+
Modified paths:
  • /trunk/extensions/ApprovedRevs/SpecialApprovedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ApprovedRevs/SpecialApprovedRevs.php
@@ -234,6 +234,10 @@
235235 return array( 'p.page_namespace', 'p.page_title' );
236236 }
237237
 238+ function sortDescending() {
 239+ return false;
 240+ }
 241+
238242 function formatResult( $skin, $result ) {
239243 $title = Title::newFromId( $result->id );
240244

Status & tagging log