Hi,
 
A few hours ago, the following kind of API requests is producing an API internal error.
 
http://en.wikipedia.org/w/api.php?gbllimit=max&gbltitle=American&prop=info&action=query&generator=backlinks&format=xml
resulting in
<error code="internal_api_error_MWException" info="Exception Caught: Internal error in ApiResult::setElement: Attempting to add element backlinks=500, existing value is 500" xml:space="preserve">
 
If you remove the "gbllimit=max" parameter or replace it with a fixed value (gbllimit=200), it works.
 
Would it be possible to fix this bug ?
 
Thanks
Nicolas