Jump to content

Manual:$wgRepositoryBaseUrl

From mediawiki.org
Shared uploads: $wgRepositoryBaseUrl
Base URL for a repository wiki.
Introduced in version:1.5.0
Removed in version:Still in use
Allowed values:(string)
Default value:"https://commons.wikimedia.org/wiki/File:"

Details

Base URL for a repository wiki. Leave this blank if uploads are just stored in a shared directory and not meant to be accessible through a separate wiki. Otherwise the image description pages on the local wiki will link to the image description page on this wiki.

Please specify the namespace, as in the default example.

Equivalent to the descBaseUrl property in $wgForeignFileRepos .

See also

  • Manual:$wgForeignFileRepos - a more flexible way of configuring shared upload repositories (and the only way, if you want to set up more than one shared upload source)