* Removed htmlspecialchars(), everything given to setSubtitle() now goes
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 24 Jun 2005 23:02:36 +0000 (23:02 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 24 Jun 2005 23:02:36 +0000 (23:02 +0000)
  through the parser so this is redundant.

includes/SpecialBlockip.php
includes/SpecialSearch.php

index d5e58c6..ea15e38 100644 (file)
@@ -64,7 +64,7 @@ class IPBlockForm {
                $action = $titleObj->escapeLocalURL( "action=submit" );
 
                if ( "" != $err ) {
-                       $wgOut->setSubtitle( htmlspecialchars( wfMsg( 'formerror' ) ) );
+                       $wgOut->setSubtitle( wfMsg( 'formerror' ) );
                        $wgOut->addHTML( "<p class='error'>{$err}</p>\n" );
                }
 
index 8be8d60..0af2925 100644 (file)
@@ -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' );
        }