Last modified: 2013-09-06 15:02:22 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 T54699, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52699 - API upload warning exists-normalized returns wrong file (the file that is uploaded, not the file that exists)
API upload warning exists-normalized returns wrong file (the file that is upl...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.22.0
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-10 08:55 UTC by Rainer Rillke @commons.wikimedia
Modified: 2013-09-06 15:02 UTC (History)
4 users (show)

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


Attachments

Description Rainer Rillke @commons.wikimedia 2013-08-10 08:55:51 UTC
Original bug title:
API upload warning exists-normalized returns wrong file (the file that is uploaded, not the file that exists)

----
See https://commons.wikimedia.org/w/index.php?title=Commons:Upload_help&oldid=101150677#Cannot_find_existing_file.3F and http://bug-attachment.wikimedia.org/attachment.cgi?id=13083 where I tried to upload a PNG (and there was not PNG uploaded yet but a JPEG)
Comment 2 Rainer Rillke @commons.wikimedia 2013-08-10 11:19:32 UTC
To clarify, I think its more useful to return the "normalizedFile"-title rather than just the "file"-title. Otherwise the user has no way to find out which the normalized filename is, that exists.
Comment 3 Gerrit Notification Bot 2013-08-10 12:23:40 UTC
Change 78523 had a related patch set uploaded by Rillke:
Return normalized file name on warning "exists-normalized"

https://gerrit.wikimedia.org/r/78523
Comment 4 Gerrit Notification Bot 2013-09-06 14:59:19 UTC
Change 78523 merged by jenkins-bot:
Return normalized file name on warning "exists-normalized"

https://gerrit.wikimedia.org/r/78523
Comment 5 Brad Jorsch 2013-09-06 15:02:22 UTC
This change should be deployed to WMF wikis with 1.22wmf17, see https://www.mediawiki.org/wiki/MediaWiki_1.22/Roadmap for the schedule.

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


Navigation
Links