Use namespaced classes

Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I813e0d8fb266474eab5ad59ba33f6cd089099212
This commit is contained in:
Umherirrender 2024-10-20 13:20:47 +02:00
parent 388b63d518
commit fb52519d7c
5 changed files with 12 additions and 10 deletions

View file

@ -2,16 +2,16 @@
namespace MediaWiki\Extension\TemplateData\Api;
use ApiBase;
use ApiContinuationManager;
use ApiFormatBase;
use ApiPageSet;
use ApiResult;
use ExtensionRegistry;
use MediaWiki\Api\ApiBase;
use MediaWiki\Api\ApiContinuationManager;
use MediaWiki\Api\ApiFormatBase;
use MediaWiki\Api\ApiPageSet;
use MediaWiki\Api\ApiResult;
use MediaWiki\Content\TextContent;
use MediaWiki\Extension\EventLogging\EventLogging;
use MediaWiki\Extension\TemplateData\TemplateDataBlob;
use MediaWiki\MediaWikiServices;
use TextContent;
use MediaWiki\Registration\ExtensionRegistry;
use Wikimedia\ParamValidator\ParamValidator;
/**

View file

@ -2,7 +2,6 @@
namespace MediaWiki\Extension\TemplateData;
use ExtensionRegistry;
use MediaWiki\CommentStore\CommentStoreComment;
use MediaWiki\Config\Config;
use MediaWiki\Context\RequestContext;
@ -17,6 +16,8 @@ use MediaWiki\MediaWikiServices;
use MediaWiki\Output\Hook\OutputPageBeforeHTMLHook;
use MediaWiki\Output\OutputPage;
use MediaWiki\Parser\Parser;
use MediaWiki\Parser\PPFrame;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook;
use MediaWiki\ResourceLoader\ResourceLoader;
use MediaWiki\Revision\RenderedRevision;
@ -26,7 +27,6 @@ use MediaWiki\Status\Status;
use MediaWiki\Storage\Hook\MultiContentSaveHook;
use MediaWiki\Title\Title;
use MediaWiki\User\UserIdentity;
use PPFrame;
/**
* @license GPL-2.0-or-later

View file

@ -2,7 +2,7 @@
namespace MediaWiki\Extension\TemplateData;
use Language;
use MediaWiki\Language\Language;
use MessageLocalizer;
/**

View file

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

View file

@ -4,6 +4,7 @@ use MediaWiki\Extension\TemplateData\Api\ApiTemplateData;
use MediaWiki\Extension\TemplateData\TemplateDataBlob;
use MediaWiki\Extension\TemplateData\TemplateDataHtmlFormatter;
use MediaWiki\Extension\TemplateData\TemplateDataValidator;
use MediaWiki\Json\FormatJson;
use MediaWiki\Language\RawMessage;
use MediaWiki\MainConfigNames;
use MediaWiki\Status\Status;