Wikimate icon indicating copy to clipboard operation
Wikimate copied to clipboard

Handle modern errors response

Open Xymph opened this issue 4 years ago • 0 comments

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.

Xymph avatar Jul 11 '21 14:07 Xymph