2021-07-09 15:04:14 +00:00
|
|
|
/**
|
|
|
|
* @class
|
|
|
|
* @extends ve.ui.MWTransclusionOutlinePartWidget
|
|
|
|
*
|
|
|
|
* @constructor
|
2021-07-09 15:33:16 +00:00
|
|
|
* @param {ve.dm.MWTransclusionContentModel} content
|
2021-07-09 15:04:14 +00:00
|
|
|
*/
|
2021-07-13 09:00:57 +00:00
|
|
|
ve.ui.MWTransclusionOutlineWikitextWidget = function VeUiMWTransclusionOutlineWikitextWidget( content ) {
|
|
|
|
// Parent constructor
|
|
|
|
ve.ui.MWTransclusionOutlineWikitextWidget.super.call( this, content, {
|
2021-07-09 15:04:14 +00:00
|
|
|
icon: 'wikiText',
|
|
|
|
label: ve.msg( 'visualeditor-dialog-transclusion-content' )
|
2021-07-13 09:00:57 +00:00
|
|
|
} );
|
2021-07-09 15:33:16 +00:00
|
|
|
|
|
|
|
this.content = content;
|
2021-07-09 15:04:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
OO.inheritClass( ve.ui.MWTransclusionOutlineWikitextWidget, ve.ui.MWTransclusionOutlinePartWidget );
|