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:
Umherirrender 2024-01-04 21:53:10 +01:00
parent c217eee567
commit b626bd18d3
7 changed files with 14 additions and 9 deletions

View file

@ -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

View file

@ -3,7 +3,7 @@
namespace MediaWiki\Extension\TemplateData;
use MediaWiki\MediaWikiServices;
use Status;
use MediaWiki\Status\Status;
use stdClass;
use Wikimedia\Rdbms\IReadableDatabase;

View file

@ -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;

View file

@ -2,7 +2,7 @@
namespace MediaWiki\Extension\TemplateData;
use Status;
use MediaWiki\Status\Status;
/**
* @license GPL-2.0-or-later

View file

@ -2,7 +2,7 @@
namespace MediaWiki\Extension\TemplateData;
use Status;
use MediaWiki\Status\Status;
use stdClass;
/**

View file

@ -1,6 +1,8 @@
<?php
use MediaWiki\Extension\TemplateData\TemplateDataStatus;
use MediaWiki\Parser\ParserOutput;
use MediaWiki\Status\Status;
/**
* @covers \MediaWiki\Extension\TemplateData\TemplateDataStatus

View file

@ -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;