Bug 32673: Keep the username in the input field if not existing
[lhc/web/wiklou.git] / includes / specials / SpecialMostimages.php
index 2fdbd1b..7805e53 100644 (file)
@@ -34,7 +34,7 @@ class MostimagesPage extends ImageQueryPage {
        function __construct( $name = 'Mostimages' ) {
                parent::__construct( $name );
        }
-       
+
        function isExpensive() { return true; }
        function isSyndicated() { return false; }
 
@@ -50,9 +50,7 @@ class MostimagesPage extends ImageQueryPage {
        }
 
        function getCellHtml( $row ) {
-               global $wgLang;
-               return wfMsgExt( 'nimagelinks',  array( 'parsemag', 'escape' ),
-                       $wgLang->formatNum( $row->value ) ) . '<br />';
+               return $this->msg( 'nimagelinks' )->numParams( $row->value )->escaped() . '<br />';
        }
 
 }