Manual:$wgExtensionDirectory/de-formal
From Linux Web Expert
<translate> Server URLs and file paths</translate>: $wgExtensionDirectory | |
---|---|
The file system path to the extensions directory. |
|
<translate> Introduced in version:</translate> | 1.25.0 (Gerrit change 209216; git #cf2678e2) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (relative path) |
<translate> Default value:</translate> | null (1.38+)"{$IP }/extensions" (1.25-1.37) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
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.
- Example:
wfLoadTemplate( 'TemplateName', '/path/to/TemplateName/template.json' );
See also
- $IP
$wgExtensionAssetsPath
– the URL for extensions$wgStyleDirectory
– filesystem path for skins$wgStylePath
– the URL for skins.- Manual:Extensions - extensions let you customize how MediaWiki looks and works.
- Manual:Extension registration - instructions for both building and loading skins and extensions.