mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs/ve.ui.MWLanguageSearchDialog.js
Ed Sanders be36dfca25 Use core language search dialog
Depends on I21a9d7e in core.

Change-Id: I12cacf775b490d7c676011a5a154deeefe5527c5
2014-04-23 18:43:03 -07:00

33 lines
808 B
JavaScript

/*!
* VisualEditor UserInterface MWLanguageSearchDialog class.
*
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* MediaWiki Language search dialog
*
* @class
* @extends ve.ui.LanguageSearchDialog
*
* @constructor
* @param {Object} [config] Configuration options
*/
ve.ui.MWLanguageSearchDialog = function VeUiMWLanguageSearchDialog( config ) {
// Parent constructor
ve.ui.LanguageSearchDialog.call( this, config );
};
/* Inheritance */
OO.inheritClass( ve.ui.MWLanguageSearchDialog, ve.ui.LanguageSearchDialog );
/* Static Properties */
ve.ui.MWLanguageSearchDialog.static.languageSearchWidget = ve.ui.MWLanguageSearchWidget;
/* Registration */
ve.ui.windowFactory.register( ve.ui.MWLanguageSearchDialog );