Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle modern errors response #117

Open
Xymph opened this issue Jul 11, 2021 · 0 comments
Open

Handle modern errors response #117

Xymph opened this issue Jul 11, 2021 · 0 comments

Comments

@Xymph
Copy link
Collaborator

Xymph commented Jul 11, 2021

Wikimate currently checks for API 'error' responses, which turn out to be the legacy format. Since MW 1.29 the 'errors' response contains an array of one or more error codes/messages, if the errorformat parameter is set. We should handle this too in some flexible way. Low priority for now, as the default (even in current MW 1.37) is the legacy format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant