mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
d42a0772bb
Avoids having to update the date in every file every year, which we stopped doing. Change-Id: I7bf7aa0937eef911e00772470091753a7b06fd3d
41 lines
800 B
JavaScript
41 lines
800 B
JavaScript
/*!
|
|
* VisualEditor ContentEditable MWAlienExtensionNode class.
|
|
*
|
|
* @copyright See AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* ContentEditable MediaWiki alien extension node.
|
|
*
|
|
* @class
|
|
* @abstract
|
|
*
|
|
* @constructor
|
|
*/
|
|
ve.ce.MWAlienExtensionNode = function VeCeMWAlienExtensionNode() {
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
OO.initClass( ve.ce.MWAlienExtensionNode );
|
|
|
|
/* Static members */
|
|
|
|
ve.ce.MWAlienExtensionNode.static.primaryCommandName = 'alienExtension';
|
|
|
|
ve.ce.MWAlienExtensionNode.static.iconWhenInvisible = 'markup';
|
|
|
|
ve.ce.MWAlienExtensionNode.static.rendersEmpty = true;
|
|
|
|
/* Methods */
|
|
|
|
/* Static methods */
|
|
|
|
/**
|
|
* @inheritdoc ve.ce.MWExtensionNode
|
|
*/
|
|
ve.ce.MWAlienExtensionNode.static.getDescription = function ( model ) {
|
|
return model.getExtensionName();
|
|
};
|