Fix for querypage changes
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 21 May 2004 18:56:56 +0000 (18:56 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 21 May 2004 18:56:56 +0000 (18:56 +0000)
includes/SpecialDeadendpages.php

index 0c39280..84641a5 100644 (file)
@@ -15,13 +15,11 @@ class DeadendPagesPage extends PageQueryPage {
     }
     
     function getSQL( $offset, $limit ) {
-       return "SELECT cur_title " . 
+       return "SELECT cur_title as title, 0 as value " . 
          "FROM cur LEFT JOIN links ON cur_id = l_from " .
          "WHERE l_from IS NULL " .
          "AND cur_namespace = 0 " .
-         "AND cur_is_redirect = 0 " .
-         "ORDER BY cur_title " . 
-         "LIMIT {$offset}, {$limit}";
+         "AND cur_is_redirect = 0";
     }
 }