Debian Codegraph @

extensions/VisualEditor/modules/ve-mw/ce/nodes/ve.ce.MWAlienExtensionNode.js

raw symbols SCIP
1 /*!
2 * VisualEditor ContentEditable MWAlienExtensionNode class.
3 *
4 * @copyright See AUTHORS.txt
5 * @license The MIT License (MIT); see LICENSE.txt
6 */
7
8 /**
9 * ContentEditable MediaWiki alien extension node.
10 *
11 * @class
12 * @abstract
13 *
14 * @constructor
15 */
16 ve.ce.MWAlienExtensionNode = function VeCeMWAlienExtensionNode() {
17 };
18
19 /* Inheritance */
20
21 OO.initClass( ve.ce.MWAlienExtensionNode );
22
23 /* Static members */
24
25 ve.ce.MWAlienExtensionNode.static.primaryCommandName = 'alienExtension';
26
27 ve.ce.MWAlienExtensionNode.static.iconWhenInvisible = 'markup';
28
29 ve.ce.MWAlienExtensionNode.static.rendersEmpty = true;
30
31 /* Methods */
32
33 /* Static methods */
34
35 /**
36 * @inheritdoc ve.ce.MWExtensionNode
37 */
38 ve.ce.MWAlienExtensionNode.static.getDescription = function ( model ) {
39 return model.getExtensionName();
40 };