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
action=wikiforum-set-thread-stickiness
(main | wikiforum-set-thread-stickiness)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: WikiForum
- License: 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
Specific parameters:
Other general parameters are available.
- id
ID of the thread
- This parameter is required.
- Type: integer
- stickiness
Action to take, either set to make a thread sticky or remove to remove a thread's sticky status
- This parameter is required.
- One of the following values: remove, set
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Make the thread with the ID #666 sticky
- api.php?action=wikiforum-set-thread-stickiness&id=666&stickiness=set [open in sandbox]