Помощ за МедияУики API
Това е автоматично генерирана страница за документация на МедияУики API.
Документация и примери: 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
Маркер „csrf“, получен от action=query&meta=tokens
- This parameter is required.
Пример:
- Delete report #66
- api.php?action=problemreportupdate&id=66&status=10 [open in sandbox]