diff --git a/includes/Hooks.php b/includes/Hooks.php index 46df1b97..28be7686 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -8,14 +8,13 @@ namespace MediaWiki\Extension\WikiEditor; -use ApiMessage; use Article; -use Content; -use ExtensionRegistry; +use MediaWiki\Api\ApiMessage; use MediaWiki\Cache\CacheKeyHelper; use MediaWiki\ChangeTags\Hook\ChangeTagsListActiveHook; use MediaWiki\ChangeTags\Hook\ListDefinedTagsHook; use MediaWiki\Config\Config; +use MediaWiki\Content\Content; use MediaWiki\Context\RequestContext; use MediaWiki\EditPage\EditPage; use MediaWiki\Extension\ConfirmEdit\Hooks as ConfirmEditHooks; @@ -30,6 +29,7 @@ use MediaWiki\Html\Html; use MediaWiki\MediaWikiServices; use MediaWiki\Output\OutputPage; use MediaWiki\Preferences\Hook\GetPreferencesHook; +use MediaWiki\Registration\ExtensionRegistry; use MediaWiki\Request\WebRequest; use MediaWiki\ResourceLoader as RL; use MediaWiki\Status\Status;