Use GET rather than POST in ve.ui.MWLanguagesPage

Change-Id: Ibf8a3fdd651d8863dca2c4c958da41fc2d80c06a
This commit is contained in:
Roan Kattouw 2014-01-05 12:49:02 +08:00
parent 6e21afb908
commit 28ad21af2e

View file

@ -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 ) );