@BladeBronson mentioned something about possibility of wgMaxFileUploadSize being an array.. just wanted to make sure you didn't miss it.