You're exporting this as 'wgMaxUploadSize' but referencing 'wgMaxFileUploadSize'. Please test the functionality before pushing.