mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
34 lines
821 B
JavaScript
34 lines
821 B
JavaScript
|
/*!
|
||
|
* VisualEditor UserInterface LanguageInspector class.
|
||
|
*
|
||
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
||
|
* @license The MIT License (MIT); see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* MWLanguage inspector.
|
||
|
*
|
||
|
* @class
|
||
|
* @extends ve.ui.LanguageInspector
|
||
|
*
|
||
|
* @constructor
|
||
|
* @param {ve.ui.Surface} surface
|
||
|
* @param {Object} [config] Configuration options
|
||
|
*/
|
||
|
ve.ui.MWLanguageInspector = function VeUiMWLanguageInspector( surface, config ) {
|
||
|
// Parent constructor
|
||
|
ve.ui.LanguageInspector.call( this, surface, config );
|
||
|
};
|
||
|
|
||
|
/* Inheritance */
|
||
|
|
||
|
OO.inheritClass( ve.ui.MWLanguageInspector, ve.ui.LanguageInspector );
|
||
|
|
||
|
/* Static Properties */
|
||
|
|
||
|
ve.ui.MWLanguageInspector.static.languageInputWidget = ve.ui.MWLanguageInputWidget;
|
||
|
|
||
|
/* Registration */
|
||
|
|
||
|
ve.ui.inspectorFactory.register( ve.ui.MWLanguageInspector );
|