https://bugzilla.wikimedia.org/show_bug.cgi?id=71737
Bug ID: 71737 Summary: Result of chunk upload with warning omits offset Product: MediaWiki Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: API Assignee: wikibugs-l@lists.wikimedia.org Reporter: jay...@gmail.com CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com, roan.katt...@gmail.com, s...@reedyboy.net Web browser: --- Mobile Platform: --- If a chunked upload causes a warning on the first chunk (e.g. 'exists': File x already exists), the API result does not include an offset. e.g. when re-uploading https://test.wikipedia.org/w/index.php?title=Special:Log&page=File%3AMP+sounds-pwb-chunked.png the first chunk has the following JSON API result {u'filekey': u'12mybcbvc27k.4hakog.25377.png', u'sessionkey': u'12mybcbvc27k.4hakog.25377.png', u'result': u'Warning', u'warnings': {u'exists': u'MP_sounds-pwb-chunked.png'}} -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l