mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-11-15 10:37:36 +00:00
Xml::hidden() --> Html::hidden()
Xml::hidden() killed
This commit is contained in:
parent
0dae656245
commit
21f4483775
Notes:
Sam Reed
2011-05-06 23:13:09 +00:00
|
@ -105,9 +105,9 @@ class SpecialInterwiki extends SpecialPage {
|
|||
Xml::input( 'wpInterwikiReason', 60, '', array( 'tabindex' => '1', 'id' => 'mw-interwiki-deletereason', 'maxlength' => '200' ) ) .
|
||||
'</td></tr>' .
|
||||
'<tr><td></td><td class="mw-submit">' . Xml::submitButton( $button, array( 'id' => 'mw-interwiki-submit' ) ) .
|
||||
Xml::hidden( 'wpInterwikiPrefix', $prefix ) .
|
||||
Xml::hidden( 'wpInterwikiAction', $action ) .
|
||||
Xml::hidden( 'wpEditToken', $token ) .
|
||||
Html::Hidden( 'wpInterwikiPrefix', $prefix ) .
|
||||
Html::Hidden( 'wpInterwikiAction', $action ) .
|
||||
Html::Hidden( 'wpEditToken', $token ) .
|
||||
'</td></tr>' .
|
||||
Xml::closeElement( 'table' ) .
|
||||
Xml::closeElement( 'form' ) .
|
||||
|
@ -128,7 +128,7 @@ class SpecialInterwiki extends SpecialPage {
|
|||
$defaulturl = $row->iw_url;
|
||||
$trans = $row->iw_trans;
|
||||
$local = $row->iw_local;
|
||||
$old = Xml::hidden( 'wpInterwikiPrefix', $row->iw_prefix );
|
||||
$old = Html::Hidden( 'wpInterwikiPrefix', $row->iw_prefix );
|
||||
$topmessage = wfMsgExt( 'interwiki_edittext', array( 'parseinline' ) );
|
||||
$intromessage = wfMsgExt( 'interwiki_editintro', array( 'parseinline' ) );
|
||||
$button = wfMsg( 'edit' );
|
||||
|
@ -164,9 +164,9 @@ class SpecialInterwiki extends SpecialPage {
|
|||
'<td class="mw-input">' . Xml::input( 'wpInterwikiURL', 60, $defaulturl, array( 'tabindex' => '1', 'maxlength' => '200', 'id' => 'mw-interwiki-url' ) ) . '</td></tr>' .
|
||||
'<tr><td class="mw-label">' . Xml::label( $reasonmessage, 'mw-interwiki-editreason' ) . '</td>' .
|
||||
'<td class="mw-input">' . Xml::input( 'wpInterwikiReason', 60, '', array( 'tabindex' => '1', 'id' => 'mw-interwiki-editreason', 'maxlength' => '200' ) ) .
|
||||
Xml::hidden( 'wpInterwikiAction', $action ) .
|
||||
Html::Hidden( 'wpInterwikiAction', $action ) .
|
||||
$old .
|
||||
Xml::hidden( 'wpEditToken', $token ) .
|
||||
Html::Hidden( 'wpEditToken', $token ) .
|
||||
'</td></tr>' .
|
||||
'<tr><td></td><td class="mw-submit">' . Xml::submitButton( $button, array( 'id' => 'mw-interwiki-submit' ) ) . '</td></tr>' .
|
||||
Xml::closeElement( 'table' ) .
|
||||
|
|
Loading…
Reference in a new issue