From f565ae5d60d2d6f2ef99b31e29ac1ba13562d68e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 12 Apr 2008 12:41:25 +0000 Subject: [PATCH] * The gotcha here was that wfMsgHtml does not escape parameters --- includes/SpecialWhatlinkshere.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1