mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 15:36:47 +00:00
Use namespaced classes
Changes to the use statements done automatically via script Addition of missing use statements done manually Change-Id: I8e049e495a0d0f3a0e1ee02a8252354b12604bf9
This commit is contained in:
parent
c217eee567
commit
b626bd18d3
|
@ -2,9 +2,8 @@
|
|||
|
||||
namespace MediaWiki\Extension\TemplateData;
|
||||
|
||||
use CommentStoreComment;
|
||||
use ExtensionRegistry;
|
||||
use Html;
|
||||
use MediaWiki\CommentStore\CommentStoreComment;
|
||||
use MediaWiki\Config\Config;
|
||||
use MediaWiki\EditPage\EditPage;
|
||||
use MediaWiki\Extension\EventLogging\EventLogging;
|
||||
|
@ -13,20 +12,21 @@ use MediaWiki\Hook\EditPage__showEditForm_initialHook;
|
|||
use MediaWiki\Hook\OutputPageBeforeHTMLHook;
|
||||
use MediaWiki\Hook\ParserFetchTemplateDataHook;
|
||||
use MediaWiki\Hook\ParserFirstCallInitHook;
|
||||
use MediaWiki\Html\Html;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Output\OutputPage;
|
||||
use MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook;
|
||||
use MediaWiki\ResourceLoader\ResourceLoader;
|
||||
use MediaWiki\Revision\RenderedRevision;
|
||||
use MediaWiki\Revision\RevisionRecord;
|
||||
use MediaWiki\Revision\SlotRecord;
|
||||
use MediaWiki\Status\Status;
|
||||
use MediaWiki\Storage\Hook\MultiContentSaveHook;
|
||||
use MediaWiki\Title\Title;
|
||||
use MediaWiki\User\UserIdentity;
|
||||
use OutputPage;
|
||||
use Parser;
|
||||
use PPFrame;
|
||||
use RequestContext;
|
||||
use ResourceLoader;
|
||||
use Status;
|
||||
|
||||
/**
|
||||
* @license GPL-2.0-or-later
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace MediaWiki\Extension\TemplateData;
|
||||
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use Status;
|
||||
use MediaWiki\Status\Status;
|
||||
use stdClass;
|
||||
use Wikimedia\Rdbms\IReadableDatabase;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace MediaWiki\Extension\TemplateData;
|
||||
|
||||
use Html;
|
||||
use MediaWiki\Html\Html;
|
||||
use MediaWiki\Logger\LoggerFactory;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Title\Title;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace MediaWiki\Extension\TemplateData;
|
||||
|
||||
use Status;
|
||||
use MediaWiki\Status\Status;
|
||||
|
||||
/**
|
||||
* @license GPL-2.0-or-later
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace MediaWiki\Extension\TemplateData;
|
||||
|
||||
use Status;
|
||||
use MediaWiki\Status\Status;
|
||||
use stdClass;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\Extension\TemplateData\TemplateDataStatus;
|
||||
use MediaWiki\Parser\ParserOutput;
|
||||
use MediaWiki\Status\Status;
|
||||
|
||||
/**
|
||||
* @covers \MediaWiki\Extension\TemplateData\TemplateDataStatus
|
||||
|
|
|
@ -4,6 +4,9 @@ use MediaWiki\Extension\TemplateData\Api\ApiTemplateData;
|
|||
use MediaWiki\Extension\TemplateData\TemplateDataBlob;
|
||||
use MediaWiki\Extension\TemplateData\TemplateDataHtmlFormatter;
|
||||
use MediaWiki\Extension\TemplateData\TemplateDataValidator;
|
||||
use MediaWiki\Language\RawMessage;
|
||||
use MediaWiki\Parser\Sanitizer;
|
||||
use MediaWiki\Status\Status;
|
||||
use MediaWiki\Title\Title;
|
||||
use Wikimedia\TestingAccessWrapper;
|
||||
|
||||
|
|
Loading…
Reference in a new issue