mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-23 15:57:15 +00:00
Swap to AutoloadNamespaces
Change-Id: I4eb121b4e81b4ec4833ce0bea81ae041abbdacc9 Follows-Up: I0be9b88accafce97f7e9b7524ec740fb576fa11c
This commit is contained in:
parent
60a7383e47
commit
51c3fe42bd
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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' );
|
||||
|
|
Loading…
Reference in a new issue