MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=patrol
(main | patrol)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: MediaWiki
- License: GPL-2.0-or-later
Patrol a page or revision.
Specific parameters:
Other general parameters are available.
- rcid
Recentchanges ID to patrol.
- Type: integer
- revid
Revision ID to patrol.
- Type: integer
Change tags to apply to the entry in the patrol log.
- Values (separate with | or alternative): AFCH, AWB, AntiVandal script, Deputy, JWB, Newcomer task, ProveIt edit, RedWarn, STiki, Single use, Ultraviolet, WPCleaner, WikiLoop Battlefield, bot trial, convenient-discussions, editProtectedHelper, fixed lint errors, huggle, invalid-timedtext-edit, large non-free file, massmove, moveToDraft, new user moving page out of userspace, pageswap, possible birth or death date change, pronoun-change, self-published-blog, self-published source, shortdesc helper, talk banner shell conversion, twinkle
- token
A "patrol" token retrieved from action=query&meta=tokens
- This parameter is required.
Examples:
- Patrol a recent change.
- api.php?action=patrol&token=123ABC&rcid=230672766 [open in sandbox]
- Patrol a revision.
- api.php?action=patrol&token=123ABC&revid=230672766 [open in sandbox]