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=moderation
(main | moderation)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Lähde: Moderation
- Lisenssi: GPL-3.0+
Performs moderation-related action like Approve or Reject.
Parametrit:
Other general parameters are available.
- modaction
Moderation-related action to perform.
- This parameter is required.
- One of the following values: approve, approveall, block, reject, rejectall, show, 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.
esimerkki:
- Approve pending change #123.
- api.php?action=moderation&modaction=approve&modid=123 [avaa hiekkalaatikossa]