2011/2/21 miguel <oskar.wild(a)gmail.com>om>:
Do you know that kind of problems with the API
? Wikipedia API overload ??
Im trying to find a solution for weeks now and no method is 100% reliable!
results of parsing the latest version of a page are cached in the
parser cache. If you call action=parse on a page and the result is
found in the cache, the response will be very fast. If it's not in
cache, however, the API will have to parse the page there and then,
which takes some time for larger pages. On your side, CURL gives up
after 7 seconds (quite a low timeout for this purpose, IMO), but on
our side, the API continues crunching and at some point finishes
parsing and stores the result in cache. Then when you retry the
request, you'll be served that cached response almost instantaneously.
In short: parse results are usually served from cache (fast), but can
be slow to generate when not in cache. In the latter case, be patient
Roan Kattouw (Catrope)