diff --git a/includes/BaseBlacklist.php b/includes/BaseBlacklist.php index fb3f7249..24ac0065 100644 --- a/includes/BaseBlacklist.php +++ b/includes/BaseBlacklist.php @@ -5,9 +5,9 @@ namespace MediaWiki\Extension\SpamBlacklist; use Exception; use MediaWiki\MediaWikiServices; use MediaWiki\Revision\SlotRecord; +use MediaWiki\Title\Title; use ObjectCache; use TextContent; -use Title; use User; /** diff --git a/includes/EmailBlacklist.php b/includes/EmailBlacklist.php index eedbd53f..92aedb3b 100644 --- a/includes/EmailBlacklist.php +++ b/includes/EmailBlacklist.php @@ -3,7 +3,7 @@ namespace MediaWiki\Extension\SpamBlacklist; use LogicException; -use Title; +use MediaWiki\Title\Title; use User; use Wikimedia\AtEase\AtEase; diff --git a/includes/SpamBlacklist.php b/includes/SpamBlacklist.php index a87c9dad..7d9c6f4d 100644 --- a/includes/SpamBlacklist.php +++ b/includes/SpamBlacklist.php @@ -8,9 +8,9 @@ use ManualLogEntry; use MediaWiki\CheckUser\Hooks as CUHooks; use MediaWiki\ExternalLinks\ExternalLinksLookup; use MediaWiki\MediaWikiServices; +use MediaWiki\Title\Title; use ObjectCache; use RequestContext; -use Title; use User; use Wikimedia\AtEase\AtEase; use Wikimedia\Rdbms\Database; diff --git a/maintenance/cleanup.php b/maintenance/cleanup.php index 4b0b0491..e33f83b2 100644 --- a/maintenance/cleanup.php +++ b/maintenance/cleanup.php @@ -12,6 +12,7 @@ use MediaWiki\Page\WikiPageFactory; use MediaWiki\Revision\RevisionLookup; use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\SlotRecord; +use MediaWiki\Title\Title; $IP = getenv( 'MW_INSTALL_PATH' ); if ( $IP === false ) { diff --git a/tests/phpunit/BaseBlacklistTest.php b/tests/phpunit/BaseBlacklistTest.php index 4fe32eb3..420b3077 100644 --- a/tests/phpunit/BaseBlacklistTest.php +++ b/tests/phpunit/BaseBlacklistTest.php @@ -20,6 +20,7 @@ */ use MediaWiki\Extension\SpamBlacklist\BaseBlacklist; +use MediaWiki\Title\Title; /** * @covers \MediaWiki\Extension\SpamBlacklist\BaseBlacklist diff --git a/tests/phpunit/SpamBlacklistTest.php b/tests/phpunit/SpamBlacklistTest.php index 4bc3cac3..00b757b3 100644 --- a/tests/phpunit/SpamBlacklistTest.php +++ b/tests/phpunit/SpamBlacklistTest.php @@ -4,6 +4,7 @@ use MediaWiki\EditPage\EditPage; use MediaWiki\Extension\SpamBlacklist\BaseBlacklist; use MediaWiki\Extension\SpamBlacklist\SpamBlacklist; use MediaWiki\MediaWikiServices; +use MediaWiki\Title\Title; /** * @group SpamBlacklist