mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-11 05:56:11 +00:00
7994eae8c2
* 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
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 );
|