mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
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:
parent
d1bf196f68
commit
4943127cde
|
@ -55,6 +55,7 @@ ve.ui.MWInternalLinkAnnotationWidget.static.getTextFromAnnotation = function ( a
|
||||||
ve.ui.MWInternalLinkAnnotationWidget.prototype.createInputWidget = function ( config ) {
|
ve.ui.MWInternalLinkAnnotationWidget.prototype.createInputWidget = function ( config ) {
|
||||||
return new mw.widgets.TitleSearchWidget( ve.extendObject( {
|
return new mw.widgets.TitleSearchWidget( ve.extendObject( {
|
||||||
icon: 'search',
|
icon: 'search',
|
||||||
|
showRedlink: true,
|
||||||
showImages: mw.config.get( 'wgVisualEditor' ).usePageImages,
|
showImages: mw.config.get( 'wgVisualEditor' ).usePageImages,
|
||||||
showDescriptions: mw.config.get( 'wgVisualEditor' ).usePageDescriptions,
|
showDescriptions: mw.config.get( 'wgVisualEditor' ).usePageDescriptions,
|
||||||
cache: ve.init.platform.linkCache
|
cache: ve.init.platform.linkCache
|
||||||
|
|
Loading…
Reference in a new issue