$wgStyleVersion
[lhc/web/wiklou.git] / includes / SpecialDisambiguations.php
index 6267dd2..fb1d75e 100644 (file)
@@ -1,8 +1,7 @@
 <?php
 /**
  *
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @addtogroup SpecialPage
  */
 
 class DisambiguationsPage extends PageQueryPage {
@@ -16,12 +15,11 @@ 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');
 
@@ -106,4 +104,3 @@ function wfSpecialDisambiguations() {
        return $sd->doQuery( $offset, $limit );
 }
 
-?>
\ No newline at end of file