jenkins-bot has submitted this change and it was merged. Change subject: Pass excludeCurrentPage option to TitleSearchWidget in link inspector ......................................................................
Pass excludeCurrentPage option to TitleSearchWidget in link inspector Logically depends on Ieade9d0ff for the actual functionality. Bug: T147050 Change-Id: I2cc4fc170398c80d7f0103772bc56666685b8baf --- M modules/ve-mw/ui/widgets/ve.ui.MWInternalLinkAnnotationWidget.js 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Alex Monk: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWInternalLinkAnnotationWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWInternalLinkAnnotationWidget.js index 5e50dcb..ac55a1b 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWInternalLinkAnnotationWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWInternalLinkAnnotationWidget.js @@ -56,6 +56,7 @@ var input = new mw.widgets.TitleSearchWidget( ve.extendObject( { icon: 'search', showRedlink: true, + excludeCurrentPage: true, showImages: mw.config.get( 'wgVisualEditor' ).usePageImages, showDescriptions: mw.config.get( 'wgVisualEditor' ).usePageDescriptions, cache: ve.init.platform.linkCache -- To view, visit https://gerrit.wikimedia.org/r/313615 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2cc4fc170398c80d7f0103772bc56666685b8baf Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Esanders <esand...@wikimedia.org> Gerrit-Reviewer: Alex Monk <a...@wikimedia.org> Gerrit-Reviewer: Bartosz DziewoĆski <matma....@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits