On 9/9/14, 12:10 AM, jim andrews wrote:
> Hi Kristian,
> 
> Thanks for your help. I have removed the callback parameter (and the 
> format=jsonfm) from the below url and have also changed the $.ajax call as 
> you advise. Consequently, I am no longer getting the error I previously was. 
> However, I am getting the below error:

Actually you should pass format=json if you want JSON to be returned. If
no format parameter is specified, the API defaults to "xmlfm", which is
an HTML representation of the XML format. See
<https://www.mediawiki.org/wiki/API:Data_formats#Output> for some more
details.

-- Legoktm

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to