Last modified: 2014-05-30 11:47:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67811, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65811 - Special:Upload should remove whitespace before file extension
Special:Upload should remove whitespace before file extension
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.24rc
All All
: Normal enhancement (vote)
: ---
Assigned To: JuneHyeon Bae (devunt)
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-27 15:50 UTC by Dan Barrett
Modified: 2014-05-30 11:47 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Barrett 2014-05-27 15:50:44 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
Comment 1 Rainer Rillke @commons.wikimedia 2014-05-28 15:12:39 UTC
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
Comment 2 Gerrit Notification Bot 2014-05-30 11:47:52 UTC
Change 136307 had a related patch set uploaded by devunt:
Remove trailing spaces of filename on Special:Upload

https://gerrit.wikimedia.org/r/136307

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links