עזרה של MediaWiki API
זהו דף תיעוד של API שנוצר באופן אוטומטי.
תיעוד ודוגמאות: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=problemreportupdate
(main | problemreportupdate)
- יחידה זו דורשת הרשאות קריאה.
- היחידה הזאת דורשת הרשאות כתיבה.
- יחידה זו מקבלת רק בקשות POST.
- מקור: ProblemReports
- רישיון: GPL-2.0-or-later
Update or delete a problem report.
פרמטרים:
- id
ID of the problem report
- הפרמטר הזה נדרש.
- סוג: מספר שלם
- status
New status code for the problem report (10 means "delete the report")
- סוג: מספר שלם
- type
Problem report type
- סוג: מספר שלם
- token
אסימון "csrf" שאוחזר מ־action=query&meta=tokens
- הפרמטר הזה נדרש.
דוגמה:
- Delete report #66
- api.php?action=problemreportupdate&id=66&status=10 [פתיחה בארגז חול]