17 parent::__construct( $params );
19 $this->mAllValue = array_key_exists(
'all', $params )
29 return Html::namespaceSelector(
32 'all' => $this->mAllValue
34 'name' => $this->mName,
36 'class' =>
'namespaceselector',
48 'name' => $this->mName,
50 'includeAllValue' => $this->mAllValue,
60 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...
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself....