From: Brion Vibber Date: Fri, 14 Mar 2008 00:10:48 +0000 (+0000) Subject: Fix double parentheses around file size on generic bitmap getShortDesc() X-Git-Tag: 1.31.0-rc.0~49124 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=4eb2c6816549629e52eaa558f01e53645af65eb9;p=lhc%2Fweb%2Fwiklou.git Fix double parentheses around file size on generic bitmap getShortDesc() --- diff --git a/includes/media/Generic.php b/includes/media/Generic.php index 199149296f..944f278924 100644 --- a/includes/media/Generic.php +++ b/includes/media/Generic.php @@ -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)";