Last modified: 2008-04-16 19:06:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13762 - HTTP response format does not obey "format" param in some error cases
HTTP response format does not obey "format" param in some error cases
Status: RESOLVED DUPLICATE of bug 10733
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
Depends on:
  Show dependency treegraph
Reported: 2008-04-16 12:09 UTC by Manos Batsis
Modified: 2008-04-16 19:06 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

The HTML error page I got instead of JSON (90.78 KB, image/png)
2008-04-16 12:09 UTC, Manos Batsis

Description Manos Batsis 2008-04-16 12:09:58 UTC
Created attachment 4822 [details]
The HTML error page I got instead of JSON

Since i asked for JSON, thats what i should have got instead of the attached HTML page :-) 

I suppose the API can only cover this up to somewhere and after that it's an infrastructure thing, so this may belong to the "Wikimedia" product. Anyway, the error at the bottom of the page (screenshot also attached ):

Request: GET, from via (squid/2.6.STABLE18) to ()
Error: ERR_ACCESS_DENIED, errno [No Error] at Wed, 16 Apr 2008 11:27:32 GMT
Comment 1 Roan Kattouw 2008-04-16 12:14:54 UTC
Hmm. It appears that this error message is output somewhere in WebStart.php or in a file included by it. That should be changed so that index.php and api.php can format the error each their own way.
Comment 2 Bryan Tong Minh 2008-04-16 12:16:55 UTC
WONTFIX, this error is generated by the squids and not by the API. On the other hand, the fact that & gives a ERR_ACCESS_DENIED is something that is very strange. 
Comment 3 Manos Batsis 2008-04-16 12:39:43 UTC
Good catch on the & Bryan, thanks. Still think this maybe should be moved from the "API" to the "Wikimedia" product. 
Comment 4 Bryan Tong Minh 2008-04-16 12:45:32 UTC
Already filed as Bug 13763.

Hmmm actually it is INVALID rather than WONTFIX, not?
Comment 5 Manos Batsis 2008-04-16 12:49:16 UTC
True in any case; besides being irrelevant to API, changing & to & fixed it for me. 
Comment 6 Brion Vibber 2008-04-16 19:06:16 UTC

*** This bug has been marked as a duplicate of bug 10733 ***

Note You need to log in before you can comment on or make changes to this bug.