mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 05:56:11 +00:00
09c0611484
Because everything was broken. Follows-up I6374854eaa1 which split up mwcore into smaller parts but left MWDialogTool still as one file part of mwcore. Since the various ve.dm classes are now part of the other modules that depend on mwcore, the MWDialogTool classes were pointing at classes that don't exist yet (e.g. ".modelClasses = [ ve.dm.MWBlockImageNode ];"). Change-Id: Ic05b173d730a8a0f6539fdcd818aaf674d2a4019
29 lines
811 B
JavaScript
29 lines
811 B
JavaScript
/*!
|
|
* VisualEditor UserInterface MediaWiki LinkInspectorTool classes.
|
|
*
|
|
* @copyright 2011-2014 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 ]
|
|
);
|
|
|
|
ve.ui.toolFactory.register( ve.ui.MWLinkInspectorTool );
|