dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
960687a
)
Fix double parentheses around file size on generic bitmap getShortDesc()
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 14 Mar 2008 00:10:48 +0000
(
00:10
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 14 Mar 2008 00:10:48 +0000
(
00:10
+0000)
includes/media/Generic.php
patch
|
blob
|
history
diff --git
a/includes/media/Generic.php
b/includes/media/Generic.php
index
1991492
..
944f278
100644
(file)
--- 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)";