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 statement done manually Change-Id: I813e0d8fb266474eab5ad59ba33f6cd089099212
This commit is contained in:
parent
388b63d518
commit
fb52519d7c
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
namespace MediaWiki\Extension\TemplateData\Api;
|
namespace MediaWiki\Extension\TemplateData\Api;
|
||||||
|
|
||||||
use ApiBase;
|
use MediaWiki\Api\ApiBase;
|
||||||
use ApiContinuationManager;
|
use MediaWiki\Api\ApiContinuationManager;
|
||||||
use ApiFormatBase;
|
use MediaWiki\Api\ApiFormatBase;
|
||||||
use ApiPageSet;
|
use MediaWiki\Api\ApiPageSet;
|
||||||
use ApiResult;
|
use MediaWiki\Api\ApiResult;
|
||||||
use ExtensionRegistry;
|
use MediaWiki\Content\TextContent;
|
||||||
use MediaWiki\Extension\EventLogging\EventLogging;
|
use MediaWiki\Extension\EventLogging\EventLogging;
|
||||||
use MediaWiki\Extension\TemplateData\TemplateDataBlob;
|
use MediaWiki\Extension\TemplateData\TemplateDataBlob;
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
use TextContent;
|
use MediaWiki\Registration\ExtensionRegistry;
|
||||||
use Wikimedia\ParamValidator\ParamValidator;
|
use Wikimedia\ParamValidator\ParamValidator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
namespace MediaWiki\Extension\TemplateData;
|
namespace MediaWiki\Extension\TemplateData;
|
||||||
|
|
||||||
use ExtensionRegistry;
|
|
||||||
use MediaWiki\CommentStore\CommentStoreComment;
|
use MediaWiki\CommentStore\CommentStoreComment;
|
||||||
use MediaWiki\Config\Config;
|
use MediaWiki\Config\Config;
|
||||||
use MediaWiki\Context\RequestContext;
|
use MediaWiki\Context\RequestContext;
|
||||||
|
@ -17,6 +16,8 @@ use MediaWiki\MediaWikiServices;
|
||||||
use MediaWiki\Output\Hook\OutputPageBeforeHTMLHook;
|
use MediaWiki\Output\Hook\OutputPageBeforeHTMLHook;
|
||||||
use MediaWiki\Output\OutputPage;
|
use MediaWiki\Output\OutputPage;
|
||||||
use MediaWiki\Parser\Parser;
|
use MediaWiki\Parser\Parser;
|
||||||
|
use MediaWiki\Parser\PPFrame;
|
||||||
|
use MediaWiki\Registration\ExtensionRegistry;
|
||||||
use MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook;
|
use MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook;
|
||||||
use MediaWiki\ResourceLoader\ResourceLoader;
|
use MediaWiki\ResourceLoader\ResourceLoader;
|
||||||
use MediaWiki\Revision\RenderedRevision;
|
use MediaWiki\Revision\RenderedRevision;
|
||||||
|
@ -26,7 +27,6 @@ use MediaWiki\Status\Status;
|
||||||
use MediaWiki\Storage\Hook\MultiContentSaveHook;
|
use MediaWiki\Storage\Hook\MultiContentSaveHook;
|
||||||
use MediaWiki\Title\Title;
|
use MediaWiki\Title\Title;
|
||||||
use MediaWiki\User\UserIdentity;
|
use MediaWiki\User\UserIdentity;
|
||||||
use PPFrame;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @license GPL-2.0-or-later
|
* @license GPL-2.0-or-later
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace MediaWiki\Extension\TemplateData;
|
namespace MediaWiki\Extension\TemplateData;
|
||||||
|
|
||||||
use Language;
|
use MediaWiki\Language\Language;
|
||||||
use MessageLocalizer;
|
use MessageLocalizer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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\Maintenance\Maintenance;
|
||||||
use MediaWiki\Title\Title;
|
use MediaWiki\Title\Title;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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\Json\FormatJson;
|
||||||
use MediaWiki\Language\RawMessage;
|
use MediaWiki\Language\RawMessage;
|
||||||
use MediaWiki\MainConfigNames;
|
use MediaWiki\MainConfigNames;
|
||||||
use MediaWiki\Status\Status;
|
use MediaWiki\Status\Status;
|
||||||
|
|
Loading…
Reference in a new issue