Last modified: 2014-07-16 10:42:38 UTC
http://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q42&sitefilter=viwiki <error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiFormatXml::recXmlPrint: (sitelinks, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName()." xml:space="preserve" /> /usr/local/apache/common-local/php-1.24wmf7/includes/api/ApiFormatXml.php /usr/local/apache/common-local/php-1.24wmf7/includes/api/ApiMain.php /usr/local/apache/common-local/php-1.24wmf7/api.php
I checked https://www.wikidata.org/wiki/Special:EntityData/Q42.json and can't see a problem there. Note that it doesn't fail without the sitefilter=... option. I had a quick look at the code and couldn't find an obvious problem other than the option missing any test.
Change 137557 had a related patch set uploaded by Thiemo Mättig (WMDE): Fix wbgetentities sitefilter https://gerrit.wikimedia.org/r/137557
Change 137557 merged by jenkins-bot: Fix wbgetentities with sitefilter=... option https://gerrit.wikimedia.org/r/137557