2010/7/28 Nicolas Vervelle <nverve...@gmail.com>:
> 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 ?
>
This was an embarrassing fail on my part: I realized I'd broken
limit=max in some way just before going on vacation last week, but I
didn't realize it was this bad (I thought it would just use too high
maxima in certain situations) and I also didn't realize this code was
gonna be deployed within a week of writing it, so I decided against
texting a fellow developer from the airport.

Tim noticed and fixed this bug, and deployed the fix. The URL above is
now working again.

Sorry for all that,

Roan Kattouw (Catrope)

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

Reply via email to