On 15/12/12 11:37, Yuri Astrakhan wrote:Hi Yuri!
> Hi everyone, there seem to have been many great changes in the API,
> so I decided to take a look at improving my old bots a bit, together
> with the rest of the pywiki framework. While looking, a few thoughts
> and questions have occured that I hope someone could comment on.
It's nice to see you.
> *Proposal:*
> Query() method from above should be able to take ALL continue values and+1
> append ALL of them to the next query, without knowing anything about
> them, and without removing or changing any of the original request
> parameters. Query() will do this until server returns a data block with
> no more <query-continue> section.
I'm not sure what's the case you mention of an incomplete page, can you
provide an example?
_______________________________________________
> Also, because the "page" objects might be incomplete between different
> data blocks, the user might need to know when a complete "page" object
> is returned. API should probably introduce an "incomplete" attribute on
> the page to indicate that the client should merge it with the page from
> the following data blocks with the same ID until there is no more
> "incomplete" flag. Page revision number could be used on the client to
> see if the page has been changed between calls:
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api