Escape message parentheses on Special:Gadgets

Bug: T85864
Change-Id: Ibcc4713a84f294e5bf7daa139e36e2dc98903d88
This commit is contained in:
umherirrender 2015-02-07 14:31:19 +01:00
parent 139b7a0736
commit 76eafe0cfe

View file

@ -106,7 +106,8 @@ class SpecialGadgets extends SpecialPage {
$output->addHTML( Xml::openElement( 'ul' ) ); $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' ) . $output->addHTML( Xml::openElement( 'li' ) .
$ttext . $lnk . "<br />" . $ttext . $lnk . "<br />" .
$this->msg( 'gadgets-uses' )->escaped() . $this->msg( 'gadgets-uses' )->escaped() .