Merge "Warn users who write ';' or ':' on a new line that it won't work"

This commit is contained in:
jenkins-bot 2014-11-26 01:43:31 +00:00 committed by Gerrit Code Review
commit c8c00b78f7

View file

@ -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' }, ':' ] )
);