mediawiki-extensions-Visual.../modules/ve-mw/ui/inspectors/ve.ui.MWLanguageInspector.js
Trevor Parscal 7994eae8c2 MediaWiki language inspector updates
* Add ULS, which was removed from VE core
* Add experimental mwlanguage module which adds ULS integration
* Hook in ULS to the existing language widget

Also update VE core submodule with changes:
* 1e92abe Generic language inspector

Bug: 47759
Change-Id: I325a4dcc316d0334fadfcaa46ad3acd45c6bf84b
2014-01-18 01:02:23 +00:00

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 );