revert r106095, fix apparently not this simple
[lhc/web/wiklou.git] / includes / specials / SpecialMIMEsearch.php
index b06a95b..2ce8ec4 100644 (file)
@@ -94,7 +94,7 @@ class MIMEsearchPage extends QueryPage {
                );
 
                $download = Linker::makeMediaLinkObj( $nt, wfMsgHtml( 'download' ) );
-               $lang = $this->getLang();
+               $lang = $this->getLanguage();
                $bytes = wfMsgExt( 'nbytes', array( 'parsemag', 'escape' ),
                        $lang->formatNum( $result->img_size ) );
                $dimensions = htmlspecialchars( wfMsg( 'widthheight',