2015-12-06 22:35:25 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor UserInterface MWMathInspector class.
|
|
|
|
*
|
2024-03-19 18:37:26 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2018-04-13 14:04:06 +00:00
|
|
|
* @license MIT
|
2015-12-06 22:35:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* MediaWiki math inspector.
|
|
|
|
*
|
|
|
|
* @class
|
|
|
|
* @extends ve.ui.MWLiveExtensionInspector
|
|
|
|
*
|
|
|
|
* @constructor
|
|
|
|
* @param {Object} [config] Configuration options
|
|
|
|
*/
|
|
|
|
ve.ui.MWMathInspector = function VeUiMWMathInspector( config ) {
|
|
|
|
// Parent constructor
|
|
|
|
ve.ui.MWMathInspector.super.call( this, config );
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
2017-01-11 21:50:35 +00:00
|
|
|
OO.inheritClass( ve.ui.MWMathInspector, ve.ui.MWLatexInspector );
|
2015-12-06 22:35:25 +00:00
|
|
|
|
|
|
|
/* Static properties */
|
|
|
|
|
|
|
|
ve.ui.MWMathInspector.static.name = 'mathInspector';
|
|
|
|
|
2017-01-11 21:50:35 +00:00
|
|
|
ve.ui.MWMathInspector.static.title = OO.ui.deferMsg( 'math-visualeditor-mwmathdialog-title' );
|
2015-12-06 22:35:25 +00:00
|
|
|
|
|
|
|
ve.ui.MWMathInspector.static.modelClasses = [ ve.dm.MWMathNode ];
|
|
|
|
|
|
|
|
/* Registration */
|
|
|
|
|
|
|
|
ve.ui.windowFactory.register( ve.ui.MWMathInspector );
|