MediaWiki API 帮助

这是自动生成的MediaWiki API文档页面。

文档和例子:-{R|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 [在沙盒中打开]