Last modified: 2008-04-16 19:06:16 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 http://en.wikipedia.org/w/api.php?format=json&list=categorymembers&action=query&cmlimit=10&cmtitle=Category:Greece&callback=SarissaAnonymous0, from 22.214.171.124 via knsq24.knams.wikimedia.org (squid/2.6.STABLE18) to ()
Error: ERR_ACCESS_DENIED, errno [No Error] at Wed, 16 Apr 2008 11:27:32 GMT
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.
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.
Good catch on the & Bryan, thanks. Still think this maybe should be moved from the "API" to the "Wikimedia" product.
Already filed as Bug 13763.
Hmmm actually it is INVALID rather than WONTFIX, not?
True in any case; besides being irrelevant to API, changing & to & fixed it for me.
*** This bug has been marked as a duplicate of bug 10733 ***