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.