Don't include redirects in dead-end pages
authorLuc Van Oostenryck <looxix@users.mediawiki.org>
Wed, 21 Apr 2004 21:02:04 +0000 (21:02 +0000)
committerLuc Van Oostenryck <looxix@users.mediawiki.org>
Wed, 21 Apr 2004 21:02:04 +0000 (21:02 +0000)
includes/SpecialDeadendpages.php

index 34105db..e30875f 100644 (file)
@@ -19,6 +19,7 @@ class DeadendPagesPage extends PageQueryPage {
          "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}";
     }