From: Brian Wolff Date: Thu, 15 Sep 2011 13:47:40 +0000 (+0000) Subject: (bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A). X-Git-Tag: 1.31.0-rc.0~27643 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=97fed890de6a323d0c79d16973c5a10e673cf11f;p=lhc%2Fweb%2Fwiklou.git (bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A). --- diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index b3a0b86fa2..6efeb24779 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -91,6 +91,7 @@ production. importing a new revision into it * Allowing moving the associated talk pages of subpages even if the base page has no subpage. +* (bug 30907) Special:Unusedcategories should sort ascendingly. === API changes in 1.19 === * (bug 19838) siprop=interwikimap can now use the interwiki cache. diff --git a/includes/specials/SpecialUnusedcategories.php b/includes/specials/SpecialUnusedcategories.php index ac17b87ac3..e4b8e544b1 100644 --- a/includes/specials/SpecialUnusedcategories.php +++ b/includes/specials/SpecialUnusedcategories.php @@ -50,6 +50,13 @@ class UnusedCategoriesPage extends QueryPage { ); } + /** + * A should come before Z (bug 30907) + */ + function sortDescending() { + return false; + } + function formatResult( $skin, $result ) { $title = Title::makeTitle( NS_CATEGORY, $result->title ); return $skin->link( $title, $title->getText() );