One of my Labs OAuth Consumers ("OAuth Uploader") uses PHP/CURL to talk to the Commons API.
In the browser, this API query works fine:
https://commons.wikimedia.org/w/api.php?action=query&meta=userinfo&format=json
But when I use a POST request with
Array
(
[format] => json [action] => query [meta] => userinfo
)
and OAuth header, I get:
<!doctype html><html><head><title>Internal Server Error</title></head><body><h1>Internal Server Error</h1><p>Set $wgShowExceptionDetails = true; in LocalSettings.php to show detailed debugging information.<br />
</p></body></html>
Maybe my Consumer is doing something wrong, but whatever it is, I should get a more helpful error message. Unless I know what's wrong, I can't fix the Consumer, and the tool remains broken.
Version: 1.23.0
Severity: major