https://bugzilla.wikimedia.org/show_bug.cgi?id=55963
--- Comment #6 from Bawolff (Brian Wolff) <[email protected]> --- > > It should look at the directory name, not the actual filename. The format of > the filename varries depending on which extensions are > installed.additionally, > Lonngish filenames even get shortened to things like 120px-thumbnail.jpg > (change ext as appropriate). This is nothing new... Specific example: https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Geschw._Lenders%2C_Hoflieferanten%2C_Leinen-_und_W%C3%A4sche-Ausstattungsmagazin%2C_Modewaaren%2C_Allee-_und_Elberfelderstr.-Ecke_24_%28Adressbuch_der_Oberb%C3%BCrgermeisterei_D%C3%BCsseldorf_f%C3%BCr_das_Jahr_1890%2C_Erster_Theil._S._179%29.jpg/120px-thumbnail.jpg (We do this for any file where the thumbnail is > 160 bytes) Also I'm somewhat doubtful that [^\s\\] actually corresponds to allowed characters (U+1680 for example is allowed in files I believe). -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
