Last modified: 2014-11-06 19:50:02 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 T66912, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64912 - UploadWizard: Accept files whose names are invalid MediaWiki titles
UploadWizard: Accept files whose names are invalid MediaWiki titles
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: High normal (vote)
: MW 1.24 version
Assigned To: Rainer Rillke @commons.wikimedia
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-05 18:30 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-11-06 19:50 UTC (History)
7 users (show)

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


Attachments

Description Rainer Rillke @commons.wikimedia 2014-05-05 18:30:27 UTC
How to reproduce:
# Go to https://commons.wikimedia.org/wiki/Special:UploadWizard
# Upload a file named "Abc[defg.jpg"
# You are shown an error message:
>>Could not understand the file name "Abc[defg.jpg".<<
# You are unable to upload this file unless you rename it.

Expected:
# Invalid character are simply dropped or replaced.
Comment 1 Gerrit Notification Bot 2014-05-06 13:01:49 UTC
Change 131691 had a related patch set uploaded by Rillke:
Accept files that have whose name are invalid titles

https://gerrit.wikimedia.org/r/131691
Comment 2 Gerrit Notification Bot 2014-05-07 12:34:02 UTC
Change 131691 abandoned by Rillke:
Accept files whose name are invalid titles

Reason:
I'll submit a patch against mw.Title including unit tests

https://gerrit.wikimedia.org/r/131691
Comment 3 Gerrit Notification Bot 2014-05-07 13:24:21 UTC
Change 131971 had a related patch set uploaded by Rillke:
mw.Title: Add new static method `newFromFileName`

https://gerrit.wikimedia.org/r/131971
Comment 4 Rainer Rillke @commons.wikimedia 2014-05-21 10:48:12 UTC
* You are unable to upload this file unless you rename it.
You have to rename it locally. It's not uploaded at all.
Comment 5 Gerrit Notification Bot 2014-11-04 18:48:20 UTC
Change 131971 merged by jenkins-bot:
mw.Title: Add new static methods `newFromFileName`, `newFromUserInput`

https://gerrit.wikimedia.org/r/131971
Comment 6 Gerrit Notification Bot 2014-11-06 16:20:39 UTC
Change 171546 had a related patch set uploaded by MarkAHershberger:
mw.Title: Add new static methods `newFromFileName`, `newFromUserInput`

https://gerrit.wikimedia.org/r/171546
Comment 7 Gerrit Notification Bot 2014-11-06 16:30:15 UTC
Change 171546 merged by jenkins-bot:
mw.Title: Add new static methods `newFromFileName`, `newFromUserInput`

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

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


Navigation
Links