Manual:$wgRemoteUploads

Details
Set to true to enable the upload link while local uploads are disabled. Assumes that the special page link will be bounced to another server where uploads do work.