* (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 23 Jan 2005 01:43:24 +0000 (01:43 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 23 Jan 2005 01:43:24 +0000 (01:43 +0000)
Patch from zigger

includes/SpecialWantedpages.php

index 1a59ae5..e345703 100644 (file)
@@ -40,13 +40,7 @@ class WantedPagesPage extends QueryPage {
                                COUNT(DISTINCT bl_from) as value
                        FROM $brokenlinks
                        GROUP BY bl_to
-                       HAVING $agrvalue > 1
-                       ORDER BY $agrvalue ".
-                       ($this->sortDescending() ? 'DESC' : '');
-       }
-
-       function getOrder() {
-               return '';
+                       HAVING $agrvalue > 1";
        }
 
        function formatResult( $skin, $result ) {