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

Change subject: If the user types in '==' at the start of a line, make it an H2
......................................................................


If the user types in '==' at the start of a line, make it an H2

Bug: T53897
Change-Id: Ic858a38f866d929d46041fb7df93102ec89eefb3
---
M modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js 
b/modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js
index 470828c..083c1c9 100644
--- a/modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js
+++ b/modules/ve-mw/ui/ve.ui.MWSequenceRegistry.js
@@ -24,7 +24,7 @@
        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 )

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic858a38f866d929d46041fb7df93102ec89eefb3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to