diff --git a/bootstrap.php b/bootstrap.php index c92cb70..1d59219 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -150,7 +150,10 @@ 'dropdown' => 'MWStake\\MediaWiki\\Component\\CommonUserInterface\\Renderer\\Dropdown', 'dropdown-button' => 'MWStake\\MediaWiki\\Component\\CommonUserInterface\\Renderer\\DropdownButton', 'dropdown-icon' => 'MWStake\\MediaWiki\\Component\\CommonUserInterface\\Renderer\\DropdownIcon', - 'dropdown-icon-split-button' => 'MWStake\\MediaWiki\\Component\\CommonUserInterface\\Renderer\\DropdownIconSplitButton', + 'dropdown-icon-split-button' => [ + 'class' => 'MWStake\\MediaWiki\\Component\\CommonUserInterface\\Renderer\\DropdownIconSplitButton', + 'services' => [ 'MainConfig' ] + ], 'dropdown-split-button' => 'MWStake\\MediaWiki\\Component\\CommonUserInterface\\Renderer\\DropdownSplitButton', 'dropdown-split-link' => 'MWStake\\MediaWiki\\Component\\CommonUserInterface\\Renderer\\DropdownSplitLink', 'dropdown-itemlist' => 'MWStake\\MediaWiki\\Component\\CommonUserInterface\\Renderer\\DropdownItemlist', diff --git a/resources/templates/dropdown-icon-split-button.mustache b/resources/templates/dropdown-icon-split-button.mustache index 76f3f9a..58840f9 100644 --- a/resources/templates/dropdown-icon-split-button.mustache +++ b/resources/templates/dropdown-icon-split-button.mustache @@ -1,9 +1,9 @@