Move ILoadBalancer to Rdbms namespace
[mediawiki.git] / includes / widget / UserInputWidget.php
blobd591ad13419d7eea7b8a4611a0b1a1614ba8b23f
1 <?php
2 /**
3 * MediaWiki Widgets – UserInputWidget class.
5 * @copyright 2011-2015 MediaWiki Widgets Team and others; see AUTHORS.txt
6 * @license The MIT License (MIT); see LICENSE.txt
7 */
8 namespace MediaWiki\Widget;
10 /**
11 * User input widget.
13 class UserInputWidget extends \OOUI\TextInputWidget {
15 /**
16 * @param array $config Configuration options
18 public function __construct( array $config = [] ) {
19 // Parent constructor
20 parent::__construct( $config );
22 // Initialization
23 $this->addClasses( [ 'mw-widget-userInputWidget' ] );
26 protected function getJavaScriptClassName() {
27 return 'mw.widgets.UserInputWidget';