Pomoc API MediaWiki

To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=readinglistentries (rle)

(main | query | readinglistentries)
  • Ten moduł jest wewnętrzny lub niestabilny. Jego działanie może się zmienić bez uprzedzenia.
  • Ten moduł wymaga praw odczytu.
  • Ten moduł może być użyty jako generator.
  • Źródło: ReadingLists
  • Licencja: 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.)

Parametry:
Other general parameters are available.
rlelists

The list IDs for which to return pages.

Typ: lista liczb całkowitych
Oddziel wartości za pomocą | lub alternatywy.
Maksymalna liczba wartości to 50 (500 dla klientów z podwyższonymi limitami).
rlechangedsince

Show list entries that have been changed since this timestamp. Must be after 2024-04-29T09:06:37Z.

Typ: znacznik czasu (dozwolone formaty)
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.
Jedna z następujących wartości: name, updated
rledir

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

Jedna z następujących wartości: ascending, descending
Domyślnie: ascending
rlelimit

Number of result items to return.

Type: integer or max
Wartość musi znajdować się pomiędzy 1 a 100.
Domyślnie: 10
rlecontinue

Gdy będzie dostępnych więcej wyników, użyj tego do kontynuowania.

Przykłady:
Get the pages from the reading lists with ID 10, 11 and 12.
api.php?action=query&list=readinglistentries&rlelists=10|11|12 [otwórz w brudnopisie]
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 [otwórz w brudnopisie]