Dropping DISTINCT
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 9 Jul 2005 19:38:23 +0000 (19:38 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 9 Jul 2005 19:38:23 +0000 (19:38 +0000)
includes/SpecialUnusedcategories.php

index 9696db9..e777360 100644 (file)
@@ -27,7 +27,7 @@ class UnusedCategoriesPage extends QueryPage {
                $NScat = NS_CATEGORY;
                $dbr =& wfGetDB( DB_SLAVE );
                extract( $dbr->tableNames( 'categorylinks','page' ));
-               return "SELECT DISTINCT 'Unusedcategories' as type,
+               return "SELECT 'Unusedcategories' as type,
                                {$NScat} as namespace, page_title as title, 1 as value
                                FROM $page
                                LEFT JOIN $categorylinks ON page_title=cl_to