Manual:$wgExtensionAssetsPath/zh
From Linux Web Expert
<translate> Server URLs and file paths</translate>: $wgExtensionAssetsPath | |
---|---|
扩展目录的 URL。 |
|
<translate> Introduced in version:</translate> | 1.16.0 (r60885) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (字符串) |
<translate> Default value:</translate> | {$wgScriptPath }/extensions (<translate> Note:</translate> <translate> The default value of this variable depends on other variables, such as the values set in <tvar|1>Setup.php </>, after <tvar|2>LocalSettings.php </> is executed</translate>) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
详情
URL to extensions directory, defaults to "{$wgScriptPath }/extensions".
Used to provide a base URL for extension assets like extension-specific images and scripts.
Note the difference between $IP/extensions
(points to the extensions directory on the server filesystem) and $wgScriptPath/extensions
(points to the URL of the extensions directory).
参见
$wgExtensionDirectory
- 用于加载扩展的文件系统路径。$wgStyleDirectory
– 用于皮肤的文件系统路径$wgStylePath
– the URL for skins.- Manual:Extensions
- Manual:Extension registration - instructions for both building and loading skins and extensions.