wiki.techinc.nl/includes/SpecialUncategorizedtemplates.php

31 lines
596 B
PHP

<?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 );
}