Translations:Manual:$wgMaxUploadSize/18/en

This example will set the maximum for all uploads to 250 KB, except for upload-by-URL, which will have a maximum of 500 KB.