From 3d113bcf25ad5001c1be448373ca308f4baa7d6c Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Sun, 24 Apr 2011 17:58:56 +0000 Subject: [PATCH] Followup r86764: don't parse the comment. Spotted by SPQRobin@Translatewiki and fixed the help of Ialex --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.20.1