MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onMediaWikiServices ( $services) | |
This hook is called when a global MediaWikiServices instance is initialized. | |
Stable to implement.
Definition at line 11 of file MediaWikiServicesHook.php.
MediaWiki\Hook\MediaWikiServicesHook::onMediaWikiServices | ( | $services | ) |
This hook is called when a global MediaWikiServices instance is initialized.
Extensions may use this to define, replace, or wrap services. However, the preferred way to define a new service is the $wgServiceWiringFiles array.
MediaWikiServices | $services |
Implemented in MediaWiki\HookContainer\HookRunner.