Last modified: 2014-03-26 22:41:46 UTC
Given url: http://en.wikipedia.org/w/api.php?action=visualeditor&page=Berlin&paction=parse Return this: <?xml version="1.0"?> <api servedby="mw1193"> <error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiFormatXml::recXmlPrint: (notices, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName()." xml:space="preserve" /> </api> I guess, I make something wrong, but the error message does not really help me to understand what goes wrong.
The action=visualeditor API is purely designed for JSON access; we should inform the user that XML / etc. won't work instead of dying horribly.
Change 119912 had a related patch set uploaded by Jforrester: Block non-JSON API access to VisualEditor, as it won't work https://gerrit.wikimedia.org/r/119912
Change 119912 merged by jenkins-bot: Block non-JSON API access to VisualEditor, as it won't work https://gerrit.wikimedia.org/r/119912