r82962 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82961‎ | r82962 | r82963 >
Date:21:12, 28 February 2011
Author:yaron
Status:deferred
Tags:
Comment:
Added override of sortDescending() method, to get order of pages working correctly for MW 1.18+
Modified paths:
  • /trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php
@@ -1020,6 +1020,10 @@
10211021 return array( 'sortkey' );
10221022 }
10231023
 1024+ function sortDescending() {
 1025+ return false;
 1026+ }
 1027+
10241028 function formatResult( $skin, $result ) {
10251029 $title = Title::makeTitle( $result->namespace, $result->value );
10261030 return $skin->makeLinkObj( $title, $title->getText() );

Status & tagging log