@Yuri, will this new "continue" solve this bug:
https://bugzilla.wikimedia.org/show_bug.cgi?id=24782 ?
On Thu, Mar 14, 2013 at 8:56 AM, Yuri Astrakhan <yuriastrakhan(a)gmail.com>wrote;wrote:
== *Changes* ==
* list=watchlist now returns user id in properly named tag in addition to
"user". In the case of wlprop=user|userid, the "user" will be the
name, not
the id as before.(patch <https://gerrit.wikimedia.org/r/#/c/49390/> by Petr
Onderka)
* meta=allmessages&lang= will now return "aminvalidlang" error in case
"lang" contains invalid characters
(
patch<https://gerrit.wikimedia.org/r/#/c/53362/> by
Anomie)
== *New functionality* ==
* There is now a
new<http://www.mediawiki.org/wiki/API:Query#Continuing_queries>es>,
simplified way to iterate through the query results. The new feature will
make it much less likely to accidentally skip any data, and will greatly
simplify client code. It will be made default in API
2.0<http://www.mediawiki.org/wiki/Requests_for_comment/API_Future>re>, but
for now has to be explicitly enabled with a "*continue=*" parameter. See
sample
code <http://www.mediawiki.org/wiki/API:Query#Continuing_queries> how to
use the new continue. Please consider using it in all new development. (
patch <https://gerrit.wikimedia.org/r/#/c/50930/> by yurik)
== *See also* ==
* API
roadmap<http://www.mediawiki.org/wiki/Requests_for_comment/API_Future>
* API
cleanup<http://www.mediawiki.org/wiki/Requests_for_comment/API_roadmap/N…
*== Important reminder to API users ==*
Please ensure you set the user agent string to contain both the name of
your tool, the framework it uses, and a way to contact you. See User-Agent
policy <http://meta.wikimedia.org/wiki/User-Agent_policy>. API users that
do not follow this policy may be banned at any moment.
Example:* MyCoolTool/1.1 (
http://example.com/MyCoolTool/;
MyCoolTool(a)example.com) BasedOnSuperLib/1.4*
**
--yurik
_______________________________________________
Mediawiki-api-announce mailing list
Mediawiki-api-announce(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
--
Jiang BIAN
This email may be confidential or privileged. If you received this
communication by mistake, please don't forward it to anyone else, please
erase all copies and attachments, and please let me know that it went to
the wrong person. Thanks.