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
8 namespace MediaWiki\Widget
;
13 class UserInputWidget
extends \OOUI\TextInputWidget
{
16 * @param array $config Configuration options
18 public function __construct( array $config = [] ) {
20 parent
::__construct( array_merge( [ 'infusable' => true ], $config ) );
23 $this->addClasses( [ 'mw-widget-userInputWidget' ] );
26 protected function getJavaScriptClassName() {
27 return 'mw.widgets.UserInputWidget';