Swap to AutoloadNamespaces

Change-Id: I4eb121b4e81b4ec4833ce0bea81ae041abbdacc9
Follows-Up: I0be9b88accafce97f7e9b7524ec740fb576fa11c
This commit is contained in:
Reedy 2022-02-06 13:55:54 +00:00
parent 60a7383e47
commit 51c3fe42bd
2 changed files with 2 additions and 9 deletions

View file

@ -389,9 +389,8 @@
"wikieditor-toolbar-help-content-indent-syntax",
"wikieditor-toolbar-help-content-indent-result"
],
"AutoloadClasses": {
"MediaWiki\\Extension\\WikiEditor\\Hooks": "includes/Hooks.php",
"WikiEditorHooks": "includes/Hooks.php"
"AutoloadNamespaces": {
"MediaWiki\\Extension\\WikiEditor\\": "includes/"
},
"manifest_version": 2
}

View file

@ -558,9 +558,3 @@ class Hooks implements
return true;
}
}
/**
* Retain the old class name for backwards compatibility.
* @deprecated since 1.38
*/
class_alias( Hooks::class, 'WikiEditorHooks' );