11 parent::__construct( $params );
13 $this->mAllValue = array_key_exists(
'all', $params )
19 return Html::namespaceSelector(
22 'all' => $this->mAllValue
24 'name' => $this->mName,
26 'class' =>
'namespaceselector',
34 'name' => $this->mName,
36 'includeAllValue' => $this->mAllValue,
42 return [
'mediawiki.widgets' ];
Wrapper for Html::namespaceSelector to use in HTMLForm.
getInputOOUI( $value)
Same as getInputHTML, but returns an OOUI object.
shouldInfuseOOUI()
Whether the field should be automatically infused.
getOOUIModules()
Get the list of extra ResourceLoader modules which must be loaded client-side before it's possible to...
__construct( $params)
Initialise the object.
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.