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