Replace some moved Title class uses, now MediaWiki\Title\Title

Bug: T321681
Change-Id: I36f07ad64f90049b412969654cff0d3da31777e6
This commit is contained in:
gerritbot 2023-08-19 04:19:23 +00:00
parent 675b6ac7bd
commit effea0bde6
6 changed files with 6 additions and 3 deletions

View file

@ -5,9 +5,9 @@ namespace MediaWiki\Extension\SpamBlacklist;
use Exception; use Exception;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Revision\SlotRecord; use MediaWiki\Revision\SlotRecord;
use MediaWiki\Title\Title;
use ObjectCache; use ObjectCache;
use TextContent; use TextContent;
use Title;
use User; use User;
/** /**

View file

@ -3,7 +3,7 @@
namespace MediaWiki\Extension\SpamBlacklist; namespace MediaWiki\Extension\SpamBlacklist;
use LogicException; use LogicException;
use Title; use MediaWiki\Title\Title;
use User; use User;
use Wikimedia\AtEase\AtEase; use Wikimedia\AtEase\AtEase;

View file

@ -8,9 +8,9 @@ use ManualLogEntry;
use MediaWiki\CheckUser\Hooks as CUHooks; use MediaWiki\CheckUser\Hooks as CUHooks;
use MediaWiki\ExternalLinks\ExternalLinksLookup; use MediaWiki\ExternalLinks\ExternalLinksLookup;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Title\Title;
use ObjectCache; use ObjectCache;
use RequestContext; use RequestContext;
use Title;
use User; use User;
use Wikimedia\AtEase\AtEase; use Wikimedia\AtEase\AtEase;
use Wikimedia\Rdbms\Database; use Wikimedia\Rdbms\Database;

View file

@ -12,6 +12,7 @@ use MediaWiki\Page\WikiPageFactory;
use MediaWiki\Revision\RevisionLookup; use MediaWiki\Revision\RevisionLookup;
use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\RevisionRecord;
use MediaWiki\Revision\SlotRecord; use MediaWiki\Revision\SlotRecord;
use MediaWiki\Title\Title;
$IP = getenv( 'MW_INSTALL_PATH' ); $IP = getenv( 'MW_INSTALL_PATH' );
if ( $IP === false ) { if ( $IP === false ) {

View file

@ -20,6 +20,7 @@
*/ */
use MediaWiki\Extension\SpamBlacklist\BaseBlacklist; use MediaWiki\Extension\SpamBlacklist\BaseBlacklist;
use MediaWiki\Title\Title;
/** /**
* @covers \MediaWiki\Extension\SpamBlacklist\BaseBlacklist * @covers \MediaWiki\Extension\SpamBlacklist\BaseBlacklist

View file

@ -4,6 +4,7 @@ use MediaWiki\EditPage\EditPage;
use MediaWiki\Extension\SpamBlacklist\BaseBlacklist; use MediaWiki\Extension\SpamBlacklist\BaseBlacklist;
use MediaWiki\Extension\SpamBlacklist\SpamBlacklist; use MediaWiki\Extension\SpamBlacklist\SpamBlacklist;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Title\Title;
/** /**
* @group SpamBlacklist * @group SpamBlacklist