| Server URLs and file paths: $wgExtensionAssetsPath | |
|---|---|
| URL to extensions directory. |
|
| Introduced in version: | 1.16.0 (r60885) |
| Removed in version: | still in use |
| Allowed values: | (string) |
| Default value: | {$wgScriptPath}/extensions (Note: The default value of this variable depends on other variables, such as the values set in Setup.php, after LocalSettings.php is executed) |
| Other settings: Alphabetical | By function | |
Details
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).
See also
$wgExtensionDirectory- the filesystem path for loading extensions.$wgStyleDirectory– filesystem path for skins$wgStylePath– the URL for skins.- Manual:Extensions
- Manual:Extension registration - instructions for both building and loading skins and extensions.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.