Last modified: 2012-12-13 11:18:44 UTC
When calling the wbgetitems module the result should also contain the revision id in the content for every given item.
The revid attribute will be inlined with the item on wbgetitems, i.e. item : { 350: { id : 350, revid : 2000, sitelinks : ... ) }
This seems to be called "lastrevid" in the rest of the API, using this name to be consistent. Can't see any pros and cons in any direction, except for being consistent.
Included as default if props are not redefined, and will then be added together with a few other bits of information. This is basically the same as the ordinary query module is returning. The field "revid" is called "lastrevid" to be consistent with the this module. https://gerrit.wikimedia.org/r/18463 Note that the ordinary id for the item is returned unconditionally as it should be possible to use "props=" to create a lightweight query. It could be argued that lastrevid should also be returned unconditionally.
Verified in Wikidata demo time for sprint 12