$.each( response.query.pages, function ( index, page ) {
var title = new ForeignTitle( page.title ).getPrefixedText();
cache.existenceCache[ title ] = !page.missing;
+ if ( !queue[ title ] ) {
+ // Debugging for T139130
+ throw new Error( 'No queue for "' + title + '", requested "' + titles.join( '|' ) + '"' );
+ }
queue[ title ].resolve( cache.existenceCache[ title ] );
} );
} );
.text( this.label )
.attr( 'target', '_blank' )
.on( 'click', function ( e ) {
- // CapsuleMultiSelectWidget really wants to prevent you from clicking the link, don't let it
+ // CapsuleMultiselectWidget really wants to prevent you from clicking the link, don't let it
e.stopPropagation();
} );