mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-27 04:06:51 +00:00
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:
parent
507a61bfd5
commit
6e70953a94
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue