Update moved class Category

See T321882. Moved in I0b86acfdea

Bug: T321681
Change-Id: If48e9163bcfcfe03098f61b7cc52137e4ecaae82
This commit is contained in:
gerritbot 2023-05-12 14:33:05 +00:00
parent e34f4a2b58
commit 0cf8b3dfe5
4 changed files with 8 additions and 5 deletions

View file

@ -6,7 +6,7 @@
"license-name": "GPL-2.0-or-later", "license-name": "GPL-2.0-or-later",
"type": "parserhook", "type": "parserhook",
"requires": { "requires": {
"MediaWiki": ">= 1.38.0" "MediaWiki": ">= 1.40.0"
}, },
"ConfigRegistry": { "ConfigRegistry": {
"categorytree": "GlobalVarConfig::newInstance" "categorytree": "GlobalVarConfig::newInstance"
@ -92,7 +92,10 @@
"HookHandlers": { "HookHandlers": {
"default": { "default": {
"class": "MediaWiki\\Extension\\CategoryTree\\Hooks", "class": "MediaWiki\\Extension\\CategoryTree\\Hooks",
"services": [ "CategoryTree.CategoryCache", "MainConfig" ] "services": [
"CategoryTree.CategoryCache",
"MainConfig"
]
}, },
"config": { "config": {
"class": "MediaWiki\\Extension\\CategoryTree\\ConfigHookHandler" "class": "MediaWiki\\Extension\\CategoryTree\\ConfigHookHandler"

View file

@ -20,7 +20,7 @@
namespace MediaWiki\Extension\CategoryTree; namespace MediaWiki\Extension\CategoryTree;
use Category; use MediaWiki\Category\Category;
use MediaWiki\Linker\LinkTarget; use MediaWiki\Linker\LinkTarget;
use Wikimedia\Rdbms\ILoadBalancer; use Wikimedia\Rdbms\ILoadBalancer;
use Wikimedia\Rdbms\IResultWrapper; use Wikimedia\Rdbms\IResultWrapper;

View file

@ -24,12 +24,12 @@
namespace MediaWiki\Extension\CategoryTree; namespace MediaWiki\Extension\CategoryTree;
use Category;
use Exception; use Exception;
use ExtensionRegistry; use ExtensionRegistry;
use FormatJson; use FormatJson;
use Html; use Html;
use IContextSource; use IContextSource;
use MediaWiki\Category\Category;
use MediaWiki\Linker\LinkRenderer; use MediaWiki\Linker\LinkRenderer;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use OutputPage; use OutputPage;

View file

@ -20,7 +20,7 @@
namespace MediaWiki\Extension\CategoryTree\Tests; namespace MediaWiki\Extension\CategoryTree\Tests;
use Category; use MediaWiki\Category\Category;
use MediaWiki\Extension\CategoryTree\CategoryCache; use MediaWiki\Extension\CategoryTree\CategoryCache;
use MediaWikiIntegrationTestCase; use MediaWikiIntegrationTestCase;
use TitleValue; use TitleValue;