Merge "Update moved class Category"

This commit is contained in:
jenkins-bot 2023-05-15 13:26:51 +00:00 committed by Gerrit Code Review
commit 4ae7023ecc
4 changed files with 8 additions and 5 deletions

View file

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

View file

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

View file

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

View file

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