MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=threads (th)
- This module requires read rights.
- Source: Liquid Threads
- License: GPL-2.0-or-later
Parameters:
- thstartid
- ⧼apihelp-query+threads-param-startid⧽
- Type: integer
- thendid
- ⧼apihelp-query+threads-param-endid⧽
- Type: integer
- thdir
In which direction to enumerate:
- newer
- List oldest first. Note: thstart has to be before thend.
- older
- List newest first (default). Note: thstart has to be later than thend.
- One of the following values: newer, older
- Default: newer
- thshowdeleted
- ⧼apihelp-query+threads-param-showdeleted⧽
- Type: boolean (details)
- thlimit
- ⧼apihelp-query+threads-param-limit⧽
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- thprop
- ⧼apihelp-query+threads-param-prop⧽
- Values (separate with | or alternative): id, subject, page, parent, ancestor, created, modified, author, summaryid, rootid, type, signature, reactions, replies
- Default: id|subject|page|parent|author
- thpage
- ⧼apihelp-query+threads-param-page⧽
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
- thauthor
- ⧼apihelp-query+threads-param-author⧽
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
- throot
- ⧼apihelp-query+threads-param-root⧽
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
- thsummary
- ⧼apihelp-query+threads-param-summary⧽
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
- thid
- ⧼apihelp-query+threads-param-id⧽
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
- thrender
- ⧼apihelp-query+threads-param-render⧽
- Type: boolean (details)
- threnderlevel
- ⧼apihelp-query+threads-param-renderlevel⧽
- Type: integer
- Default: 0
- threnderthreadpos
- ⧼apihelp-query+threads-param-renderthreadpos⧽
- Type: integer
- Default: 1
- threnderthreadcount
- ⧼apihelp-query+threads-param-renderthreadcount⧽
- Type: integer
- Default: 1
- threndermaxthreadcount
- ⧼apihelp-query+threads-param-rendermaxthreadcount⧽
- threndermaxdepth
- ⧼apihelp-query+threads-param-rendermaxdepth⧽
- threnderstartrepliesat
- ⧼apihelp-query+threads-param-renderstartrepliesat⧽
Examples:
- ⧼apihelp-query+threads-example-1⧽
- api.php?action=query&list=threads&thpage=Talk:Main_Page [open in sandbox]
- ⧼apihelp-query+threads-example-2⧽
- api.php?action=query&list=threads&thid=1|2|3|4&thprop=id|subject|modified [open in sandbox]