mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Merge "Warn users who write ';' or ':' on a new line that it won't work"
This commit is contained in:
commit
c8c00b78f7
|
@ -29,3 +29,9 @@ ve.ui.sequenceRegistry.register(
|
|||
ve.ui.sequenceRegistry.register(
|
||||
new ve.ui.Sequence( 'numberHash', 'numberWrapOnce', [ { type: 'paragraph' }, '#', ' ' ], 2 )
|
||||
);
|
||||
ve.ui.sequenceRegistry.register(
|
||||
new ve.ui.Sequence( 'wikitextDefinition', 'mwWikitextWarning', [ { type: 'paragraph' }, ';' ] )
|
||||
);
|
||||
ve.ui.sequenceRegistry.register(
|
||||
new ve.ui.Sequence( 'wikitextDescription', 'mwWikitextWarning', [ { type: 'paragraph' }, ':' ] )
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue