Fix double parentheses around file size on generic bitmap getShortDesc()
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 14 Mar 2008 00:10:48 +0000 (00:10 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 14 Mar 2008 00:10:48 +0000 (00:10 +0000)
includes/media/Generic.php

index 1991492..944f278 100644 (file)
@@ -400,8 +400,8 @@ abstract class ImageHandler extends MediaHandler {
 
        function getShortDesc( $file ) {
                global $wgLang;
-               $nbytes = '(' . wfMsgExt( 'nbytes', array( 'parsemag', 'escape' ),
-                       $wgLang->formatNum( $file->getSize() ) ) . ')';
+               $nbytes = wfMsgExt( 'nbytes', array( 'parsemag', 'escape' ),
+                       $wgLang->formatNum( $file->getSize() ) );
                $widthheight = wfMsgHtml( 'widthheight', $wgLang->formatNum( $file->getWidth() ) ,$wgLang->formatNum( $file->getHeight() ) );
 
                return "$widthheight ($nbytes)";