2013-11-27 19:16:45 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor UserInterface MediaWiki InspectorTool classes.
|
|
|
|
*
|
|
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* UserInterface link tool.
|
|
|
|
*
|
|
|
|
* @class
|
|
|
|
* @extends ve.ui.LinkInspectorTool
|
|
|
|
* @constructor
|
|
|
|
* @param {OO.ui.ToolGroup} toolGroup
|
|
|
|
* @param {Object} [config] Configuration options
|
|
|
|
*/
|
|
|
|
ve.ui.MWLinkInspectorTool = function VeUiMWLinkInspectorTool( toolGroup, config ) {
|
|
|
|
ve.ui.LinkInspectorTool.call( this, toolGroup, config );
|
|
|
|
};
|
|
|
|
|
|
|
|
OO.inheritClass( ve.ui.MWLinkInspectorTool, ve.ui.LinkInspectorTool );
|
|
|
|
|
|
|
|
ve.ui.MWLinkInspectorTool.static.modelClasses =
|
|
|
|
ve.ui.MWLinkInspectorTool.static.modelClasses.concat(
|
|
|
|
[ ve.dm.MWNumberedExternalLinkNode ]
|
|
|
|
);
|
|
|
|
|
2013-12-06 02:34:44 +00:00
|
|
|
ve.ui.toolFactory.register( ve.ui.MWLinkInspectorTool );
|