}
function getPageHeader() {
- return '<p>' . wfMsg('unusedcategoriestext') . '</p>';
+ return wfMsgExt( 'unusedcategoriestext', array( 'parse' ) );
}
function getSQL() {
$NScat = NS_CATEGORY;
- $dbr =& wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE );
list( $categorylinks, $page ) = $dbr->tableNamesN( 'categorylinks', 'page' );
return "SELECT 'Unusedcategories' as type,
{$NScat} as namespace, page_title as title, page_title as value
$uc = new UnusedCategoriesPage();
return $uc->doQuery( $offset, $limit );
}
-?>
+