summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialUncategorizedtemplates.php
blob: cb2a6d40f3e3a7c094c9fdef20bb715c2ef0ff7c (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
<?php
/**
 * @file
 * @ingroup SpecialPage
 */

/**
 * Special page lists all uncategorised pages in the
 * template namespace
 *
 * @ingroup SpecialPage
 * @author Rob Church <robchur@gmail.com>
 */
class UncategorizedTemplatesPage extends UncategorizedPagesPage {

	var $requestedNamespace = NS_TEMPLATE;

	public function getName() {
		return 'Uncategorizedtemplates';
	}

}

/**
 * Main execution point
 *
 * @param mixed $par Parameter passed to the page
 */
function wfSpecialUncategorizedtemplates() {
	list( $limit, $offset ) = wfCheckLimits();
	$utp = new UncategorizedTemplatesPage();
	$utp->doQuery( $offset, $limit );
}