Manual:$wgMimeTypeExclusions

Details
Files with these MIME types will never be allowed as uploads if  is enabled.

This variable was previously.

Default values

 * 1.39.5 (961942, T341565)
 * 1.40.1 (961949, T341565)

Example
If you wanted to allow html files to be uploaded: