mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Drop nonexistent &redirect= parameter from API requests"
This commit is contained in:
commit
9d25c2823d
|
@ -109,8 +109,7 @@ ve.ui.MWLinkTargetInputWidget.prototype.getLookupRequest = function () {
|
|||
gpssearch: this.value,
|
||||
gpsnamespace: 0,
|
||||
prop: 'info|pageprops',
|
||||
ppprop: 'disambiguation',
|
||||
redirect: ''
|
||||
ppprop: 'disambiguation'
|
||||
} );
|
||||
} else {
|
||||
// Don't send invalid titles to the API.
|
||||
|
|
Loading…
Reference in a new issue