Link inspector: Show redlink in suggestions

This feature was accidentally dropped when the widget was moved to core.

Change-Id: I302b4b001f1db64b023dae73e36c85e491617e92
This commit is contained in:
Ed Sanders 2015-10-14 17:24:10 +01:00
parent d1bf196f68
commit 4943127cde

View file

@ -55,6 +55,7 @@ ve.ui.MWInternalLinkAnnotationWidget.static.getTextFromAnnotation = function ( a
ve.ui.MWInternalLinkAnnotationWidget.prototype.createInputWidget = function ( config ) {
return new mw.widgets.TitleSearchWidget( ve.extendObject( {
icon: 'search',
showRedlink: true,
showImages: mw.config.get( 'wgVisualEditor' ).usePageImages,
showDescriptions: mw.config.get( 'wgVisualEditor' ).usePageDescriptions,
cache: ve.init.platform.linkCache