MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=moderation
(main | moderation)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Moderation
- License: GPL-3.0+
Parameters:
- modaction
Moderation-related action to perform.
- This parameter is required.
- One of the following values: approve, approveall, reject, rejectall, block, unblock
- modid
ID of the pending change.
- This parameter is required.
- Type: integer
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Approve pending change #123.
- api.php?action=moderation&modaction=approve&modid=123 [open in sandbox]