https://bugzilla.wikimedia.org/show_bug.cgi?id=62312

            Bug ID: 62312
           Summary: Issue with OAuth on Commons
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: OAuth
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: magnusman...@gmail.com
                CC: aschulz4...@gmail.com, bjor...@wikimedia.org,
                    cste...@wikimedia.org, dga...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to