summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialUncategorizedcategories.php
blob: f23e89ce8b5a84ddafc8e5e79eb491a3b376d8d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
 * @file
 * @ingroup SpecialPage
 */

/**
 * implements Special:Uncategorizedcategories
 * @ingroup SpecialPage
 */
class UncategorizedCategoriesPage extends UncategorizedPagesPage {
	function UncategorizedCategoriesPage() {
		$this->requestedNamespace = NS_CATEGORY;
	}

	function getName() {
		return "Uncategorizedcategories";
	}
}

/**
 * constructor
 */
function wfSpecialUncategorizedcategories() {
	list( $limit, $offset ) = wfCheckLimits();

	$lpp = new UncategorizedCategoriesPage();

	return $lpp->doQuery( $offset, $limit );
}