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

Bug: T321681
Change-Id: I2a7aaadc47dd068ccea8fd8110054433973df52c
This commit is contained in:
gerritbot 2023-08-19 04:19:39 +00:00 committed by DannyS712
parent fcd0fe2a2e
commit cfd2e5b664
4 changed files with 4 additions and 2 deletions

View file

@ -20,6 +20,7 @@ use MediaWiki\Revision\RenderedRevision;
use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\RevisionRecord;
use MediaWiki\Revision\SlotRecord; use MediaWiki\Revision\SlotRecord;
use MediaWiki\Storage\Hook\MultiContentSaveHook; use MediaWiki\Storage\Hook\MultiContentSaveHook;
use MediaWiki\Title\Title;
use MediaWiki\User\UserIdentity; use MediaWiki\User\UserIdentity;
use OutputPage; use OutputPage;
use Parser; use Parser;
@ -27,7 +28,6 @@ use PPFrame;
use RequestContext; use RequestContext;
use ResourceLoader; use ResourceLoader;
use Status; use Status;
use Title;
/** /**
* Hooks for TemplateData extension * Hooks for TemplateData extension

View file

@ -5,9 +5,9 @@ namespace MediaWiki\Extension\TemplateData;
use Html; use Html;
use MediaWiki\Logger\LoggerFactory; use MediaWiki\Logger\LoggerFactory;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Title\Title;
use MessageLocalizer; use MessageLocalizer;
use stdClass; use stdClass;
use Title;
class TemplateDataHtmlFormatter { class TemplateDataHtmlFormatter {

View file

@ -7,6 +7,7 @@ if ( $IP === false ) {
require_once "$IP/maintenance/Maintenance.php"; require_once "$IP/maintenance/Maintenance.php";
use MediaWiki\Extension\TemplateData\TemplateDataBlob; use MediaWiki\Extension\TemplateData\TemplateDataBlob;
use MediaWiki\Title\Title;
class ValidateTemplateData extends Maintenance { class ValidateTemplateData extends Maintenance {

View file

@ -4,6 +4,7 @@ use MediaWiki\Extension\TemplateData\Api\ApiTemplateData;
use MediaWiki\Extension\TemplateData\TemplateDataBlob; use MediaWiki\Extension\TemplateData\TemplateDataBlob;
use MediaWiki\Extension\TemplateData\TemplateDataHtmlFormatter; use MediaWiki\Extension\TemplateData\TemplateDataHtmlFormatter;
use MediaWiki\Extension\TemplateData\TemplateDataValidator; use MediaWiki\Extension\TemplateData\TemplateDataValidator;
use MediaWiki\Title\Title;
use Wikimedia\TestingAccessWrapper; use Wikimedia\TestingAccessWrapper;
/** /**