MediaWiki
REL1_34
NamespacesMultiselectWidget.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Widget
;
4
11
class
NamespacesMultiselectWidget
extends
TagMultiselectWidget
{
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
}
MediaWiki\Widget\NamespacesMultiselectWidget
Widget to select multiple namespaces.
Definition
NamespacesMultiselectWidget.php:11
MediaWiki\Widget\NamespacesMultiselectWidget\getConfig
getConfig(&$config)
Definition
NamespacesMultiselectWidget.php:26
MediaWiki\Widget\NamespacesMultiselectWidget\getJavaScriptClassName
getJavaScriptClassName()
Definition
NamespacesMultiselectWidget.php:22
MediaWiki\Widget\NamespacesMultiselectWidget\__construct
__construct(array $config=[])
Definition
NamespacesMultiselectWidget.php:16
MediaWiki\Widget\TagMultiselectWidget
Abstract base class for widgets to select multiple users, titles, namespaces, etc.
Definition
TagMultiselectWidget.php:14
MediaWiki\Widget
Definition
CheckMatrixWidget.php:3
includes
widget
NamespacesMultiselectWidget.php
Generated on Mon Nov 25 2024 16:06:02 for MediaWiki by
1.10.0