Hi, we are using wikimedia http api for getting pages recent changes [1]. We'd
like to be able to distinguish patrolled and unpatrolled revisions and this
feature is supported according to docs, but we still can't use it because of
access permissions. For example if i making requests like [2] or [3] i am
getting {"code": "permissiondenied", "info": "You need the \"patrol\" or
\"patrolmarks\" right to request the patrolled flag."} error.
This API behaviour looks inconsistent to me, because anyone can see
patrolled/unpatrolled colored markup at wikipedia revision history web pages. I
think patrol right should be checked only at write (ones that mark revisions
patrolled or not) API requests and not for read requests.
Is this behaviour really inconsistent and implemented that way due to technical
restrictions or am i missing something? Can it be changed, so we can get
patrolling information for revisions or maybe there are some workarounds exist?
[1] https://www.mediawiki.org/wiki/API:RecentChanges
[2]
https://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rcprop=title|patrolled&rclimit=3
[3]
https://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rcprop=title&rcshow=patrolled&rclimit=3
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l