mediawiki-extensions-Visual.../modules/ve-mw/dm/models/ve.dm.MWTemplatePlaceholderModel.js
Thiemo Kreuz 55a49195ba Add @private/@protected documentation to template dialog code
These tags don't do much, if anything. But they provide a hint
in which scope a method might be used.

Bug: T284895
Change-Id: I0b4bdd416ee89d26961c4ded4d8bbace8c57da76
2021-07-01 09:36:00 +02:00

35 lines
899 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 );
/* Methods */
/**
* @inheritdoc
*/
ve.dm.MWTemplatePlaceholderModel.prototype.isEmpty = function () {
return true;
};