Use namespaced PHP classes

Change-Id: I98890c4a41c913b5e20c97c9ad1deaa4c2b4fe5b
This commit is contained in:
Fomafix 2024-05-11 08:57:36 +00:00
parent 64d8ae2490
commit 41e2942d94
5 changed files with 7 additions and 4 deletions

View file

@ -9,15 +9,16 @@ use Article;
use DatabaseLogEntry;
use DifferenceEngine;
use ExtensionRegistry;
use GenderCache;
use IContextSource;
use LogEventsList;
use LogPage;
use MediaWiki\Api\Hook\ApiMain__moduleManagerHook;
use MediaWiki\Auth\Hook\LocalUserCreatedHook;
use MediaWiki\Block\Hook\GetAllBlockActionsHook;
use MediaWiki\Cache\GenderCache;
use MediaWiki\Config\Config;
use MediaWiki\Config\ConfigException;
use MediaWiki\Context\IContextSource;
use MediaWiki\Context\RequestContext;
use MediaWiki\Diff\Hook\DifferenceEngineViewHeaderHook;
use MediaWiki\Diff\Hook\DiffToolsHook;
use MediaWiki\Extension\Thanks\Api\ApiFlowThank;
@ -38,7 +39,6 @@ use MediaWiki\User\Options\UserOptionsManager;
use MediaWiki\User\User;
use MediaWiki\User\UserFactory;
use MediaWiki\User\UserIdentity;
use RequestContext;
use Skin;
/**

View file

@ -4,7 +4,7 @@ namespace MediaWiki\Extension\Thanks;
use ApiMain;
use ApiUsageException;
use HTMLForm;
use MediaWiki\HTMLForm\HTMLForm;
use MediaWiki\Linker\Linker;
use MediaWiki\Request\DerivativeRequest;
use MediaWiki\SpecialPage\FormSpecialPage;

View file

@ -1,6 +1,7 @@
<?php
use MediaWiki\Deferred\DeferredUpdates;
use MediaWiki\Tests\Api\ApiTestCase;
use MediaWiki\User\User;
/**

View file

@ -2,6 +2,7 @@
use MediaWiki\Block\DatabaseBlock;
use MediaWiki\Extension\Thanks\Api\ApiCoreThank;
use MediaWiki\Tests\Api\ApiTestCase;
use MediaWiki\User\User;
use MediaWiki\User\UserIdentityValue;

View file

@ -5,6 +5,7 @@ use Flow\Model\PostRevision;
use Flow\Model\UUID;
use Flow\Model\Workflow;
use MediaWiki\Deferred\DeferredUpdates;
use MediaWiki\Tests\Api\ApiTestCase;
use MediaWiki\Title\Title;
use MediaWiki\User\User;
use MediaWiki\WikiMap\WikiMap;