- return "SELECT 'Uncategorizedpages' as type, cur_namespace AS namespace, cur_title AS title, cur_title AS value " .
- "FROM $cur LEFT JOIN $categorylinks ON cur_id=cl_from ".
- "WHERE cl_from IS NULL AND cur_namespace=0 AND cur_is_redirect=0";
+ return "SELECT 'Uncategorizedpages' as type, page_namespace AS namespace, page_title AS title, page_title AS value " .
+ "FROM $page LEFT JOIN $categorylinks ON page_id=cl_from ".
+ "WHERE cl_from IS NULL AND page_namespace=$this->requestedNamespace AND page_is_redirect=0";