Replace deprecated User::editToken with User::getEditToken

Change-Id: I3382a27ee788eb5dc6b7b033987326ce1ab1dc91
This commit is contained in:
Siebrand Mazeland 2012-08-30 14:57:43 +02:00
parent 9e79d4b213
commit f32b40b2b8

View file

@ -174,7 +174,7 @@ class SpecialInterwiki extends SpecialPage {
Html::rawElement( 'td', array( 'class' => 'mw-submit' ),
Xml::submitButton( $this->msg( $button )->text(), array( 'id' => 'mw-interwiki-submit' ) ) )
) . $wpPrefix .
Html::hidden( 'wpEditToken', $this->getUser()->editToken() ) .
Html::hidden( 'wpEditToken', $this->getUser()->getEditToken() ) .
Html::hidden( 'wpInterwikiAction', $action )
)
) );