... I think what was being suggested is that I could presently literally
take all the wiki text results combine them and send them as a single
action=parse request. That would be a unique parse request per your
results set and not very catch friendly.
But yes, ideally we can add in the functionality to parse all the
results individually via a single request that would be able to hit the
current revision parser cache. A believe Roan Kattouw is planing on
looking into adding that to the api at some point soon :)
--michael
Roan Kattouw wrote:
Michael Dale schreef:
its just for search results so maybe just the
into paragraph? or maybe
you could request either?
Dian mentioned merging it all as a single request but that would be
pretty resource intensive and have pretty low cache hit rate. I foresee
the use case eventually being fairly high traffic.
Actually, it wouldn't have a low cache hit rate if you're parsing
multiple entire pages at once. Each page would be parsed separately,
which means cached pages are served from cache and the rest is parsed
right then and there. Since we're talking about current revisions, cache
hit rate will actually be pretty high.
Roan Kattouw (Catrope)
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api