Ayuda de la API de MediaWiki
Esta es una página de documentación autogenerada de la API de MediaWiki.
Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
submodule=suggestarticleaction
(main | collection | suggestarticleaction)
- Este módulo requiere permisos de lectura.
- Fuente: Collection
- Licencia: GPL-2.0-or-later
API module to interact with suggestions
Parámetros específicos:
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.
- Este parámetro es obligatorio.
- Uno de los siguientes valores: add, ban, remove
- title
Title of a page
- Este parámetro es obligatorio.
Ejemplo:
- Adds a page to the collection and the suggestions
- api.php?action=collection&submodule=suggestarticleaction&suggestaction=add&title=Main_Page [abrir en la zona de pruebas]