WolfgangFahl / Mediawiki-Japi

Client for Mediawiki Api
Apache License 2.0
11 stars 7 forks source link

Server Errror codes are not handled properly #54

Closed WolfgangFahl closed 3 years ago

WolfgangFahl commented 3 years ago

e.g. when an upload of a file which is bigger than the allowed PHP limit (default: 2MB) is tried the server will respond with Status code 500 and INTERNAL_SERVER_ERROR but the Mediawiki-Japi software will only throw an "invalid xml:" and show no xml which is misleading.