From: umherirrender Date: Sat, 7 Feb 2015 14:03:09 +0000 (+0100) Subject: Escape message editsection on action=view X-Git-Tag: 1.31.0-rc.0~12322^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=b8e7323ab4c8c47f27d8eafeea6665ad947b6dcf;p=lhc%2Fweb%2Fwiklou.git Escape message editsection on action=view Bug: T85864 Change-Id: Id55295a0406659242bbc12a59af7e23fb742237c --- diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index 26ee164c21..530338a1aa 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -1587,7 +1587,7 @@ abstract class Skin extends ContextSource { $links = array( 'editsection' => array( - 'text' => wfMessage( 'editsection' )->inLanguage( $lang )->text(), + 'text' => wfMessage( 'editsection' )->inLanguage( $lang )->escaped(), 'targetTitle' => $nt, 'attribs' => $attribs, 'query' => array( 'action' => 'edit', 'section' => $section ),