راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=readinglistentries (rle)

(main | query | readinglistentries)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • این پودمان نیازمند اختیارات خواندن است.
  • This module can be used as a generator.
  • منبع: 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.)

پارامترها:
Other general parameters are available.
rlelists

The list IDs for which to return pages.

نوع: فهرستی از اعداد صحیح
Separate values with | or alternative.
حداکثر تعداد مقدارها ۵۰ است (۵۰۰ برای متقضایانی که مجوز محدودیت‌های بالاتر را دارند).
rlechangedsince

Show list entries that have been changed since this timestamp. Must be after 2024-05-22T05:45:47Z.

نوع: برچسب زمان (قالب‌های مجاز)
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
زمان آخرین به‌روزرسانی.
یکی از مقدارهای زیر: name، updated
rledir

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

یکی از مقدارهای زیر: ascending، descending
پیش‌فرض: ascending
rlelimit

تعداد آیتم‌های نتایج برای بازگردانی.

نوع: عدد صحیح یا max
The value must be between ۱ and ۱۰۰.
پیش‌فرض: 10
rlecontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

نمونه‌ها:
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 [باز کردن در صفحهٔ تمرین]