From: Niklas Laxström Date: Sat, 8 Jul 2006 13:53:50 +0000 (+0000) Subject: * More escaping X-Git-Tag: 1.31.0-rc.0~56344 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=3b454333effe44731d4ed5d5f6f37cc868451e06;p=lhc%2Fweb%2Fwiklou.git * More escaping --- diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 2a40a37680..456cc8f164 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -79,7 +79,7 @@ class ProtectionForm { $wgOut->addWikiText( wfMsg( $this->disabled ? "protect-viewtext" : "protect-text", - $this->mTitle->getPrefixedText() ) ); + wfEscapeWikiText( $this->mTitle->getPrefixedText() ) ) ); $wgOut->addHTML( $this->buildForm() ); diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index 4db27e87e7..c4669854d6 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -110,7 +110,7 @@ class SpecialSearch { $editurl = $t->escapeLocalURL( 'action=edit' ); } } - $wgOut->addWikiText( wfMsg( 'noexactmatch', $term ) ); + $wgOut->addWikiText( wfMsg( 'noexactmatch', wfEscapeWikiText( $term ) ) ); return $this->showResults( $term ); }