Replace deprecated doNotIgnoreMissingTitles

This parameter name was deprecated and replaced in 1.31. See also
Ie5fe2097cda45968bb080643d3afcac0b2868a6c

Change-Id: Ie9d6c70d3dfe3954504d3d698c122dceede7603d
This commit is contained in:
WMDE-Fisch 2020-12-15 12:52:55 +01:00
parent 04dfcc55d2
commit 094a9aa044
2 changed files with 2 additions and 2 deletions

View file

@ -305,7 +305,7 @@
titles: titles,
lang: mw.config.get( 'wgUserLanguage' ),
format: 'json',
doNotIgnoreMissingTitles: '1',
includeMissingTitles: '1',
redirects: '1'
} ).done( this.fetchRequestDone.bind( this, titles, specs ) );
xhr.always( this.fetchRequestAlways.bind( this, queue, xhr ) );

View file

@ -108,7 +108,7 @@ ve.ui.MWTemplateTitleInputWidget.prototype.getLookupRequest = function () {
formatversion: 2,
titles: titles,
redirects: !!widget.showRedirects,
doNotIgnoreMissingTitles: '1',
includeMissingTitles: '1',
lang: mw.config.get( 'wgUserLanguage' )
} );
return xhr.promise( { abort: xhr.abort } );