mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-23 22:54:57 +00:00
Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681 Change-Id: I36f07ad64f90049b412969654cff0d3da31777e6
This commit is contained in:
parent
675b6ac7bd
commit
effea0bde6
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 ) {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue