Fix API request for language links

Fixes placement of 'indexpageids' in ajax options from I5b8fdfb78a211783

Bug: 48814
Change-Id: I897da1cf06c79ee40e29fb632d09cddb57144ada
This commit is contained in:
Ed Sanders 2013-06-06 12:36:53 +01:00
parent 507a61bfd5
commit 6e70953a94

View file

@ -307,13 +307,13 @@ ve.ui.MWMetaDialog.prototype.getAllLanguageItems = function () {
'prop': 'langlinks',
'lllimit': 500,
'titles': mw.config.get( 'wgTitle' ),
'indexpageids': 1,
'format': 'json'
},
'dataType': 'json',
'type': 'POST',
// Wait up to 100 seconds before giving up
'timeout': 100000,
'indexpageids': 1,
'cache': 'false',
'success': ve.bind( this.onAllLanuageItemsSuccess, this, promise ),
'error': ve.bind( this.onAllLanuageItemsError, this, promise )