9 $this->mAllValue = array_key_exists(
'all',
$params )
15 return Html::namespaceSelector(
18 'all' => $this->mAllValue
20 'name' => $this->mName,
22 'class' =>
'namespaceselector',
30 'name' => $this->mName,
32 'includeAllValue' => $this->mAllValue,
38 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.