Looking at https://www.mediawiki.org/w/api.php, the auto-generated documentation for action=patrol reads:
- action=patrol * Patrol a page or revision
This module requires read rights
This module requires write rights
This module only accepts POST requests
Parameters:
token - Patrol token obtained from list=recentchanges rcid - Recentchanges ID to patrol This parameter is required
The token parameter is required with action=patrol, so it should be marked as such (with the text "This parameter is required").
This same problem (token parameter not being marked as required) may apply to a few other parts of the MediaWiki API's auto-generated documentation. For now, I'm focused on action=patrol.
Version: unspecified
Severity: normal