Manual:$wgServiceWiringFiles
Appearance
From mediawiki.org
| 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: | [] (1.38+)[ __DIR__ . '/ServiceWiring.php' ]; (1.27-1.37) |
| Other settings: Alphabetical | By function | |
Extensions can add their own wiring files to $wgServiceWiringFiles, in order to define their own service. See Dependency Injection for more information.
The default wiring file will be added automatically by Setup.php.