Debian Codegraph @

extensions/VisualEditor/modules/ve-mw/ui/tools/ve.ui.MWBackTool.js

raw symbols SCIP
1 /*!
2 * VisualEditor MediaWiki UserInterface back tool classes.
3 *
4 * @copyright See AUTHORS.txt
5 * @license The MIT License (MIT); see LICENSE.txt
6 */
7
8 /**
9 * Back tool
10 */
11 ve.ui.MWBackTool = function VeUiMwBackTool() {
12 // Parent constructor
13 ve.ui.MWBackTool.super.apply( this, arguments );
14 };
15 OO.inheritClass( ve.ui.MWBackTool, ve.ui.Tool );
16 ve.ui.MWBackTool.static.name = 'back';
17 ve.ui.MWBackTool.static.commandName = 'cancel';
18 ve.ui.MWBackTool.static.group = 'navigation';
19 ve.ui.MWBackTool.static.icon = 'close';
20 ve.ui.MWBackTool.static.title =
21 OO.ui.deferMsg( 'visualeditor-backbutton-tooltip' );
22
23 ve.ui.toolFactory.register( ve.ui.MWBackTool );