Справка MediaWiki API

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

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

list=readinglistentries (rle)

(main | query | readinglistentries)
  • Этот модуль внутренний или нестабильный. Его операции могут измениться без предупреждения.
  • Этот модуль требует прав на чтение.
  • Этот модуль может быть использован в качестве генератора.
  • Источник: ReadingLists
  • Лицензия: GPL-2.0-or-later

List the pages of a certain list.

This module has two modes of operation. With the rlelists parameter, it returns the pages in the given list(s). With the rlechangedsince parameter, it returns all list entries from any list of the current user which have been changed since the given date. (This is meant for device sync and, unlike the other modes, includes deleted entries, although not entries of deleted lists.)

Параметры:
rlelists

The list IDs for which to return pages.

Type: list of integers
Разделяйте значения с помощью | или альтернативного разделителя.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
rlechangedsince

Show list entries that have been changed since this timestamp. Must be after 2026-09-17T00:59:01Z.

Тип: временная метка (разрешённые форматы)
rlesort

Property to sort by. name cannot be used together with rlechangedsince. Defaults to updated when rlechangedsince is set, and to name otherwise.

name
Article title. (Project name is ignored. Sorting is by binary value; e.g. any uppercase ASCII character will sort before any lowercase one.)
updated
Last update timestamp.
Одно из следующих значений: name, updated
rledir

Sort direction: ascending (A to Z, oldest to newest) or descending.

Одно из следующих значений: ascending, descending
По умолчанию: ascending
rlelimit

Number of result items to return.

Тип: целое число или max
Значение должно быть между 1 и 100.
По умолчанию: 10
rlecontinue

Когда доступно больше результатов, используйте это для продолжения.

Примеры:
Get the pages from the reading lists with ID 10, 11 and 12.
api.php?action=query&list=readinglistentries&rlelists=10|11|12 [открыть в песочнице]
Get the list entries of the current user which have changed since 2013-01-01T00:00:00Z.
api.php?action=query&list=readinglistentries&rlechangedsince=2013-01-01T00:00:00Z [открыть в песочнице]