build: Update MediaWiki requirement to 1.40.0

All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I4bf5dc5e7285e790860a00a4973f5dd7fc17c61e
This commit is contained in:
James D. Forrester 2023-03-13 23:32:27 -04:00
parent 00a240bbce
commit f2bd26e880

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"