20 parent::__construct( $config );
22 if ( isset( $config[
'allowEditTags'] ) ) {
23 $this->allowEditTags = $config[
'allowEditTags'];
26 $this->addClasses( [
'mw-widgets-namespacesMultiselectWidget' ] );
30 return 'mw.widgets.NamespacesMultiselectWidget';
34 if ( $this->allowEditTags !==
null ) {
38 return parent::getConfig( $config );