https://bugzilla.wikimedia.org/show_bug.cgi?id=69852
Bug ID: 69852 Summary: upload.py: Add an option to automatically abort uploads if the file already exists Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: martineznovo@gmail.com Web browser: --- Mobile Platform: ---
If we are trying to upload a lot of files and some of them already exist, it would be nice to have an option to automatically skip those uploads (because of resuming the batch upload operation, or because of manual upload of some of them)
There's still no option to do a "batch upload", but I handle it with a script that runs a list of pywikibot commands in a batch. And it gets stuck waiting for a user response when it receives a warning, which is annoying.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69852
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 155560 had a related patch set uploaded by Martineznovo: upload.py: Add option to automatically abort upload on warning
https://gerrit.wikimedia.org/r/155560
https://bugzilla.wikimedia.org/show_bug.cgi?id=69852
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=69852
Jesús Martínez Novo (Ciencia Al Poder) martineznovo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|Pywikipedia-bugs@lists.wiki |martineznovo@gmail.com |media.org |
--- Comment #2 from Jesús Martínez Novo (Ciencia Al Poder) martineznovo@gmail.com --- Well, gerrit change 155560 is not exactly for warnings about existing files, but for any warning. This usually would do the trick. It's currently not possible to distinguish between different warnings without changing more things in site.py
pywikipedia-bugs@lists.wikimedia.org