Author: neilk
Description:
Something like this query:
http://wiki.ivy.local/w/api.php?action=query&prop=parsetree&titles=Main%20Page&format=json
Returns a sensible data structure. However, when formatted as XML, an error is returned:
Warning: htmlspecialchars() expects parameter 1 to be string, object given in /Users/neilk/Sites/trunk/includes/Sanitizer.php on line 978
I've tried other variants and sometimes I do get reasonable XML back but with empty contents. Is it not possible for the API to return arbitrary PHP data structures? Is there something to be done with 'indexed tags'?
Version: unspecified
Severity: normal