Manual:$wgUploadBaseUrl

From Linux Web Expert

Revision as of 21:24, 10 April 2021 by imported>Shirayuki (update section per DefaultSettings.php)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Server URLs and file paths</translate>: $wgUploadBaseUrl
The base URL for uploaded images if shared upload directory isn't to be used
<translate> Introduced in version:</translate>1.4.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate><translate> Unspecified</translate>
<translate> Default value:</translate>''

Details

This can be used to set the server to use with $wgUploadPath if it is not the current server. However most people just put the full url in $wgUploadPath instead.

If set, this string is added to the start of $wgUploadPath to form a complete upload URL.