mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 01:10:09 +00:00
VE: Register sequence with CommandHelp
Depends on I65e2bfc2 in VE-MW Change-Id: I8f71b1b242cb5c273c6d4a16bdfef6bf1e0adb55
This commit is contained in:
parent
7700840b35
commit
17168f573b
|
@ -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' )
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue