mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-30 19:16:15 +00:00
Update moved class Category
See T321882. Moved in I0b86acfdea Bug: T321681 Change-Id: If48e9163bcfcfe03098f61b7cc52137e4ecaae82
This commit is contained in:
parent
e34f4a2b58
commit
0cf8b3dfe5
|
@ -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"
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue