From 76eafe0cfe70e7982c1e7397032084813c9d7599 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 7 Feb 2015 14:31:19 +0100 Subject: [PATCH] Escape message parentheses on Special:Gadgets Bug: T85864 Change-Id: Ibcc4713a84f294e5bf7daa139e36e2dc98903d88 --- SpecialGadgets.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpecialGadgets.php b/SpecialGadgets.php index f6c3d74c..8a9fd0eb 100644 --- a/SpecialGadgets.php +++ b/SpecialGadgets.php @@ -106,7 +106,8 @@ class SpecialGadgets extends SpecialPage { $output->addHTML( Xml::openElement( 'ul' ) ); } - $lnk = '  ' . $this->msg( 'parentheses', $lang->pipeList( $links ) )->text(); + $lnk = '  ' . + $this->msg( 'parentheses' )->rawParams( $lang->pipeList( $links ) )->escaped(); $output->addHTML( Xml::openElement( 'li' ) . $ttext . $lnk . "
" . $this->msg( 'gadgets-uses' )->escaped() .