Manual:$wgFileBlacklist/en

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

$1 overrides $2, 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 $1: