Followup r86764: don't parse the comment. Spotted by SPQRobin@Translatewiki and fixed...
authorRaimond Spekking <raymond@users.mediawiki.org>
Sun, 24 Apr 2011 17:58:56 +0000 (17:58 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Sun, 24 Apr 2011 17:58:56 +0000 (17:58 +0000)
includes/Linker.php

index b430db1..2d36829 100644 (file)
@@ -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 );
                }