Manual:$wgFileBlacklist

Details
Files with these extensions will never be allowed as uploads if   is set to true.

This is the default value:

  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 :