49 'associatedLabel' => [],
61 if (
$config[
'associated'] !==
null ) {
62 $this->associated = new \OOUI\CheckboxInputWidget( array_merge(
67 $this->associatedLabel = new \OOUI\FieldLayout(
70 [
'align' =>
'inline' ],
75 if (
$config[
'invert'] !==
null ) {
76 $this->invert = new \OOUI\CheckboxInputWidget( array_merge(
81 $this->invertLabel = new \OOUI\FieldLayout(
84 [
'align' =>
'inline' ],
92 ->addClasses( [
'mw-widget-complexNamespaceInputWidget' ] )
93 ->appendContent( $this->
namespace, $this->associatedLabel, $this->invertLabel );
97 return 'mw.widgets.ComplexNamespaceInputWidget';
117 return parent::getConfig(
$config );