https://bugzilla.wikimedia.org/show_bug.cgi?id=36587
--- Comment #72 from Bawolff (Brian Wolff) <[email protected]> --- > > >Given this, it's hard to say what kind of issue this is (e.g. maybe the > >uploaded file is corrupt, i.e. file was not assembled properly server-side?) > > I wonder if some sort of timeout/race condition happened with the screwy way > we > store data in the session, and maybe the file is uploaded fine, but the > publish > step (i.e. The step moving file from stash to actually on-wiki) never really > happened due to timeout. If that was the case, it may be possible to do a > further API request after the fact to finish the upload. Meh, looks like the individual chunks get listed to, so hard to tell what that means. Also, looks like the thumbnailing infrastructure around stashed upload is totally broken on wmf wikis. Presumably it was forgotten about in the swift migration(?) Not that surprising, since I'm not sure if anyone ---- Because Special:Upload is kind of useless... I made some (very hacky) js that will add some additional links. It adds a (broken) link to a thumbnail. It adds a link to metadata, and it adds a publish link, to take a file out of the stash and on to the wiki. In particularly, the metadata link includes the file size in bytes, which you can use to verify that all the parts of the file made it. If you want to be more paranoid, it also returns an SHA1 sum of the file, so you can be sure its really the right file on the server. If that matches up, try the publish link and see what happens... ---- Anyhow, to sum up, add importScript( 'User:Bawolff/stash.js' ); to [[commons:Special:MyPage/common.js]], and you should have the extra link on [[commons:Special:UploadStash]] which you can use to verify what file is in the stash. -- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
