Return normalized file name on warning "exists-normalized"
authorrillke <rainerrillke@hotmail.com>
Sat, 10 Aug 2013 12:14:03 +0000 (14:14 +0200)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 6 Sep 2013 14:47:45 +0000 (10:47 -0400)
commit07c61c796b6ed0cee89041f8276ea2c5540b22cb
treebf8b1c6fca07e98827e4ed57a74369d138dd29a3
parent9e1274a91b403b9a550859527177a340a9518d63
Return normalized file name on warning "exists-normalized"

Make API action=upload return normalized file name on warning
"exists-normalized" instead of filename to be uploaded to.

This enables humans to see which file the current upload conflicts
with.
There is no point in returning the filename the upload should go to
because the client that makes the request is usually aware of this.

Bug: 52699
Change-Id: I898b7f234d43eb1e524952f6de80e401a8c96671
RELEASE-NOTES-1.22
includes/api/ApiUpload.php