Merge "VE: Register sequence with CommandHelp"

This commit is contained in:
jenkins-bot 2015-11-05 15:36:46 +00:00 committed by Gerrit Code Review
commit fabdb488b5
1 changed files with 5 additions and 0 deletions

View File

@ -39,3 +39,8 @@ ve.ui.commandRegistry.register(
ve.ui.sequenceRegistry.register(
new ve.ui.Sequence( 'wikitextMath', 'math', '<math', 5 )
);
ve.ui.commandHelpRegistry.register( 'insert', 'math', {
sequences: [ 'wikitextMath' ],
label: OO.ui.deferMsg( 'math-visualeditor-mwmathinspector-title' )
} );