mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-02 01:46:47 +00:00
28 lines
830 B
JavaScript
28 lines
830 B
JavaScript
|
/*!
|
||
|
* VisualEditor CommandRegistry class.
|
||
|
*
|
||
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
||
|
* @license The MIT License (MIT); see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
/* MW Command Registrations */
|
||
|
|
||
|
ve.ui.commandRegistry.register(
|
||
|
new ve.ui.Command( 'gallery', 'inspector', 'open', 'gallery' )
|
||
|
);
|
||
|
ve.ui.commandRegistry.register(
|
||
|
new ve.ui.Command( 'mediaEdit', 'dialog', 'open', 'mediaEdit' )
|
||
|
);
|
||
|
ve.ui.commandRegistry.register(
|
||
|
new ve.ui.Command( 'referenceList', 'dialog', 'open', 'referenceList' )
|
||
|
);
|
||
|
ve.ui.commandRegistry.register(
|
||
|
new ve.ui.Command( 'reference', 'dialog', 'open', 'reference' )
|
||
|
);
|
||
|
ve.ui.commandRegistry.register(
|
||
|
new ve.ui.Command( 'transclusion', 'dialog', 'open', 'transclusion' )
|
||
|
);
|
||
|
ve.ui.commandRegistry.register(
|
||
|
new ve.ui.Command( 'alienExtension', 'inspector', 'open', 'alienExtension' )
|
||
|
);
|