summaryrefslogtreecommitdiff
path: root/includes/SpecialUnusedcategories.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-01-11 19:06:07 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-01-11 19:06:07 +0000
commita58285fd06c8113c45377c655dd43cef6337e815 (patch)
treedfe31d3d12652352fe44890b4811eda0728faefb /includes/SpecialUnusedcategories.php
parent20194986f6638233732ba1fc3e838f117d3cc9ea (diff)
Aktualisierung auf MediaWiki 1.9.0
Diffstat (limited to 'includes/SpecialUnusedcategories.php')
-rw-r--r--includes/SpecialUnusedcategories.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/SpecialUnusedcategories.php b/includes/SpecialUnusedcategories.php
index 270180ef..80f46a87 100644
--- a/includes/SpecialUnusedcategories.php
+++ b/includes/SpecialUnusedcategories.php
@@ -23,9 +23,9 @@ class UnusedCategoriesPage extends QueryPage {
function getSQL() {
$NScat = NS_CATEGORY;
$dbr =& wfGetDB( DB_SLAVE );
- extract( $dbr->tableNames( 'categorylinks','page' ));
+ list( $categorylinks, $page ) = $dbr->tableNamesN( 'categorylinks', 'page' );
return "SELECT 'Unusedcategories' as type,
- {$NScat} as namespace, page_title as title, 1 as value
+ {$NScat} as namespace, page_title as title, page_title as value
FROM $page
LEFT JOIN $categorylinks ON page_title=cl_to
WHERE cl_from IS NULL