2013-11-12 21:17:09 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor UserInterface LanguageInspector class.
|
|
|
|
*
|
2014-03-25 01:36:51 +00:00
|
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
2013-11-12 21:17:09 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* MWLanguage inspector.
|
|
|
|
*
|
|
|
|
* @class
|
|
|
|
* @extends ve.ui.LanguageInspector
|
|
|
|
*
|
|
|
|
* @constructor
|
|
|
|
* @param {Object} [config] Configuration options
|
|
|
|
*/
|
2014-04-04 17:42:13 +00:00
|
|
|
ve.ui.MWLanguageInspector = function VeUiMWLanguageInspector( config ) {
|
2013-11-12 21:17:09 +00:00
|
|
|
// Parent constructor
|
2014-04-04 17:42:13 +00:00
|
|
|
ve.ui.LanguageInspector.call( this, config );
|
2013-11-12 21:17:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
OO.inheritClass( ve.ui.MWLanguageInspector, ve.ui.LanguageInspector );
|
|
|
|
|
|
|
|
/* Static Properties */
|
|
|
|
|
|
|
|
ve.ui.MWLanguageInspector.static.languageInputWidget = ve.ui.MWLanguageInputWidget;
|
|
|
|
|
|
|
|
/* Registration */
|
|
|
|
|
2014-04-21 22:31:21 +00:00
|
|
|
ve.ui.windowFactory.register( ve.ui.MWLanguageInspector );
|