MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=threadaction
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
Allows actions to be taken on threads and postsA position from which a terminal operates in an org, where one knows that somebody is at. (FO 2200)
in threaded discussions.
- thread
A list (pipe-separated) of thread IDs or titles to act on
- Separate values with |. Maximum number of values is 50 (500 for bots).
- talkpage
The talkpage to act on (if applicable)
- threadaction
The action to take
- One value: markread, markunread, split, merge, reply, newthread, setsubject, setsortkey, edit, addreaction, deletereaction, inlineeditform
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- subject
The subject to set for the new or split thread
- reason
If applicable, the reason/summary for the action
- newparent
If merging a thread, the ID or title for its new parent
- text
The text of the postA position from which a terminal operates in an org, where one knows that somebody is at. (FO 2200)
to create
- render
If set, on postA position from which a terminal operates in an org, where one knows that somebody is at. (FO 2200)
/reply methods, the top-level thread after the change will be rendered and returned in the result.
- bump
If set, overrides default behaviour as to whether or not to
- sortkey
Specifies the timestamp to which to set a thread's sort key. Must be in the form YYYYMMddhhmmss, a unix timestamp or 'now'.
- signature
Specifies the signature to use for that postA position from which a terminal operates in an org, where one knows that somebody is at. (FO 2200)
. Can be NULL to specify the default signature
- type
Specifies the type of reaction to add
- value
Specifies the value associated with the reaction to add
- method
For getting inline edit forms, the method to get a form for
- operand
- (no description)
- captchaword
Answer to the CAPTCHA
- captchaid
CAPTCHA ID from previous request
- Edit a page.
- api.php?action=edit&title=Test&summary=test%20summary&text=article%20content&basetimestamp=2007-08-24T12:34:54Z&token=123ABC
- Prepend __NOTOC__ to a page.
- api.php?action=edit&title=Test&summary=NOTOC&minor=&prependtext=__NOTOC__%0A&basetimestamp=2007-08-24T12:34:54Z&token=123ABC
- Undo revisions 13579 through 13585 with autosummary.
- api.php?action=edit&title=Test&undo=13585&undoafter=13579&basetimestamp=2007-08-24T12:34:54Z&token=123ABC