Manual:$wgUploadNavigationUrl

Details
Point the upload navigation link to an external URL. Useful if you want to use a shared repository by default without disabling local uploads, e. g.:

It is not necessary to set Manual:$wgRemoteUploads to true to achieve this.