diff --git a/includes/Hooks/SkinHooks.php b/includes/Hooks/SkinHooks.php index 7c01518f..683fc3ee 100644 --- a/includes/Hooks/SkinHooks.php +++ b/includes/Hooks/SkinHooks.php @@ -25,13 +25,13 @@ declare( strict_types=1 ); namespace MediaWiki\Skins\Citizen\Hooks; +use ExtensionRegistry; use MediaWiki\Hook\BeforePageDisplayHook; use MediaWiki\Hook\SidebarBeforeOutputHook; use MediaWiki\Hook\SkinBuildSidebarHook; use MediaWiki\Hook\SkinEditSectionLinksHook; use MediaWiki\Hook\SkinTemplateNavigation__UniversalHook; use MediaWiki\Skins\Hook\SkinPageReadyConfigHook; -use ExtensionRegistry; use Skin; use SpecialPage; @@ -47,6 +47,7 @@ class SkinHooks implements SkinTemplateNavigation__UniversalHook { use \MediaWiki\Skins\Citizen\GetConfigTrait; + /** * Adds the inline theme switcher script to the page * diff --git a/includes/Partials/Drawer.php b/includes/Partials/Drawer.php index 44ecab84..ffaf2c28 100644 --- a/includes/Partials/Drawer.php +++ b/includes/Partials/Drawer.php @@ -26,10 +26,6 @@ declare( strict_types=1 ); namespace MediaWiki\Skins\Citizen\Partials; use Exception; -use ExtensionRegistry; -use MWException; -use Skin; -use SpecialPage; /** * Drawer partial of Skin Citizen