Translations:Manual:$wgMaxUploadSize/18/en

This example will set the maximum for all uploads to 100 MB, except for upload-by-URL, which will have a maximum of 2 MB.