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.: $wgUploadNavigationUrl = 'http://commons.wikimedia.org/wiki/Special:Upload';