Translations:Manual:$wgCheckFileExtensions/4/en

If true, all uploaded files will have their file extension checked, depending on various configuration settings (see below), to determine whether the upload will be allowed.