Manual:$wgCopyUploadTimeout/cs

Details
The HTTP timeout (in seconds) to use when downloading the file for an upload-by-URL request. This could be useful since when fetching large files, you may want a timeout longer than the default.

By default, or when set to false, MediaWiki falls back to the value of.