From: Niklas Laxström Date: Sat, 12 Apr 2008 12:41:25 +0000 (+0000) Subject: * The gotcha here was that wfMsgHtml does not escape parameters X-Git-Tag: 1.31.0-rc.0~48416 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=f565ae5d60d2d6f2ef99b31e29ac1ba13562d68e;p=lhc%2Fweb%2Fwiklou.git * The gotcha here was that wfMsgHtml does not escape parameters --- diff --git a/includes/SpecialWhatlinkshere.php b/includes/SpecialWhatlinkshere.php index 2871cccc24..711290b5ed 100644 --- a/includes/SpecialWhatlinkshere.php +++ b/includes/SpecialWhatlinkshere.php @@ -344,8 +344,8 @@ class WhatLinksHerePage { } function getFilterPanel() { - $show = wfMsg( 'show' ); - $hide = wfMsg( 'hide' ); + $show = wfMsgHtml( 'show' ); + $hide = wfMsgHtml( 'hide' ); $links = array(); foreach( array( 'hidetrans', 'hidelinks', 'hideredirs' ) as $type ) { $chosen = $this->$type;