MediaWiki REL1_37
NamespacesMultiselectWidget.php
Go to the documentation of this file.
1<?php
2
3namespace 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}
Base class for widgets to select multiple users, titles, namespaces, etc.