Trợ giúp về API MediaWiki
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=suggestarticleaction
(main | collection | suggestarticleaction)
- Mô đun này cần quyền đọc.
- Source: Collection
- License: GPL-2.0-or-later
API module to interact with suggestions
Các tham số:
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.
- Một trong các giá trị: add, ban, remove
- title
Title of a page
- This parameter is required.
Ví dụ:
- Adds a page to the collection and the suggestions
- api.php?action=collection&submodule=suggestarticleaction&suggestaction=add&title=Main_Page [open in sandbox]