2013-06-18 21:24:16 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor DataModel MWTemplatePlaceholderModel class.
|
|
|
|
*
|
|
|
|
* @copyright 2011-2013 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
|
2013-07-11 00:33:21 +00:00
|
|
|
* @param {string} [origin] Origin of part, e.g. 'data' or 'user'
|
2013-06-18 21:24:16 +00:00
|
|
|
*/
|
2013-07-11 00:33:21 +00:00
|
|
|
ve.dm.MWTemplatePlaceholderModel = function VeDmMWTemplatePlaceholderModel( transclusion, origin ) {
|
2013-06-18 21:24:16 +00:00
|
|
|
// Parent constructor
|
2013-07-11 00:33:21 +00:00
|
|
|
ve.dm.MWTransclusionPartModel.call( this, transclusion, origin );
|
2013-06-18 21:24:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
ve.inheritClass( ve.dm.MWTemplatePlaceholderModel, ve.dm.MWTransclusionPartModel );
|