Meanwhile, this error is absent with any format other than XML.

On Thu, Oct 9, 2014 at 11:58 PM, Nicolas Vervelle <nvervelle@gmail.com> wrote:
Hi,

A user reported problems with my tool WPCleaner since a few hours, but my tool hasn't changed at all in a few weeks.

It seems there's a problem with an API request for list=backlinks.

For example, the request below returns now an internal API error, but it was working correctly before.

Request:
https://fr.wikipedia.org/w/api.php?bltitle=BNF&action=query&blredirect=&list=backlinks&format=xml&bllimit=max

Result:
<?xml version="1.0"?><api servedby="mw1053"><error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiFormatXml::recXmlPrint: (redirlinks, ...) has integer keys without _element value. Use ApiResult::setIndexedTagName()." xml:space="preserve" /></api>

Nico


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api




--
Best regards,
Max Semenik ([[User:MaxSem]])