From: Raimond Spekking Date: Sun, 24 Apr 2011 17:58:56 +0000 (+0000) Subject: Followup r86764: don't parse the comment. Spotted by SPQRobin@Translatewiki and fixed... X-Git-Tag: 1.31.0-rc.0~30581 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=3d113bcf25ad5001c1be448373ca308f4baa7d6c;p=lhc%2Fweb%2Fwiklou.git Followup r86764: don't parse the comment. Spotted by SPQRobin@Translatewiki and fixed the help of Ialex --- diff --git a/includes/Linker.php b/includes/Linker.php index b430db1be7..2d36829e51 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1304,7 +1304,7 @@ class Linker { } else { $formatted = self::formatComment( $comment, $title, $local ); if ( $embraced ) { - $formatted = wfMessage( 'parentheses', $formatted ); + $formatted = wfMessage( 'parentheses' )->rawParams( $formatted )->escaped(); } return Html::rawElement( 'span', array( 'class' => 'comment' ), $formatted ); }