From 0f5fe3453462f64572d6ff320f658c4e238e1be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 31 Jul 2019 00:21:45 +0200 Subject: [PATCH] ve.ui.MWLinkAnnotationInspector: Correct code comment The way this works changed in ff9bf1fcb3f5dc552391bc31ac5c98711e2705b9 (2015). Change-Id: I61617723ec6ada8018cdca55eb3fcc971796fded --- .../ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js b/modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js index 9c366cc606..fe23cea156 100644 --- a/modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js +++ b/modules/ve-mw/ui/inspectors/ve.ui.MWLinkAnnotationInspector.js @@ -478,9 +478,9 @@ ve.ui.MWLinkAnnotationInspector.prototype.newExternalLinkAnnotation = function ( * @inheritdoc */ ve.ui.MWLinkAnnotationInspector.prototype.getInsertionData = function () { - // If this is a new external link, insert an autonumbered link instead of a link annotation (in - // #getAnnotation we have the same condition to skip the annotating). Otherwise call parent method - // to figure out the text to insert and annotate. + // If this is a new external link, insert an autonumbered link instead of a link annotation + // (applying the annotation on this later does nothing because of blacklistedAnnotationTypes). + // Otherwise call parent method to figure out the text to insert and annotate. if ( this.isExternal() ) { return [ {