<?php
/**
*
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
*/
class DisambiguationsPage extends PageQueryPage {
function getPageHeader( ) {
- global $wgOut;
- return $wgOut->parse( wfMsg( 'disambiguations-text' ) );
+ return wfMsgExt( 'disambiguations-text', array( 'parse' ) );
}
function getSQL() {
- $dbr =& wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE );
$dMsgText = wfMsgForContent('disambiguationspage');
return $sd->doQuery( $offset, $limit );
}
-?>
\ No newline at end of file