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
list=threads (th)
- This module requires read rights.
- Source: Liquid Threads
- License: GPL-2.0-or-later
Show details of LiquidThreads threads.
- thstartid
The thread ID to start enumerating from.
- Type: integer
- thendid
The thread ID to stop enumerating at.
- 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
Whether or not to show deleted threads.
- Type: boolean (details)
- thlimit
The maximum number of threads to list.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- thprop
Which properties to get.
- Values (separate with | or alternative): ancestor, author, created, id, modified, page, parent, reactions, replies, rootid, signature, subject, summaryid, type
- Default: id|subject|page|parent|author
- thpage
Limit results to threads on these pages.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- thauthor
Limit results to threads by particular authors.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- throot
Limit results to threads with the given roots.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- thsummary
Limit results to threads corresponding to the given summary pages.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- thid
Get threads with the given IDs.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- thrender
Whether to include the rendered thread in the results.
- Type: boolean (details)
- threnderlevel
When rendering, the level at which to start (for the sake of depth limits, etc.).
- Type: integer
- Default: 0
- threnderthreadpos
When rendering, the position of the thread in the group of threads being rendered at that level (affects display somewhat).
- Type: integer
- Default: 1
- threnderthreadcount
When rendering, the number of threads in that level group.
- Type: integer
- Default: 1
- threndermaxthreadcount
When rendering, the maximum number of replies to show before adding a "Näytä lisää vastauksia" 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).
- List threads on Talk:Main Page
- api.php?action=query&list=threads&thpage=Talk:Main_Page [open in sandbox]
- List threads with IDs 1, 2, 3, and 4
- api.php?action=query&list=threads&thid=1|2|3|4&thprop=id|subject|modified [open in sandbox]