Use namespaced classes

Change-Id: I9fabf791aae691dfa7d071a1d99d17f4f7379682
This commit is contained in:
Fomafix 2023-10-03 09:30:38 +00:00
parent a476b645a7
commit 8bd82c12f6
5 changed files with 13 additions and 13 deletions

View file

@ -4,9 +4,9 @@ namespace MediaWiki\Extension\CategoryTree;
use ApiBase;
use ApiMain;
use Config;
use ConfigFactory;
use FormatJson;
use MediaWiki\Config\Config;
use MediaWiki\Config\ConfigFactory;
use MediaWiki\Languages\LanguageConverterFactory;
use MediaWiki\Title\Title;
use WANObjectCache;

View file

@ -27,16 +27,16 @@ namespace MediaWiki\Extension\CategoryTree;
use Exception;
use ExtensionRegistry;
use FormatJson;
use Html;
use IContextSource;
use MediaWiki\Category\Category;
use MediaWiki\Html\Html;
use MediaWiki\Linker\LinkRenderer;
use MediaWiki\MediaWikiServices;
use MediaWiki\Output\OutputPage;
use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Title\Title;
use OutputPage;
use Parser;
use RequestContext;
use SpecialPage;
/**
* Core functions for the CategoryTree extension, an AJAX based gadget

View file

@ -24,11 +24,11 @@
namespace MediaWiki\Extension\CategoryTree;
use Html;
use HTMLForm;
use MediaWiki\Html\Html;
use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Title\Title;
use SearchEngineFactory;
use SpecialPage;
/**
* Special page for the CategoryTree extension, an AJAX based gadget

View file

@ -24,8 +24,7 @@
namespace MediaWiki\Extension\CategoryTree;
use Config;
use Html;
use MediaWiki\Config\Config;
use MediaWiki\Hook\CategoryViewer__doCategoryQueryHook;
use MediaWiki\Hook\CategoryViewer__generateLinkHook;
use MediaWiki\Hook\OutputPageMakeCategoryLinksHook;
@ -33,15 +32,16 @@ use MediaWiki\Hook\ParserFirstCallInitHook;
use MediaWiki\Hook\SkinBuildSidebarHook;
use MediaWiki\Hook\SpecialTrackingCategories__generateCatLinkHook;
use MediaWiki\Hook\SpecialTrackingCategories__preprocessHook;
use MediaWiki\Html\Html;
use MediaWiki\Linker\LinkTarget;
use MediaWiki\Output\OutputPage;
use MediaWiki\Parser\Sanitizer;
use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Title\Title;
use OutputPage;
use Parser;
use PPFrame;
use RequestContext;
use Sanitizer;
use Skin;
use SpecialPage;
use Wikimedia\Rdbms\IResultWrapper;
/**

View file

@ -22,8 +22,8 @@ namespace MediaWiki\Extension\CategoryTree\Tests;
use MediaWiki\Category\Category;
use MediaWiki\Extension\CategoryTree\CategoryCache;
use MediaWiki\Title\TitleValue;
use MediaWikiIntegrationTestCase;
use TitleValue;
use Wikimedia\Rdbms\ILoadBalancer;
use Wikimedia\TestingAccessWrapper;