You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you call wiki.upload() with an existing filename, MediaWiki returns a warning and does not update the file. Since mwclient swallows these warnings, I just spent a lot of time debugging my program before I figured out what was going on. These warnings should probably be raised as errors instead of ignored.
The text was updated successfully, but these errors were encountered:
Raises an error when ignore=False and the MediaWiki response contains
the `upload.warnings.exists` key. Previously, this warning was logged,
but the call to `Site.upload` succeeded. This could be easily missed by
users, especially when they haven't configured the log level.
Raises an error when ignore=False and the MediaWiki response contains
the `upload.warnings.exists` key. Previously, this warning was logged,
but the call to `Site.upload` succeeded. This could be easily missed by
users, especially when they haven't configured the log level.
If you call
wiki.upload()
with an existing filename, MediaWiki returns a warning and does not update the file. Since mwclient swallows these warnings, I just spent a lot of time debugging my program before I figured out what was going on. These warnings should probably be raised as errors instead of ignored.The text was updated successfully, but these errors were encountered: