From 7218b00583cd13754096e3181862609802b33616 Mon Sep 17 00:00:00 2001 From: pmolina Date: Sat, 2 Jun 2012 12:08:23 -0300 Subject: [PATCH] (bug 37181) Removed hard coded parentheses in SpecialMIMEsearch.php Change-Id: I32d351dc24e4029bfea68b36904b44022375f4b3 --- includes/specials/SpecialMIMEsearch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; } /** -- 2.20.1