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.: