Podręcznik:$wgExtensionDirectory

This page is a translated version of the page Manual:$wgExtensionDirectory and the translation is 33% complete.
Server URLs and file paths: $wgExtensionDirectory
The file system path to the extensions directory.
Wprowadzono w wersji:1.25.0 (Gerrit change 209216; git #cf2678e2)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(ścieżka względna)
Domyślna wartość:null (1.38+)
"{$IP }/extensions" (1.25-1.37)

Szczegóły

The file system path to the extensions directory (relative path). This controls where MediaWiki will look for extensions on the server itself.

This is set to "{$IP}/extensions" by Setup.php before loading local settings.
Ignored when the exact path to a particular template's .json configuration file is given to the wfLoadTemplate() function.
Przykład: wfLoadTemplate( 'TemplateName', '/path/to/TemplateName/template.json' );

Zobacz też