From f3087681b5585d5b0139f29d016985b40a51a31f Mon Sep 17 00:00:00 2001 From: Fomafix Date: Thu, 19 Oct 2023 12:48:19 +0000 Subject: [PATCH] Use namespaced classes Change-Id: Ie0dbe43c56b7ef6b4514aa7cac1bc2f8b2eace2e --- src/Hooks.php | 2 +- src/Job.php | 2 +- src/SpecialReplaceText.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Hooks.php b/src/Hooks.php index 51e4278a..b8c4a252 100644 --- a/src/Hooks.php +++ b/src/Hooks.php @@ -21,7 +21,7 @@ */ namespace MediaWiki\Extension\ReplaceText; -use Config; +use MediaWiki\Config\Config; use MediaWiki\Hook\SpecialMovepageAfterMoveHook; use MediaWiki\SpecialPage\SpecialPageFactory; use MediaWiki\Title\Title; diff --git a/src/Job.php b/src/Job.php index c934b948..3fc2e2c2 100644 --- a/src/Job.php +++ b/src/Job.php @@ -21,9 +21,9 @@ */ namespace MediaWiki\Extension\ReplaceText; -use CommentStoreComment; use ContentHandler; use Job as JobParent; +use MediaWiki\CommentStore\CommentStoreComment; use MediaWiki\MediaWikiServices; use MediaWiki\Title\Title; use RecentChange; diff --git a/src/SpecialReplaceText.php b/src/SpecialReplaceText.php index e4f44c6e..3d534b4a 100644 --- a/src/SpecialReplaceText.php +++ b/src/SpecialReplaceText.php @@ -20,23 +20,23 @@ namespace MediaWiki\Extension\ReplaceText; use ErrorPageError; -use Html; use JobQueueGroup; use Language; use MediaWiki\HookContainer\HookContainer; +use MediaWiki\Html\Html; use MediaWiki\Linker\LinkRenderer; use MediaWiki\MediaWikiServices; use MediaWiki\Page\MovePageFactory; use MediaWiki\Revision\SlotRecord; +use MediaWiki\SpecialPage\SpecialPage; use MediaWiki\Storage\NameTableStore; +use MediaWiki\Title\NamespaceInfo; use MediaWiki\Title\Title; use MediaWiki\User\UserFactory; use MediaWiki\User\UserOptionsLookup; -use NamespaceInfo; use OOUI; use PermissionsError; use SearchEngineConfig; -use SpecialPage; use Wikimedia\Rdbms\ReadOnlyMode; use Xml;