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
submodule=suggestarticleaction
(main | collection | suggestarticleaction)
- Tento modul vyžaduje oprávnění ke čtení.
- Zdroj: Collection
- Licence: GPL-2.0-or-later
API module to interact with suggestions
Parametry:
Other general parameters are available.
- suggestaction
One of 'add', 'remove', or 'ban'. 'add' adds a page to the collection and suggestions and unbans it. 'remove' removes an added page and bans it. 'ban' bans a page from suggestions.
- This parameter is required.
- Jedna z následujících hodnot: add, ban, remove
- title
Title of a page
- This parameter is required.
Příklad:
- Adds a page to the collection and the suggestions
- api.php?action=collection&submodule=suggestarticleaction&suggestaction=add&title=Main_Page [otevřít v pískovišti]