X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUnusedcategories.php;h=b686a5b5d2c4fdf206ec6b0c52fcd31f5b7f7d14;hb=4e9b74945c26994f7d4bbfe7d12800a1827a780a;hp=2aad09ea9523a9e5d749d6770c4a8ba19198aefc;hpb=b84a680a32ba03625d24ae3912c862d78ce73c16;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUnusedcategories.php b/includes/specials/SpecialUnusedcategories.php index 2aad09ea95..b686a5b5d2 100644 --- a/includes/specials/SpecialUnusedcategories.php +++ b/includes/specials/SpecialUnusedcategories.php @@ -39,15 +39,15 @@ class UnusedCategoriesPage extends QueryPage { } function getQueryInfo() { - return array ( - 'tables' => array ( 'page', 'categorylinks' ), - 'fields' => array ( 'namespace' => 'page_namespace', + return array( + 'tables' => array( 'page', 'categorylinks' ), + 'fields' => array( 'namespace' => 'page_namespace', 'title' => 'page_title', 'value' => 'page_title' ), - 'conds' => array ( 'cl_from IS NULL', + 'conds' => array( 'cl_from IS NULL', 'page_namespace' => NS_CATEGORY, 'page_is_redirect' => 0 ), - 'join_conds' => array ( 'categorylinks' => array ( + 'join_conds' => array( 'categorylinks' => array( 'LEFT JOIN', 'cl_to = page_title' ) ) ); }