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',
|
2021-10-27 09:39:03 +00:00
|
|
|
label: ve.msg( 'visualeditor-dialog-transclusion-wikitext' ),
|
2021-11-15 10:01:52 +00:00
|
|
|
ariaDescriptionUnselected: ve.msg( 'visualeditor-dialog-transclusion-wikitext-widget-aria' ),
|
2021-10-27 09:39:03 +00:00
|
|
|
ariaDescriptionSelected: ve.msg( 'visualeditor-dialog-transclusion-wikitext-widget-aria-selected' ),
|
2021-11-15 10:01:52 +00:00
|
|
|
ariaDescriptionSelectedSingle: ve.msg( 'visualeditor-dialog-transclusion-wikitext-widget-aria-selected-single' )
|
2021-07-13 09:00:57 +00:00
|
|
|
} );
|
2021-07-09 15:04:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
OO.inheritClass( ve.ui.MWTransclusionOutlineWikitextWidget, ve.ui.MWTransclusionOutlinePartWidget );
|