Translations:Manual:$wgStrictFileExtensions/6/en

A user attempting to upload a file whose extension is not in $1 will receive a warning message.