From: Antoine Musso Date: Thu, 15 Dec 2005 21:04:00 +0000 (+0000) Subject: Fix #3991: allow the operation of wikicode on Protect move only text X-Git-Tag: 1.6.0~943 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=f92641c060ff86e06b158a78504e33e1dd4abbd2;p=lhc%2Fweb%2Fwiklou.git Fix #3991: allow the operation of wikicode on Protect move only text --- diff --git a/includes/Article.php b/includes/Article.php index 6a4a65d673..a55858ecd3 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1668,7 +1668,7 @@ class Article { $wgOut->setPageTitle( wfMsg( 'confirmprotect' ) ); $wgOut->setSubtitle( wfMsg( 'protectsub', $sub ) ); $wgOut->addWikiText( wfMsg( 'confirmprotecttext' ) ); - $moveonly = htmlspecialchars( wfMsg( 'protectmoveonly' ) ); + $moveonly = wfMsg( 'protectmoveonly' ) ; // add it using addWikiText to prevent xss. bug:3991 $protcom = htmlspecialchars( wfMsg( 'protectcomment' ) ); $formaction = $this->mTitle->escapeLocalURL( 'action=protect' . $par ); } @@ -1694,7 +1694,10 @@ class Article { - + " ); }