Manual:$wgStrictFileExtensions/zh

详情
如果设置成能够功，用户将只能通过特殊的扩展上传文件. (see )

If set to false, users will be able to upload files with almost any extension. A user attempting to upload a file whose extension is not in  will receive a warning message. However, they may choose to ignore the message and upload the file anyway (assuming the file's extension is not in the ).