Page MenuHomePhabricator

Recentchanges API fails when rcprop=patrolled and a callback are used
Closed, InvalidPublic

Description

When using the API to get recentchanges including the "patrolled" property and including a "callback" parameter (format=json), the API returns an error that the user does not have the "patrol" flag, even if they do. It works correctly without the callback parameter.


Version: 1.13.x
Severity: normal
URL: http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rcprop=patrolled&format=jsonfm&callback=Foo

Details

Reference
bz13351

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:07 PM
bzimport set Reference to bz13351.
bzimport added a subscriber: Unknown Object (MLST).

This is not a bug. When using callbacks, no user-specific data is supplied. That means no tokens, and no actions that you need special rights for.