Manual:$wgCheckFileExtensions/zh

细节
如果为true，则所有上载的文件都将检查其文件扩展名，具体取决于各种配置设置（请参阅下文），以确定是否允许上载.

如果为false，则不会进行大多数文件扩展名检查. 在这种情况下，几乎所有的文件上传都被允许

In version 1.11.1, there appears to be a bug that prevents this setting from actually working. (SpecialUpload.php line 353 isn't checking the value of this variable like it should.) Due to this, it is unclear from the code whether  was intended to override. The  variable may have the desired effect. This bug was corrected in version 1.13.0.