Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=reportproblem
(main | reportproblem)
- Tento modul vyžaduje oprávnění ke čtení.
- Tento modul vyžaduje oprávnění k zápisu.
- Tento modul přijímá pouze požadavky POST.
- Zdroj: ProblemReports
- Licence: GPL-2.0-or-later
Report a problem with a wiki page.
Parametry:
- 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
- Type: integer
- 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
Token typu „csrf“ získaný pomocí action=query&meta=tokens.
- This parameter is required.
Příklad:
- Report a problem with the page titled "Main Page"
- api.php?action=reportproblem&title=Main_Page [otevřít v pískovišti]