Translations:Manual:$wgIllegalFileChars/7/en

All invalid characters in file names, including those listed in this variable, will automatically be converted to dashes ("-").