16 parent::__construct( $params );
18 $this->mAllValue = array_key_exists(
'all', $params )
28 return Html::namespaceSelector(
31 'all' => $this->mAllValue
33 'name' => $this->mName,
35 'class' =>
'namespaceselector',
47 'name' => $this->mName,
49 'includeAllValue' => $this->mAllValue,
59 return [
'mediawiki.widgets' ];
Wrapper for Html::namespaceSelector to use in HTMLForm.
getInputOOUI( $value)
Same as getInputHTML, but returns an OOUI object.Defaults to false, which getOOUI will interpret as "...
shouldInfuseOOUI()
Whether the field should be automatically infused.Note that all OOUI HTMLForm fields are infusable (y...
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....