mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
Merge "Fix object vs. array initialization in template search"
This commit is contained in:
commit
c29dc420e0
|
@ -180,7 +180,7 @@ ve.ui.MWTemplateTitleInputWidget.prototype.getLookupRequest = function () {
|
|||
return promise
|
||||
.then( function ( response ) {
|
||||
var xhr, pageId, redirIndex,
|
||||
redirects = ( response.query && response.query.redirects ) || {},
|
||||
redirects = ( response.query && response.query.redirects ) || [],
|
||||
origPages = ( response.query && response.query.pages ) || {},
|
||||
newPages = [],
|
||||
titles;
|
||||
|
|
Loading…
Reference in a new issue