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

list=threads (th)

(main | query | threads)
  • Ce module nécessite des droits de lecture.
  • Source : Liquid Threads
  • Licence : Voir le lien

Show details of LiquidThreads threads.

Paramètres :
thstartid

The thread id to start enumerating from

Type : entier
thendid

The thread id to stop enumerating at

Type : entier
thdir

The direction in which to enumerate

Une des valeurs suivantes : newer, older
Par défaut : newer
thshowdeleted

Whether or not to show deleted threads

Type : booléen (détails)
thlimit

The maximum number of threads to list

Pas plus de 500 autorisé (5 000 pour les robots).
Type : entier ou max
Par défaut : 10
thprop

Which properties to get

Valeurs (séparées par | ou autre) : id, subject, page, parent, ancestor, created, modified, author, summaryid, rootid, type, reactions
Par défaut : id|subject|page|parent|author
thpage

Limit results to threads on a particular page(s)

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

Limit results to threads by a particular author(s)

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

Limit results to threads with the given root(s)

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

Limit results to threads corresponding to the given summary page(s)

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

Get threads with the given ID(s)

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

Whether or not to include the rendered thread in the results

Type : booléen (détails)
threnderlevel

When rendering, the level at which to start (for the sake of depth limits, etc)

Type : entier
Par défaut : 0
threnderthreadpos

When rendering, the position of the thread in the group of threads being rendered at that level (affects display somewhat)

Type : entier
Par défaut : 1
threnderthreadcount

When rendering, the number of threads in that level group

Type : entier
Par défaut : 1
threndermaxthreadcount

When rendering, the maximum number of replies to show before adding a "Show more replies" link

threndermaxdepth

When rendering, the maximum depth of replies to show before showing a "Show X replies" link instead of replies

threnderstartrepliesat

When rendering, the point at which to start showing replies (used internally to load extra replies)