Last modified: 2014-05-30 11:47:55 UTC
Whitespace in front of an image suffix, such as "Foobar .jpg" (notice the space character before ".jpg"), should be stripped away by Special:Upload. It too confusing to distinguish between: File:Foobar.jpg File:Foobar .jpg File:Foobar .jpg etc. after images are uploaded. The whitespace is usually a mistake anyway (in the original filename on the user's PC). Right now, the whitespace is accepted as a valid
For the client side: Will be addressed with https://bugzilla.wikimedia.org/show_bug.cgi?id=64922 specifically https://gerrit.wikimedia.org/r/#/c/131971/8/resources/src/mediawiki/mediawiki.Title.js l.569
Change 136307 had a related patch set uploaded by devunt: Remove trailing spaces of filename on Special:Upload https://gerrit.wikimedia.org/r/136307