When an image deleted before on target wiki imagetransfer.py asks many times: Do you want to ignore? ([y]es, [N]o)
If you write y it will continue aking also it will upload new revetions on image page!
Version: core-(2.0)
Severity: normal
When an image deleted before on target wiki imagetransfer.py asks many times: Do you want to ignore? ([y]es, [N]o)
If you write y it will continue aking also it will upload new revetions on image page!
Version: core-(2.0)
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Duplicate | None | T73400 When an image is deleted on target wiki, At imagetransfer.py (code upload.py) asks many times: Do you want to ignore? ([y]es, [N]o) | |||
Resolved | None | T60907 Site.upload(ignore_warnings=True) will still raise UploadWarnings |
What do you mean with the last sentence? Is it always the same file and it looks like it's stuck in an endless loop but still upload it every time?
It will remean on endless asking loop if you type y it will continue the loop also upload if you type n it will break and stop the loop.
finally the image is uploaded as many as you typed yes :)
It will remain on endless asking loop if you type y it will continue the loop also upload if you type n it will break and stop the loop.
finally the image is uploaded as many as you typed yes :)
Okay this sounds interesting, I've to take a look later, but it sounds like the warning is always present even when you say “ignore warnings”.
gerritadmin wrote:
Change 164052 had a related patch set uploaded by XZise:
[FIX] Support Python 3 uploads and ignore warnings
I don't see a difference, both are happening because the warnings are emitted even though we tell the MediaWiki API it should ignore them (although this isn't necessarily a bug of the MediaWiki API as the upload succeeds).