* @param array $config Configuration options
* @param string $config['includeAllValue'] If specified, add a "all namespaces" option to the
* namespace dropdown, and use this as the input value for it
* @param array $config Configuration options
* @param string $config['includeAllValue'] If specified, add a "all namespaces" option to the
* namespace dropdown, and use this as the input value for it
- $namespaceOptionsParams = isset( $config['includeAllValue'] ) ?
- array( 'all' => $config['includeAllValue'] ) : array();
+ $namespaceOptionsParams = [
+ 'all' => isset( $config['includeAllValue'] ) ? $config['includeAllValue'] : null,
+ 'exclude' => isset( $config['exclude'] ) ? $config['exclude'] : null
+ ];
// Skip DropdownInputWidget's getConfig(), we don't need 'options' config
return \OOUI\InputWidget::getConfig( $config );
}
// Skip DropdownInputWidget's getConfig(), we don't need 'options' config
return \OOUI\InputWidget::getConfig( $config );
}