mediawiki-extensions-Visual.../modules/ve-mw/dm/models/ve.dm.MWTemplatePlaceholderModel.js
Thiemo Kreuz e13b0dae48 Much longer descriptions of template dialog related classes
The idea is to possibly rename some of these classes, based on
these descriptions. But this should be done in later, separate
patches.

Change-Id: I7f9e5b2382711b434d6dd618489fa3ed8b7a46b4
2021-06-04 13:17:59 +02:00

35 lines
912 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 Transclusion
*/
ve.dm.MWTemplatePlaceholderModel = function VeDmMWTemplatePlaceholderModel() {
// Parent constructor
ve.dm.MWTemplatePlaceholderModel.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.dm.MWTemplatePlaceholderModel, ve.dm.MWTransclusionPartModel );
/* Methods */
/**
* @inheritDoc
*/
ve.dm.MWTemplatePlaceholderModel.prototype.isEmpty = function () {
return true;
};