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=problemreportupdate
(main | problemreportupdate)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: ProblemReports
- License: GPL-2.0-or-later
Update or delete a problem report.
Parameters:
- id
ID of the problem report
- This parameter is required.
- Type: integer
- status
New status code for the problem report (10 means "delete the report")
- Type: integer
- type
Problem report type
- Type: integer
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Delete report #66
- api.php?action=problemreportupdate&id=66&status=10 [open in sandbox]