2018-09-23 15:45:44 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor DataModel MWAlienInlineExtensionNode class.
|
|
|
|
*
|
2023-12-01 16:06:11 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2018-09-23 15:45:44 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* DataModel MediaWiki alien inline extension node.
|
|
|
|
*
|
|
|
|
* @class
|
|
|
|
* @abstract
|
|
|
|
* @extends ve.dm.MWInlineExtensionNode
|
2024-04-29 17:51:41 +00:00
|
|
|
* @mixes ve.dm.MWAlienExtensionNode
|
2018-09-23 15:45:44 +00:00
|
|
|
*
|
|
|
|
* @constructor
|
|
|
|
* @param {Object} [element] Reference to element in linear model
|
|
|
|
*/
|
|
|
|
ve.dm.MWAlienInlineExtensionNode = function VeDmMWAlienInlineExtensionNode() {
|
|
|
|
// Parent constructor
|
|
|
|
ve.dm.MWAlienInlineExtensionNode.super.apply( this, arguments );
|
|
|
|
|
|
|
|
// Mixin constructors
|
|
|
|
ve.dm.MWAlienExtensionNode.call( this );
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
OO.inheritClass( ve.dm.MWAlienInlineExtensionNode, ve.dm.MWInlineExtensionNode );
|
|
|
|
|
|
|
|
OO.mixinClass( ve.dm.MWAlienInlineExtensionNode, ve.dm.MWAlienExtensionNode );
|
|
|
|
|
|
|
|
/* Static members */
|
|
|
|
|
|
|
|
ve.dm.MWAlienInlineExtensionNode.static.name = 'mwAlienInlineExtension';
|
|
|
|
|
|
|
|
ve.dm.MWAlienInlineExtensionNode.static.isContent = true;
|
|
|
|
|
|
|
|
ve.dm.MWAlienInlineExtensionNode.static.tagName = 'span';
|
|
|
|
|
|
|
|
/* Registration */
|
|
|
|
|
|
|
|
ve.dm.modelRegistry.register( ve.dm.MWAlienInlineExtensionNode );
|