Use namespaced classes

Changes to the use statements done automatically via script

Change-Id: I0768f296b528c81edd6bd9ac7d76515b15f3da6f
This commit is contained in:
Umherirrender 2024-10-19 23:25:16 +02:00
parent 74ce9db4d4
commit 411ee7efad
17 changed files with 25 additions and 25 deletions

View file

@ -3,12 +3,12 @@
namespace Cite;
use InvalidArgumentException;
use Language;
use MediaWiki\Html\Html;
use MediaWiki\Language\Language;
use MediaWiki\Message\Message;
use MediaWiki\Parser\Parser;
use MediaWiki\Parser\ParserOptions;
use MediaWiki\Parser\Sanitizer;
use ParserOptions;
use StatusValue;
/**

View file

@ -6,16 +6,16 @@
namespace Cite\Hooks;
use ApiQuerySiteinfo;
use Cite\ReferencePreviews\ReferencePreviewsContext;
use Cite\ReferencePreviews\ReferencePreviewsGadgetsIntegration;
use ExtensionRegistry;
use MediaWiki\Api\ApiQuerySiteinfo;
use MediaWiki\Api\Hook\APIQuerySiteInfoGeneralInfoHook;
use MediaWiki\Config\Config;
use MediaWiki\EditPage\EditPage;
use MediaWiki\Hook\EditPage__showEditForm_initialHook;
use MediaWiki\Output\Hook\MakeGlobalVariablesScriptHook;
use MediaWiki\Output\OutputPage;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\ResourceLoader\Hook\ResourceLoaderGetConfigVarsHook;
use MediaWiki\ResourceLoader\Hook\ResourceLoaderRegisterModulesHook;
use MediaWiki\ResourceLoader\ResourceLoader;

View file

@ -9,7 +9,7 @@ use MediaWiki\Hook\ParserClearStateHook;
use MediaWiki\Hook\ParserClonedHook;
use MediaWiki\Hook\ParserFirstCallInitHook;
use MediaWiki\Parser\Parser;
use StripState;
use MediaWiki\Parser\StripState;
/**
* @license GPL-2.0-or-later

View file

@ -5,7 +5,7 @@ namespace Cite\Hooks;
use Cite\Cite;
use MediaWiki\Config\Config;
use MediaWiki\Parser\Parser;
use PPFrame;
use MediaWiki\Parser\PPFrame;
/**
* @license GPL-2.0-or-later

View file

@ -2,10 +2,10 @@
namespace Cite;
use Language;
use MediaWiki\Language\Language;
use MediaWiki\Message\Message;
use MessageLocalizer;
use MessageSpecifier;
use Wikimedia\Message\MessageSpecifier;
/**
* Interface abstracts everything a Cite needs to do with languages.

View file

@ -3,7 +3,7 @@
namespace Cite;
use LogicException;
use StripState;
use MediaWiki\Parser\StripState;
/**
* Encapsulates most of Cite state during parsing. This includes metadata about each ref tag,

View file

@ -2,7 +2,7 @@
namespace Cite\ResourceLoader;
use ExtensionRegistry;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\ResourceLoader\FileModule;
use MediaWiki\ResourceLoader\Module;

View file

@ -2,8 +2,8 @@
namespace Cite\Tests;
use MediaWiki\Parser\ParserOptions;
use MediaWiki\Title\Title;
use ParserOptions;
/**
* @group Database

View file

@ -2,9 +2,9 @@
namespace Cite\Tests;
use ApiQuerySiteinfo;
use Cite\Hooks\CiteHooks;
use Cite\ReferencePreviews\ReferencePreviewsGadgetsIntegration;
use MediaWiki\Api\ApiQuerySiteinfo;
use MediaWiki\Config\HashConfig;
use MediaWiki\ResourceLoader\ResourceLoader;
use MediaWiki\User\Options\StaticUserOptionsLookup;

View file

@ -6,10 +6,10 @@ use Cite\Cite;
use Cite\ErrorReporter;
use Cite\ReferenceListFormatter;
use Cite\ReferenceStack;
use Language;
use MediaWiki\Language\Language;
use MediaWiki\MainConfigNames;
use MediaWiki\Parser\Parser;
use ParserOptions;
use MediaWiki\Parser\ParserOptions;
use Wikimedia\TestingAccessWrapper;
/**

View file

@ -4,7 +4,7 @@ declare( strict_types = 1 );
namespace Cite\Tests\Integration;
use ExtensionRegistry;
use MediaWiki\Registration\ExtensionRegistry;
use Wikimedia\ObjectFactory\ObjectFactory;
use Wikimedia\Parsoid\Core\SelserData;
use Wikimedia\Parsoid\DOM\Element;

View file

@ -8,11 +8,11 @@ use Cite\FootnoteMarkFormatter;
use Cite\ReferenceListFormatter;
use Cite\ReferenceStack;
use Cite\Tests\TestUtils;
use Language;
use LogicException;
use MediaWiki\Language\Language;
use MediaWiki\Parser\Parser;
use ParserOptions;
use StripState;
use MediaWiki\Parser\ParserOptions;
use MediaWiki\Parser\StripState;
use Wikimedia\TestingAccessWrapper;
/**

View file

@ -6,9 +6,9 @@ use Cite\Cite;
use Cite\Hooks\CiteParserHooks;
use MediaWiki\Config\Config;
use MediaWiki\Parser\Parser;
use MediaWiki\Parser\ParserOptions;
use MediaWiki\Parser\ParserOutput;
use ParserOptions;
use StripState;
use MediaWiki\Parser\StripState;
/**
* @covers \Cite\Hooks\CiteParserHooks

View file

@ -7,7 +7,7 @@ use Cite\Hooks\CiteParserTagHooks;
use MediaWiki\Config\Config;
use MediaWiki\Parser\Parser;
use MediaWiki\Parser\ParserOutput;
use PPFrame;
use MediaWiki\Parser\PPFrame;
/**
* @covers \Cite\Hooks\CiteParserTagHooks

View file

@ -4,10 +4,10 @@ namespace Cite\Tests\Unit;
use Cite\ErrorReporter;
use Cite\ReferenceMessageLocalizer;
use Language;
use MediaWiki\Language\Language;
use MediaWiki\Message\Message;
use MediaWiki\Parser\Parser;
use ParserOptions;
use MediaWiki\Parser\ParserOptions;
/**
* @covers \Cite\ErrorReporter

View file

@ -3,7 +3,7 @@
namespace Cite\Tests\Unit;
use Cite\ReferenceMessageLocalizer;
use Language;
use MediaWiki\Language\Language;
/**
* @covers \Cite\ReferenceMessageLocalizer

View file

@ -5,7 +5,7 @@ namespace Cite\Tests\Unit;
use Cite\ReferenceStack;
use Cite\Tests\TestUtils;
use LogicException;
use StripState;
use MediaWiki\Parser\StripState;
use Wikimedia\TestingAccessWrapper;
/**