@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@gmail.comwrote:
== *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 (patchhttps://gerrit.wikimedia.org/r/#/c/53362/ by Anomie)
== *New functionality* ==
- There is now a newhttp://www.mediawiki.org/wiki/API:Query#Continuing_queries,
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.0http://www.mediawiki.org/wiki/Requests_for_comment/API_Future, 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 roadmaphttp://www.mediawiki.org/wiki/Requests_for_comment/API_Future
API cleanuphttp://www.mediawiki.org/wiki/Requests_for_comment/API_roadmap/Naming_Cleanup
*== 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@example.com) BasedOnSuperLib/1.4* **
--yurik
Mediawiki-api-announce mailing list Mediawiki-api-announce@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api