A couple of Xml::hidden calls left by r75723
authorPlatonides <platonides@users.mediawiki.org>
Sun, 31 Oct 2010 18:17:56 +0000 (18:17 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 31 Oct 2010 18:17:56 +0000 (18:17 +0000)
includes/ProtectionForm.php
includes/specials/SpecialSearch.php

index 3272cfe..2d95d80 100644 (file)
@@ -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' ) .
index 0a25f24..e573b87 100644 (file)
@@ -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' );
                        }
                }