Manual:$wgExtensionAssetsPath

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
Extensions: $wgExtensionAssetsPath
URL to extensions directory.
Introduced in version: 1.16.0 (r60885)
Removed in version: still in use
Allowed values: string
Default value: {$wgScriptPathManual:$wgScriptPath}/extensions
(Note: The default value of this variable depends on other variables, such as the values set in Setup.phpManual:Setup.php, after LocalSettings.phpManual:LocalSettings.php is executed)
Other settings: Alphabetical | By function

Details[edit]

URL to extensions directory, defaults to "{$wgScriptPathManual:$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).