MediaWiki API 說明

此頁為自動產生的 MediaWiki API 說明文件頁面。

說明文件與範例:https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=reportproblem

main | reportproblem
  • 此模組需要讀取權限。
  • 此模組需要寫入權限。
  • 此模組僅接受 POST 請求。
  • 來源:ProblemReports
  • 授權條款:GPL-2.0-or-later

Report a problem with a wiki page.

參數:
pr_title

Title of the page which has a problem

pr_cat

Numeric code (which is treated as a string for...reasons) representing the problem category

pr_ns

Namespace of the page in question

類型:整數
pr_summary

Summary of what is wrong with the page

pr_reporter

Name or user name of the person reporting a problem with the page

pr_email

Email address of the person reporting a problem with the page (for contacting anonymous users about their report, not shown publicly anywhere)

pr_browser

The user's browser's full User-Agent string

token

action=query&meta=tokens 接收的「csrf」權杖。

此為必填參數。
範例:
Report a problem with the page titled "Main Page"
api.php?action=reportproblem&title=Main_Page [在沙盒中開啟]