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 <[email protected]> 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 <[email protected]> > > 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 <[email protected]> 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 <[email protected]> > > wrote: > > >> > IIRC the token doesn't actually change for every edit. > > >> > -- > > >> > Yuvi Panda T > > >> > http://yuvi.in/blog > > >> > > > >> > _______________________________________________ > > >> > Wikitech-l mailing list > > >> > [email protected] > > >> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > >> > > >> _______________________________________________ > > >> Wikitech-l mailing list > > >> [email protected] > > >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > >> > > > _______________________________________________ > > > Wikitech-l mailing list > > > [email protected] > > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > > _______________________________________________ > > Wikitech-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
