Manual:$wgServiceWiringFiles

From MediaWiki.org
Jump to navigation Jump to search
Other languages:
English • ‎magyar • ‎polski • ‎日本語
Extensions: $wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Introduced in version:1.27.0 (Gerrit change 264403; git #eb46307b)
Removed in version:still in use
Allowed values:(array)
Default value:[ __DIR__ . '/ServiceWiring.php' ];

Extensions can add their own wiring files to $wgServiceWiringFiles, in order to define their own service. See Dependency Injection for more information.