Manual:$wgRepositoryBaseUrl

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  property in $wgForeignFileRepos.