mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
95dee3ceee
Change-Id: Ibef2bf965dbd970b235a57058bcb3922a8777aa2
34 lines
821 B
JavaScript
34 lines
821 B
JavaScript
/*!
|
|
* VisualEditor UserInterface LanguageInspector class.
|
|
*
|
|
* @copyright 2011-2014 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 );
|