(bug 30907) Special:Unusedcategories should sort ascendingly (A-Z not Z-A).
authorBrian Wolff <bawolff@users.mediawiki.org>
Thu, 15 Sep 2011 13:47:40 +0000 (13:47 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Thu, 15 Sep 2011 13:47:40 +0000 (13:47 +0000)
RELEASE-NOTES-1.19
includes/specials/SpecialUnusedcategories.php

index b3a0b86..6efeb24 100644 (file)
@@ -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.
index ac17b87..e4b8e54 100644 (file)
@@ -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() );