MediaWiki API 帮助
这是自动生成的MediaWiki API文档页面。
文档和例子:https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=suggestarticleaction
(main | collection | suggestarticleaction)
- 此模块需要读取权限。
- 来源:Collection
- 许可协议:GPL-2.0-or-later
API module to interact with suggestions
具体参数:
其他通用参数可用。
- 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.
- 这个参数是必需的。
- 以下值中的一个:add、ban、remove
- title
頁面的標題
- 这个参数是必需的。
例子:
- Adds a page to the collection and the suggestions
- api.php?action=collection&submodule=suggestarticleaction&suggestaction=add&title=Main_Page [在沙盒中打开]