MediaWiki  master
NamespacesMultiselectWidget.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Widget;
4 
12 
16  public function __construct( array $config = [] ) {
17  parent::__construct( $config );
18 
19  $this->addClasses( [ 'mw-widgets-namespacesMultiselectWidget' ] );
20  }
21 
22  protected function getJavaScriptClassName() {
23  return 'mw.widgets.NamespacesMultiselectWidget';
24  }
25 
26  public function getConfig( &$config ) {
27  return parent::getConfig( $config );
28  }
29 
30 }
Config $config
Definition: MediaWiki.php:39
Abstract base class for widgets to select multiple users, titles, namespaces, etc.