From: pmolina Date: Sat, 2 Jun 2012 15:08:23 +0000 (-0300) Subject: (bug 37181) Removed hard coded parentheses in SpecialMIMEsearch.php X-Git-Tag: 1.31.0-rc.0~23376^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=7218b00583cd13754096e3181862609802b33616;p=lhc%2Fweb%2Fwiklou.git (bug 37181) Removed hard coded parentheses in SpecialMIMEsearch.php Change-Id: I32d351dc24e4029bfea68b36904b44022375f4b3 --- diff --git a/includes/specials/SpecialMIMEsearch.php b/includes/specials/SpecialMIMEsearch.php index b193a1c03b..46a35c4ce1 100644 --- a/includes/specials/SpecialMIMEsearch.php +++ b/includes/specials/SpecialMIMEsearch.php @@ -96,6 +96,7 @@ class MIMEsearchPage extends QueryPage { ); $download = Linker::makeMediaLinkObj( $nt, $this->msg( 'download' )->escaped() ); + $download = $this->msg( 'parentheses' )->rawParams( $download )->escaped(); $lang = $this->getLanguage(); $bytes = htmlspecialchars( $lang->formatSize( $result->img_size ) ); $dimensions = $this->msg( 'widthheight' )->numParams( $result->img_width, @@ -103,7 +104,7 @@ class MIMEsearchPage extends QueryPage { $user = Linker::link( Title::makeTitle( NS_USER, $result->img_user_text ), htmlspecialchars( $result->img_user_text ) ); $time = htmlspecialchars( $lang->userTimeAndDate( $result->img_timestamp, $this->getUser() ) ); - return "($download) $plink . . $dimensions . . $bytes . . $user . . $time"; + return "$download $plink . . $dimensions . . $bytes . . $user . . $time"; } /**