mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Use GET rather than POST in ve.ui.MWLanguagesPage
Change-Id: Ibf8a3fdd651d8863dca2c4c958da41fc2d80c06a
This commit is contained in:
parent
6e21afb908
commit
28ad21af2e
|
@ -160,11 +160,7 @@ ve.ui.MWLanguagesPage.prototype.getAllLanguageItems = function () {
|
|||
'page': mw.config.get( 'wgTitle' ),
|
||||
'format': 'json'
|
||||
},
|
||||
'dataType': 'json',
|
||||
'type': 'POST',
|
||||
// Wait up to 100 seconds before giving up
|
||||
'timeout': 100000,
|
||||
'cache': 'false'
|
||||
'dataType': 'json'
|
||||
} )
|
||||
.done( ve.bind( this.onAllLanguageItemsSuccess, this, deferred ) )
|
||||
.fail( ve.bind( this.onAllLanguageItemsError, this, deferred ) );
|
||||
|
|
Loading…
Reference in a new issue