mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
f444610fbc
Returns true if there is no meaningful user input yet. Will be used in the next patch. Bug: T272355 Change-Id: I4f88ce31662bbc46755f78d574c46b907581d438
34 lines
778 B
JavaScript
34 lines
778 B
JavaScript
/*!
|
|
* VisualEditor DataModel MWTemplatePlaceholderModel class.
|
|
*
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* MediaWiki template placeholder model.
|
|
*
|
|
* @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;
|
|
};
|