Escape message editsection on action=view
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 7 Feb 2015 14:03:09 +0000 (15:03 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 20 Feb 2015 14:53:26 +0000 (15:53 +0100)
Bug: T85864
Change-Id: Id55295a0406659242bbc12a59af7e23fb742237c

includes/skins/Skin.php

index 26ee164..530338a 100644 (file)
@@ -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 ),