MediaWiki API help
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)
- มอดูลนี้ต้องการสิทธิในการอ่าน
- แหล่งที่มา: Collection
- สัญญาอนุญาต: GPL-2.0-or-later
API module to interact with suggestions
Specific parameters:
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.
- ค่าใดค่าหนึ่งต่อไปนี้: add, ban, remove
- title
Title of a page
- This parameter is required.
ตัวอย่าง:
- Adds a page to the collection and the suggestions
- api.php?action=collection&submodule=suggestarticleaction&suggestaction=add&title=Main_Page [เปิดในกระบะทราย]