From 396b28f3d881f5debd888ba9bb9b47c2d478a76f Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 15 Dec 2008 18:02:47 +0100 Subject: update to Mediawiki 1.13.3; some cleanups --- includes/SpecialUnusedcategories.php | 46 ------------------------------------ 1 file changed, 46 deletions(-) delete mode 100644 includes/SpecialUnusedcategories.php (limited to 'includes/SpecialUnusedcategories.php') diff --git a/includes/SpecialUnusedcategories.php b/includes/SpecialUnusedcategories.php deleted file mode 100644 index 492c5f84..00000000 --- a/includes/SpecialUnusedcategories.php +++ /dev/null @@ -1,46 +0,0 @@ -tableNamesN( 'categorylinks', 'page' ); - return "SELECT 'Unusedcategories' as type, - {$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 - AND page_namespace = {$NScat} - AND page_is_redirect = 0"; - } - - function formatResult( $skin, $result ) { - $title = Title::makeTitle( NS_CATEGORY, $result->title ); - return $skin->makeLinkObj( $title, $title->getText() ); - } -} - -/** constructor */ -function wfSpecialUnusedCategories() { - list( $limit, $offset ) = wfCheckLimits(); - $uc = new UnusedCategoriesPage(); - return $uc->doQuery( $offset, $limit ); -} - -- cgit v1.2.3-54-g00ecf