From 86d740f81c7a6ec6c356d237652b80b1df2b0463 Mon Sep 17 00:00:00 2001 From: pmolina Date: Sat, 2 Jun 2012 12:06:48 -0300 Subject: [PATCH] (bug 37182) Removed hard coded parentheses in SpecialStatistics.php Change-Id: Ie412b21a0426e5aaf9c1cf55aa91ab16fd1c0662 --- includes/specials/SpecialStatistics.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialStatistics.php b/includes/specials/SpecialStatistics.php index da8f786bb0..46881ec48f 100644 --- a/includes/specials/SpecialStatistics.php +++ b/includes/specials/SpecialStatistics.php @@ -118,9 +118,9 @@ class SpecialStatistics extends SpecialPage { if( $descMsg ) { $msg = $this->msg( $descMsg, $descMsgParam ); if ( $msg->exists() ) { - $descriptionText = $msg->parse(); + $descriptionText = $this->msg( 'parentheses' )->rawParams( $msg->parse() )->escaped(); $text .= "
" . Xml::element( 'small', array( 'class' => 'mw-statistic-desc'), - " ($descriptionText)" ); + " $descriptionText" ); } } return Html::rawElement( 'tr', $trExtraParams, -- 2.20.1