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
action=wikiforum-set-thread-stickiness
(main | wikiforum-set-thread-stickiness)
- Este módulo requiere permisos de lectura.
- Este módulo requiere permisos de escritura.
- Este módulo solo acepta solicitudes POST.
- Fuente: WikiForum
- Licencia: GPL-3.0-or-later
Set the stickiness status of a thread, i.e. make a previously sticky thread a regular thread or turn a regular thread into a sticky thread
Parámetros específicos:
Other general parameters are available.
- id
ID of the thread
- Este parámetro es obligatorio.
- Tipo: entero
- stickiness
Action to take, either set to make a thread sticky or remove to remove a thread's sticky status
- Este parámetro es obligatorio.
- Uno de los siguientes valores: remove, set
- token
A "csrf" token retrieved from action=query&meta=tokens
- Este parámetro es obligatorio.
Ejemplo:
- Make the thread with the ID #666 sticky
- api.php?action=wikiforum-set-thread-stickiness&id=666&stickiness=set [abrir en la zona de pruebas]