Use namespace autoloading instead of manually tracking classes

This extension's classes have already been namespaced. Perhaps wrongly, but I don't see any showstoppers against using PSR-4 autoloading here.

Change-Id: I484feeb51beab0c2e06c9f958a1c15c40853b967
This commit is contained in:
alex4401 2023-12-04 20:44:37 +01:00 committed by Alex44019
parent 323c797f28
commit 15f2edbaee

View file

@ -17,8 +17,8 @@
"ConfigRegistry": {
"Description2": "GlobalVarConfig::newInstance"
},
"AutoloadClasses": {
"MediaWiki\\Extension\\Description2\\Description2": "includes/Description2.php"
"AutoloadNamespaces": {
"MediaWiki\\Extension\\Description2\\": "includes/"
},
"ExtensionMessagesFiles": {
"Description2Magic": "Description2.i18n.magic.php"