Be careful though, wgMaxUploadSize can be an array with limit per type.