Aide de l’API de MediaWiki

Ceci est une page d’aide de l’API de MediaWiki générée automatiquement.

Documentation et exemples : https://www.mediawiki.org/wiki/API

action=threadaction

(main | threadaction)
  • Ce module nécessite des droits de lecture.
  • Ce module nécessite des droits d’écriture.
  • Ce module n’accepte que les requêtes POST.
  • Source : Liquid Threads
  • Licence : Voir le lien

Allows actions to be taken on threads and posts in threaded discussions.

Paramètres :
thread

A list (pipe-separated) of thread IDs or titles to act on

Valeurs séparées par | ou autre. Le nombre maximal de valeurs est 50 (500 pour les robots).
talkpage

The talkpage to act on (if applicable)

threadaction

The action to take

Une des valeurs suivantes : markread, markunread, split, merge, reply, newthread, setsubject, setsortkey, edit, addreaction, deletereaction, inlineeditform
token

Un jeton « 1 » récupéré par action=query&meta=tokens

Ce paramètre est obligatoire.
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 post to create

render

If set, on post/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 post. 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
(aucune description)
g-recaptcha-response

Champ du formulaire ReCaptcha.