Jump to content

手册:$wgExtensionAssetsPath

From mediawiki.org
This page is a translated version of the page Manual:$wgExtensionAssetsPath and the translation is 58% complete.
服务器URL及文件路徑: $wgExtensionAssetsPath
扩展目录的 URL。
引进版本:1.16.0 (r60885)
移除版本:仍在使用
允许的值:(字符串)
默认值:{$wgScriptPath }/extensions
(注: 此变量的默认值取决于其他变量,例如执行LocalSettings.php 后在Setup.php 中设置的值)

详情

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).

参见