Manual:$wgExtensionDirectory
Appearance
| Server URLs and file paths: $wgExtensionDirectory | |
|---|---|
| O caminho do sistema de ficheiros para a diretoria de extensões. |
|
| Introduzido na versão: | 1.25.0 (Gerrit change 209216; git #cf2678e2) |
| Removido na versão: | Ainda em utilização |
| Valores permitidos: | (caminho relativo) |
| Valor predefinido: | null (1.38+)"{$IP}/extensions" (1.25-1.37) |
| Outras definições: Alfabeticamente | Por função | |
Detalhes
O caminho do sistema de ficheiros para a diretoria de extensões (caminho relativo). Isto controla onde o MediaWiki irá procurar por extensões no próprio servidor.
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' );
Ver também
- $IP
$wgExtensionAssetsPath– o URL para as extensões$wgStyleDirectory– o caminho do sistema de ficheiros para os temas$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.