From: Ævar Arnfjörð Bjarmason Date: Fri, 24 Jun 2005 23:02:36 +0000 (+0000) Subject: * Removed htmlspecialchars(), everything given to setSubtitle() now goes X-Git-Tag: 1.5.0beta1~49 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=7d2a81f4df3d85542470b170076eb046c6746a20;p=lhc%2Fweb%2Fwiklou.git * Removed htmlspecialchars(), everything given to setSubtitle() now goes through the parser so this is redundant. --- diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index d5e58c653b..ea15e3891c 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -64,7 +64,7 @@ class IPBlockForm { $action = $titleObj->escapeLocalURL( "action=submit" ); if ( "" != $err ) { - $wgOut->setSubtitle( htmlspecialchars( wfMsg( 'formerror' ) ) ); + $wgOut->setSubtitle( wfMsg( 'formerror' ) ); $wgOut->addHTML( "

{$err}

\n" ); } diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index 8be8d60ca5..0af2925f1a 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -224,7 +224,7 @@ class SpecialSearch { function setupPage( $term ) { global $wgOut; $wgOut->setPageTitle( wfMsg( 'searchresults' ) ); - $wgOut->setSubtitle( wfMsg( 'searchquery', htmlspecialchars( $term ) ) ); + $wgOut->setSubtitle( wfMsg( 'searchquery', $term ) ); $wgOut->setArticleRelated( false ); $wgOut->setRobotpolicy( 'noindex,nofollow' ); }