Translations:Manual:$wgMaxUploadSize/21/en

If you've enabled $AllowCopyUploads, this setting does limit the size of files copied from a remote URL as expected.