Use namespaced classes

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

Change-Id: Ie195f1614237370a19e91bf4e16f704cee678c0c
This commit is contained in:
Umherirrender 2024-10-20 13:21:02 +02:00
parent aa0ff8e654
commit f8062128bf
5 changed files with 12 additions and 6 deletions

View file

@ -7,21 +7,21 @@ namespace MediaWiki\Extension\TemplateStyles;
* @license GPL-2.0-or-later
*/
use ContentHandler;
use ExtensionRegistry;
use InvalidArgumentException;
use MapCacheLRU;
use MediaWiki\Config\Config;
use MediaWiki\Content\ContentHandler;
use MediaWiki\Extension\TemplateStyles\Hooks\HookRunner;
use MediaWiki\Hook\ParserClearStateHook;
use MediaWiki\Hook\ParserFirstCallInitHook;
use MediaWiki\Html\Html;
use MediaWiki\MediaWikiServices;
use MediaWiki\Parser\Parser;
use MediaWiki\Parser\PPFrame;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\Revision\Hook\ContentHandlerDefaultModelForHook;
use MediaWiki\Revision\SlotRecord;
use MediaWiki\Title\Title;
use PPFrame;
use Wikimedia\CSS\Grammar\CheckedMatcher;
use Wikimedia\CSS\Grammar\GrammarMatch;
use Wikimedia\CSS\Grammar\MatcherFactory;

View file

@ -2,7 +2,7 @@
namespace MediaWiki\Extension\TemplateStyles;
use TextContent;
use MediaWiki\Content\TextContent;
/**
* @file

View file

@ -7,9 +7,9 @@ namespace MediaWiki\Extension\TemplateStyles;
* @license GPL-2.0-or-later
*/
use CodeContentHandler;
use Content;
use CSSJanus;
use MediaWiki\Content\CodeContentHandler;
use MediaWiki\Content\Content;
use MediaWiki\Content\Renderer\ContentParseParams;
use MediaWiki\Content\ValidationParams;
use MediaWiki\MediaWikiServices;

View file

@ -1,5 +1,8 @@
<?php
use MediaWiki\Content\Content;
use MediaWiki\Content\CssContent;
use MediaWiki\Content\WikitextContent;
use MediaWiki\Extension\TemplateStyles\TemplateStylesContent;
use MediaWiki\MainConfigNames;

View file

@ -1,9 +1,12 @@
<?php
use MediaWiki\Content\ContentHandler;
use MediaWiki\Context\RequestContext;
use MediaWiki\Extension\TemplateStyles\Hooks as TemplateStylesHooks;
use MediaWiki\Extension\TemplateStyles\TemplateStylesContent;
use MediaWiki\MainConfigNames;
use MediaWiki\Parser\ParserOptions;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\Revision\MutableRevisionRecord;
use MediaWiki\Revision\SlotRecord;
use MediaWiki\Title\Title;