From b422cf8111c94e317572e3889bd8102dd7fa524b Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 31 Oct 2010 18:17:56 +0000 Subject: [PATCH] A couple of Xml::hidden calls left by r75723 --- includes/ProtectionForm.php | 2 +- includes/specials/SpecialSearch.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 3272cfef13..2d95d80195 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -341,7 +341,7 @@ class ProtectionForm { $out .= Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->mTitle->getLocalUrl( 'action=protect' ), 'id' => 'mw-Protect-Form', 'onsubmit' => 'ProtectionForm.enableUnchainedInputs(true)' ) ); - $out .= Xml::hidden( 'wpEditToken',$wgUser->editToken() ); + $out .= Html::hidden( 'wpEditToken',$wgUser->editToken() ); } $out .= Xml::openElement( 'fieldset' ) . diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index 0a25f244bc..e573b87789 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -937,7 +937,7 @@ class SpecialSearch { // Adds hidden namespace fields if ( !$this->searchAdvanced ) { foreach( $this->namespaces as $ns ) { - $out .= Xml::hidden( "ns{$ns}", '1' ); + $out .= Html::hidden( "ns{$ns}", '1' ); } } -- 2.20.1