Localisation updates Cantonese, Chinese and Old/Late Time Chinese
[lhc/web/wiklou.git] / includes / SpecialDisambiguations.php
index 6267dd2..3404566 100644 (file)
@@ -1,10 +1,12 @@
 <?php
 /**
- *
- * @package MediaWiki
- * @subpackage SpecialPage
+ * @file
+ * @ingroup SpecialPage
  */
 
+/**
+ * @ingroup SpecialPage
+ */
 class DisambiguationsPage extends PageQueryPage {
 
        function getName() {
@@ -16,12 +18,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');
 
@@ -105,5 +106,3 @@ function wfSpecialDisambiguations() {
 
        return $sd->doQuery( $offset, $limit );
 }
-
-?>
\ No newline at end of file