Помощ за МедияУики API
Това е автоматично генерирана страница за документация на МедияУики API.
Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=suggestarticleaction
(main | collection | suggestarticleaction)
- This module requires read rights.
- Source: Collection
- License: GPL-2.0-or-later
API module to interact with suggestions
Parameters:
- 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.
- Една от следните стойности: add, ban, remove
- title
- ⧼apihelp-collection+suggestarticleaction-param-title⧽
- This parameter is required.
Пример:
- Adds a page to the collection and the suggestions
- api.php?action=collection&submodule=suggestarticleaction&suggestaction=add&title=Main_Page [open in sandbox]