https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
Web browser: --- Bug ID: 58907 Summary: Site.upload(ignore_warnings=True) will still raise UploadWarnings Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
When uploading a file, I have ignore_warnings=True. This value is passed to the API, so the upload completes successfully. However, pywikibot sees the 'warnings' dict and then raises an UploadWarning exception, even though I've suppressed the warnings.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |71400
https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 164052 had a related patch set uploaded by John Vandenberg: [FIX] Ignore warnings on upload
https://gerrit.wikimedia.org/r/164052
https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |reza.energy@gmail.com
--- Comment #2 from Fabian CommodoreFabianus@gmx.de --- *** Bug 71400 has been marked as a duplicate of this bug. ***
https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com
--- Comment #3 from Fabian CommodoreFabianus@gmx.de --- *** Bug 71727 has been marked as a duplicate of this bug. ***
https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
--- Comment #4 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 164052 merged by jenkins-bot: [FIX] Ignore warnings on upload
https://gerrit.wikimedia.org/r/164052
https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
Mpaa mpaa.wiki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED CC| |mpaa.wiki@gmail.com Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org