https://bugzilla.wikimedia.org/show_bug.cgi?id=47348
Brad Jorsch <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from Brad Jorsch <[email protected]> --- The patrol token cannot be returned from list=recentchanges for a particular recentchanges entry under the following conditions: * $wgUseRCPatrol and $wgUseNPPatrol are both false. * The user does not have the 'patrol' or 'patrolmark' rights. * The RC entry exists but is not for a page creation or a page edit (type "new" or "edit"). * The RC entry is for a page edit but $wgUseRCPatrol is false. The first two, of course, cannot be intermittent. I expect that your intermittent failure is due to the third bullet point; if you include loginfo in rcprop, you'll probably find that "type" is something other than "new" or "edit" when it fails. You should be able to fix your script by using rctype=new|edit (or rctype=new on wikis where $wgUseRCPatrol is false) to filter just the types for which you can get a token. As for the warning message, we should probably change it to something along the lines of "Action 'patrol' is not allowed for the current user for one or more recentchanges entries in this result set" to make the situation more clear. Any suggestions on the exact wording? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
