mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-04 02:39:02 +00:00
920550560d
This method already exists in the ve.dm.MWTransclusionPartModel base class where it does the exact same. Bug: T274551 Change-Id: I19d5914ed9b4b435c83ea4d64019bc46ce1ce8fd
26 lines
776 B
JavaScript
26 lines
776 B
JavaScript
/*!
|
|
* VisualEditor DataModel MWTemplatePlaceholderModel class.
|
|
*
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* Represents a not yet realized template invocation as long as the user is still searching for a
|
|
* template name. Meant to be an item in a {@see ve.dm.MWTransclusionModel}.
|
|
*
|
|
* @class
|
|
* @extends ve.dm.MWTransclusionPartModel
|
|
*
|
|
* @constructor
|
|
* @param {ve.dm.MWTransclusionModel} transclusion
|
|
*/
|
|
ve.dm.MWTemplatePlaceholderModel = function VeDmMWTemplatePlaceholderModel() {
|
|
// Parent constructor
|
|
ve.dm.MWTemplatePlaceholderModel.super.apply( this, arguments );
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
OO.inheritClass( ve.dm.MWTemplatePlaceholderModel, ve.dm.MWTransclusionPartModel );
|