Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -341,7 +341,7 @@ |
342 | 342 | $out .= Xml::openElement( 'form', array( 'method' => 'post', |
343 | 343 | 'action' => $this->mTitle->getLocalUrl( 'action=protect' ), |
344 | 344 | 'id' => 'mw-Protect-Form', 'onsubmit' => 'ProtectionForm.enableUnchainedInputs(true)' ) ); |
345 | | - $out .= Xml::hidden( 'wpEditToken',$wgUser->editToken() ); |
| 345 | + $out .= Html::hidden( 'wpEditToken',$wgUser->editToken() ); |
346 | 346 | } |
347 | 347 | |
348 | 348 | $out .= Xml::openElement( 'fieldset' ) . |
Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -937,7 +937,7 @@ |
938 | 938 | // Adds hidden namespace fields |
939 | 939 | if ( !$this->searchAdvanced ) { |
940 | 940 | foreach( $this->namespaces as $ns ) { |
941 | | - $out .= Xml::hidden( "ns{$ns}", '1' ); |
| 941 | + $out .= Html::hidden( "ns{$ns}", '1' ); |
942 | 942 | } |
943 | 943 | } |
944 | 944 | |