Reverting r76192 due to 1.15 back compat...

This commit is contained in:
Sam Reed 2010-12-02 17:31:05 +00:00
parent fd34502b54
commit c812bd4082
Notes: Sam Reed 2010-12-02 17:31:05 +00:00

View file

@ -103,9 +103,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' ) ) .
Html::hidden( 'wpInterwikiPrefix', $prefix ) .
Html::hidden( 'wpInterwikiAction', $action ) .
Html::hidden( 'wpEditToken', $token ) .
Xml::hidden( 'wpInterwikiPrefix', $prefix ) .
Xml::hidden( 'wpInterwikiAction', $action ) .
Xml::hidden( 'wpEditToken', $token ) .
'</td></tr>' .
Xml::closeElement( 'table' ) .
Xml::closeElement( 'form' ) .
@ -126,7 +126,7 @@ class SpecialInterwiki extends SpecialPage {
$defaulturl = $row->iw_url;
$trans = $row->iw_trans;
$local = $row->iw_local;
$old = Html::hidden( 'wpInterwikiPrefix', $row->iw_prefix );
$old = Xml::hidden( 'wpInterwikiPrefix', $row->iw_prefix );
$topmessage = wfMsgExt( 'interwiki_edittext', array( 'parseinline' ) );
$intromessage = wfMsgExt( 'interwiki_editintro', array( 'parseinline' ) );
$button = wfMsg( 'edit' );
@ -162,9 +162,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' ) ) .
Html::hidden( 'wpInterwikiAction', $action ) .
Xml::hidden( 'wpInterwikiAction', $action ) .
$old .
Html::hidden( 'wpEditToken', $token ) .
Xml::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' ) .