summaryrefslogtreecommitdiff
path: root/includes/SpecialUncategorizedtemplates.php
blob: fb785e00e57018da9e5a997540880aa0bd53e636 (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
<?php

/**
 * Special page lists all uncategorised pages in the
 * template namespace
 *
 * @addtogroup 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 );
}