jenkins-bot has submitted this change and it was merged.

Change subject: ve.ui.MWWikitextTransferRegistry: Just look for '[[' when 
detecting links
......................................................................


ve.ui.MWWikitextTransferRegistry: Just look for '[[' when detecting links

Bug: T151646
Change-Id: I693b190f762d93ffae0aa939ffc9550e567e8e24
---
M modules/ve-mw/ui/ve.ui.MWWikitextTransferRegistry.js
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Jforrester: Looks good to me, approved
  Esanders: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/modules/ve-mw/ui/ve.ui.MWWikitextTransferRegistry.js 
b/modules/ve-mw/ui/ve.ui.MWWikitextTransferRegistry.js
index 328575a..9494e0d 100644
--- a/modules/ve-mw/ui/ve.ui.MWWikitextTransferRegistry.js
+++ b/modules/ve-mw/ui/ve.ui.MWWikitextTransferRegistry.js
@@ -21,8 +21,7 @@
 
 ve.ui.mwWikitextTransferRegistry.register(
        'internalLink',
-       // [[...]] on a single line of max 80 characters
-       /\[\[.{1,80}\]\]/m
+       '[['
 );
 
 ve.init.platform.getInitializedPromise().done( function () {

-- 
To view, visit https://gerrit.wikimedia.org/r/324514
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I693b190f762d93ffae0aa939ffc9550e567e8e24
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <matma....@gmail.com>
Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com>
Gerrit-Reviewer: Esanders <esand...@wikimedia.org>
Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to