diff --git a/modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js b/modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js index 470828cc17..083c1c95cc 100644 --- a/modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js +++ b/modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js @@ -24,7 +24,7 @@ ve.ui.sequenceRegistry.register( new ve.ui.Sequence( 'wikitextSig', 'mwWikitextWarning', '~~~' ) ); ve.ui.sequenceRegistry.register( - new ve.ui.Sequence( 'wikitextHeading', 'mwWikitextWarning', [ { type: 'paragraph' }, '=', '=' ] ) + new ve.ui.Sequence( 'wikitextHeading', 'heading2', [ { type: 'paragraph' }, '=', '=' ], 2 ) ); ve.ui.sequenceRegistry.register( new ve.ui.Sequence( 'numberHash', 'numberWrapOnce', [ { type: 'paragraph' }, '#', ' ' ], 2 )