mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-23 15:06:48 +00:00
Use namespaced classes
Changes to the use statements done automatically via script Addition of missing use statement done manually Change-Id: Ib342f7315b331c18b3f7d9e3c22ff3e4d5d8c7f2
This commit is contained in:
parent
80f7734c3a
commit
f6b16d34de
|
@ -20,10 +20,10 @@
|
|||
|
||||
namespace MediaWiki\Extension\Gadgets\Api;
|
||||
|
||||
use ApiBase;
|
||||
use ApiQuery;
|
||||
use ApiQueryBase;
|
||||
use ApiResult;
|
||||
use MediaWiki\Api\ApiBase;
|
||||
use MediaWiki\Api\ApiQuery;
|
||||
use MediaWiki\Api\ApiQueryBase;
|
||||
use MediaWiki\Api\ApiResult;
|
||||
use MediaWiki\Extension\Gadgets\GadgetRepo;
|
||||
use Wikimedia\ParamValidator\ParamValidator;
|
||||
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
|
||||
namespace MediaWiki\Extension\Gadgets\Api;
|
||||
|
||||
use ApiBase;
|
||||
use ApiQuery;
|
||||
use ApiQueryBase;
|
||||
use ApiResult;
|
||||
use MediaWiki\Api\ApiBase;
|
||||
use MediaWiki\Api\ApiQuery;
|
||||
use MediaWiki\Api\ApiQueryBase;
|
||||
use MediaWiki\Api\ApiResult;
|
||||
use MediaWiki\Extension\Gadgets\Gadget;
|
||||
use MediaWiki\Extension\Gadgets\GadgetRepo;
|
||||
use Wikimedia\ParamValidator\ParamValidator;
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
|
||||
namespace MediaWiki\Extension\Gadgets\Content;
|
||||
|
||||
use FormatJson;
|
||||
use JsonContent;
|
||||
use MediaWiki\Content\JsonContent;
|
||||
use MediaWiki\Json\FormatJson;
|
||||
use MediaWiki\Status\Status;
|
||||
|
||||
class GadgetDefinitionContent extends JsonContent {
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
|
||||
namespace MediaWiki\Extension\Gadgets\Content;
|
||||
|
||||
use Content;
|
||||
use FormatJson;
|
||||
use JsonContentHandler;
|
||||
use MediaWiki\Content\Content;
|
||||
use MediaWiki\Content\JsonContentHandler;
|
||||
use MediaWiki\Content\Renderer\ContentParseParams;
|
||||
use MediaWiki\Content\ValidationParams;
|
||||
use MediaWiki\Extension\Gadgets\GadgetRepo;
|
||||
use MediaWiki\Extension\Gadgets\MediaWikiGadgetsJsonRepo;
|
||||
use MediaWiki\Json\FormatJson;
|
||||
use MediaWiki\Linker\Linker;
|
||||
use MediaWiki\Parser\ParserOutput;
|
||||
use MediaWiki\Title\Title;
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
|
||||
namespace MediaWiki\Extension\Gadgets;
|
||||
|
||||
use ApiMessage;
|
||||
use InvalidArgumentException;
|
||||
use ManualLogEntry;
|
||||
use MediaWiki\Api\ApiMessage;
|
||||
use MediaWiki\Context\RequestContext;
|
||||
use MediaWiki\Extension\Gadgets\Special\SpecialGadgetUsage;
|
||||
use MediaWiki\Hook\DeleteUnknownPreferencesHook;
|
||||
|
@ -51,9 +51,9 @@ use MediaWiki\Title\TitleValue;
|
|||
use MediaWiki\User\Hook\UserGetDefaultOptionsHook;
|
||||
use MediaWiki\User\Options\UserOptionsLookup;
|
||||
use MediaWiki\User\User;
|
||||
use MessageSpecifier;
|
||||
use OOUI\HtmlSnippet;
|
||||
use Skin;
|
||||
use Wikimedia\Message\MessageSpecifier;
|
||||
use Wikimedia\Rdbms\IExpression;
|
||||
use Wikimedia\Rdbms\IReadableDatabase;
|
||||
use Wikimedia\Rdbms\LikeValue;
|
||||
|
|
|
@ -20,15 +20,15 @@
|
|||
|
||||
namespace MediaWiki\Extension\Gadgets;
|
||||
|
||||
use BagOStuff;
|
||||
use InvalidArgumentException;
|
||||
use MediaWiki\Content\TextContent;
|
||||
use MediaWiki\Linker\LinkTarget;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Revision\RevisionLookup;
|
||||
use MediaWiki\Revision\SlotRecord;
|
||||
use MediaWiki\Title\Title;
|
||||
use TextContent;
|
||||
use WANObjectCache;
|
||||
use Wikimedia\ObjectCache\BagOStuff;
|
||||
use Wikimedia\ObjectCache\WANObjectCache;
|
||||
use Wikimedia\Rdbms\Database;
|
||||
use Wikimedia\Rdbms\IConnectionProvider;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ use MediaWiki\Linker\LinkTarget;
|
|||
use MediaWiki\Revision\RevisionLookup;
|
||||
use MediaWiki\Revision\SlotRecord;
|
||||
use MediaWiki\Title\Title;
|
||||
use WANObjectCache;
|
||||
use Wikimedia\ObjectCache\WANObjectCache;
|
||||
use Wikimedia\Rdbms\Database;
|
||||
use Wikimedia\Rdbms\IConnectionProvider;
|
||||
use Wikimedia\Rdbms\IExpression;
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
|
||||
namespace MediaWiki\Extension\Gadgets\Special;
|
||||
|
||||
use ContentHandler;
|
||||
use InvalidArgumentException;
|
||||
use Language;
|
||||
use MediaWiki\Content\ContentHandler;
|
||||
use MediaWiki\Extension\Gadgets\Gadget;
|
||||
use MediaWiki\Extension\Gadgets\GadgetRepo;
|
||||
use MediaWiki\Html\Html;
|
||||
use MediaWiki\HTMLForm\HTMLForm;
|
||||
use MediaWiki\Language\Language;
|
||||
use MediaWiki\MainConfigNames;
|
||||
use MediaWiki\Message\Message;
|
||||
use MediaWiki\Parser\Sanitizer;
|
||||
|
|
|
@ -4,6 +4,8 @@ use MediaWiki\Extension\Gadgets\Gadget;
|
|||
use MediaWiki\Extension\Gadgets\GadgetResourceLoaderModule;
|
||||
use MediaWiki\Extension\Gadgets\MediaWikiGadgetsDefinitionRepo;
|
||||
use MediaWiki\Revision\RevisionLookup;
|
||||
use Wikimedia\ObjectCache\HashBagOStuff;
|
||||
use Wikimedia\ObjectCache\WANObjectCache;
|
||||
use Wikimedia\Rdbms\IConnectionProvider;
|
||||
use Wikimedia\TestingAccessWrapper;
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
use MediaWiki\Extension\Gadgets\MediaWikiGadgetsDefinitionRepo;
|
||||
use MediaWiki\Title\Title;
|
||||
use Wikimedia\ObjectCache\HashBagOStuff;
|
||||
use Wikimedia\ObjectCache\WANObjectCache;
|
||||
|
||||
/**
|
||||
* @covers \MediaWiki\Extension\Gadgets\GadgetRepo
|
||||
|
|
Loading…
Reference in a new issue