Last modified: 2012-10-15 22:57:59 UTC
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'?
The code in question was added r110344.
Fixed with new version of VE (code replaced).
Mass-moving old VisualEditor tickets to the VE product. Search for this message to mass-delete bugmail.