mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "ve.ui.MWWikitextTransferRegistry: Just look for '[[' when detecting links"
This commit is contained in:
commit
2b453295ec
|
@ -21,8 +21,7 @@ ve.ui.mwWikitextTransferRegistry.register(
|
|||
|
||||
ve.ui.mwWikitextTransferRegistry.register(
|
||||
'internalLink',
|
||||
// [[...]] on a single line of max 80 characters
|
||||
/\[\[.{1,80}\]\]/m
|
||||
'[['
|
||||
);
|
||||
|
||||
ve.init.platform.getInitializedPromise().done( function () {
|
||||
|
|
Loading…
Reference in a new issue