mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-26 07:15:32 +00:00
842688c51b
'Cos Erik doesn't like things he can't edit. Change-Id: I1d9fb1215bb16b1245eddd87c977fb5bfdee4da9
28 lines
1 KiB
JavaScript
28 lines
1 KiB
JavaScript
/*!
|
|
* VisualEditor MediaWiki UserInterface gallery tool class.
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* MediaWiki UserInterface gallery tool.
|
|
*
|
|
* @class
|
|
* @extends ve.ui.InspectorTool
|
|
* @constructor
|
|
* @param {OO.ui.ToolGroup} toolGroup
|
|
* @param {Object} [config] Configuration options
|
|
*/
|
|
ve.ui.MWGalleryInspectorTool = function VeUiMWGalleryInspectorTool( toolGroup, config ) {
|
|
ve.ui.InspectorTool.call( this, toolGroup, config );
|
|
};
|
|
OO.inheritClass( ve.ui.MWGalleryInspectorTool, ve.ui.InspectorTool );
|
|
ve.ui.MWGalleryInspectorTool.static.name = 'gallery';
|
|
ve.ui.MWGalleryInspectorTool.static.group = 'object';
|
|
ve.ui.MWGalleryInspectorTool.static.icon = 'gallery';
|
|
ve.ui.MWGalleryInspectorTool.static.titleMessage = 'visualeditor-mwgalleryinspector-title';
|
|
ve.ui.MWGalleryInspectorTool.static.inspector = 'gallery';
|
|
ve.ui.MWGalleryInspectorTool.static.modelClasses = [ ve.dm.MWGalleryNode ];
|
|
ve.ui.toolFactory.register( ve.ui.MWGalleryInspectorTool );
|