Indeed, I've patched the patrol API to support both. Also the patrol token will never change during a session (if it would, other things, like MediaWiki (core) JavaScript would almost certainly break).
Cheers,
Marius
On Fri, 2013-11-29 at 17:12 +0100, addshorewiki wrote:
action=patrol has both a revid and a rcid parameter :)
On 29 November 2013 14:48, Petr Bena benapetr@gmail.com wrote:
I am wondering how to convert edit ID (RevID) to RCID? Because that's the other part of patrol request.
On Fri, Nov 29, 2013 at 2:22 PM, addshorewiki addshorewiki@gmail.com wrote:
I think it is a case of,
- retrieve token
- patrol change
- patrol change
- patrol change
- patrol change
- get token error
- retrieve new token
On 29 November 2013 14:20, Petr Bena benapetr@gmail.com wrote:
aha so
- I first retrieve the token
- I use the same token for every patrol
OR
- retrieve token
- patrol change
- retrieve token
- patrol change
...
On Fri, Nov 29, 2013 at 2:14 PM, Yuvi Panda yuvipanda@gmail.com
wrote:
IIRC the token doesn't actually change for every edit.
Yuvi Panda T http://yuvi.in/blog
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l