Справка MediaWiki API

Это автоматически сгенерированная страница документации MediaWiki API.

Документация и примеры: https://www.mediawiki.org/wiki/API

list=threads (th)

(main | query | threads)
  • Этот модуль требует прав на чтение.
  • Источник: Liquid Threads
  • Лицензия: GPL-2.0-or-later

Show details of LiquidThreads threads.

Параметры:
thstartid

The thread ID to start enumerating from.

Тип: целое число
thendid

The thread ID to stop enumerating at.

Тип: целое число
thdir

В каком порядке перечислять:

newer
Начать с самых старых. Обратите внимание: thstart должно быть раньше thend.
older
Начать с самых новых (по умолчанию). Обратите внимание: thstart должно быть позже thend.
Одно из следующих значений: newer, older
По умолчанию: newer
thshowdeleted

Whether or not to show deleted threads.

Тип: логический (подробнее)
thlimit

The maximum number of threads to list.

Разрешено не более 500 (5000 для ботов).
Тип: целое число или max
По умолчанию: 10
thprop

Which properties to get.

Значения (разделённые с помощью | или альтернативного разделителя): id, subject, page, parent, ancestor, created, modified, author, summaryid, rootid, type, signature, reactions, replies
По умолчанию: id|subject|page|parent|author
thpage

Limit results to threads on these pages.

Разделяйте значения с помощью | или альтернативного разделителя. Максимально разрешённое количество значений — 50 (500 для ботов).
thauthor

Limit results to threads by particular authors.

Разделяйте значения с помощью | или альтернативного разделителя. Максимально разрешённое количество значений — 50 (500 для ботов).
throot

Limit results to threads with the given roots.

Разделяйте значения с помощью | или альтернативного разделителя. Максимально разрешённое количество значений — 50 (500 для ботов).
thsummary

Limit results to threads corresponding to the given summary pages.

Разделяйте значения с помощью | или альтернативного разделителя. Максимально разрешённое количество значений — 50 (500 для ботов).
thid

Get threads with the given IDs.

Разделяйте значения с помощью | или альтернативного разделителя. Максимально разрешённое количество значений — 50 (500 для ботов).
thrender

Whether to include the rendered thread in the results.

Тип: логический (подробнее)
threnderlevel

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

Тип: целое число
По умолчанию: 0
threnderthreadpos

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

Тип: целое число
По умолчанию: 1
threnderthreadcount

When rendering, the number of threads in that level group.

Тип: целое число
По умолчанию: 1
threndermaxthreadcount

When rendering, the maximum number of replies to show before adding a "Показать больше ответов" 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).