From 97fed890de6a323d0c79d16973c5a10e673cf11f Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Thu, 15 Sep 2011 13:47:40 +0000 Subject: [PATCH] (bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A). --- RELEASE-NOTES-1.19 | 1 + includes/specials/SpecialUnusedcategories.php | 7 +++++++ 2 files changed, 8 insertions(+) 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() ); -- 2.20.1