From: pmolina Date: Sat, 2 Jun 2012 15:05:06 +0000 (-0300) Subject: (bug 37183) Removed hard coded parentheses in SpecialListfiles.php X-Git-Tag: 1.31.0-rc.0~23430^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=e3e46ba7633b20b0bfbab065dc6727a228080f5c;p=lhc%2Fweb%2Fwiklou.git (bug 37183) Removed hard coded parentheses in SpecialListfiles.php Change-Id: Id8fceb6075579bd30b701c2531f0d24723fe54f1 --- diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index abd83acbdf..284b85a5f2 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -210,7 +210,8 @@ class ImageListPager extends TablePager { array( 'href' => wfLocalFile( $filePage )->getURL() ), $imgfile ); - return "$link ($download)"; + $download = $this->msg( 'parentheses' )->rawParams( $download )->escaped(); + return "$link $download"; } else { return htmlspecialchars( $value ); }