Podręcznik:$wgServiceWiringFiles

From mediawiki.org
This page is a translated version of the page Manual:$wgServiceWiringFiles and the translation is 50% complete.
Other languages:
Rozszerzenia: $wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Wprowadzono w wersji:1.27.0 (Gerrit change 264403; git #eb46307b)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(tablica)
Domyślna wartość:[] (1.38+)
[ __DIR__ . '/ServiceWiring.php' ]; (1.27-1.37)

Extensions can add their own wiring files to $wgServiceWiringFiles, in order to define their own service. Zobacz Dependency Injection , aby uzyskać więcej informacji.

The default wiring file will be added automatically by Setup.php.