summaryrefslogtreecommitdiff
path: root/includes/SpecialUncategorizedcategories.php
blob: 67f87aa86652b340d285a0ac7b925f09c5e8b010 (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
31
32
33
34
35
36
37
<?php
/**
 *
 * @addtogroup SpecialPage
 */

/**
 *
 */
require_once( "SpecialUncategorizedpages.php" );

/**
 * implements Special:Uncategorizedcategories
 * @addtogroup 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 );
}