mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-11-24 06:24:16 +00:00
Replace deprecated User::editToken with User::getEditToken
Change-Id: I3382a27ee788eb5dc6b7b033987326ce1ab1dc91
This commit is contained in:
parent
9e79d4b213
commit
f32b40b2b8
|
@ -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 )
|
||||
)
|
||||
) );
|
||||
|
|
Loading…
Reference in a new issue