Manual:$wgFileBlacklist

Details
Files with these extensions will never be allowed as uploads.

  overrides  , so you must remove an extension from the blacklist before you can upload files that have it.

For instance, to allow users to upload executables, add this to :