mediawiki-extensions-Visual.../modules/ve-mw/dm/models/ve.dm.MWTemplatePlaceholderModel.js
Thiemo Kreuz c2017f74b2 Remove @param/@return docs that literally repeat the code
These don't add any knowledge but make the code harder to read
and maintain, and are an additional source of errors.

Change-Id: Ied57741a3f985e355adfddb4e75378d5c497faa9
2021-06-14 15:44:51 +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;
};