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

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

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

submodule=view-topiclist (vtl)

(main | flow | view-topiclist)
  • این پودمان نیازمند اختیارات خواندن است.
  • منبع: Flow
  • مجوز: GPL-2.0-or-later

View a list of topics.

پارامترها:
Other general parameters are available.
vtloffset-dir

Direction to order the topics.

یکی از مقدارهای زیر: fwd، rev
پیش‌فرض: fwd
vtlsortby

Sorting option of the topics, either updated (ordered by topic update time), or newest (ordered by topic creation time).

یکی از مقدارهای زیر: newest، updated، user
پیش‌فرض: user
vtlsavesortby

Save sortby option to user preferences, if set.

نوع: بولی (جزئیات)
vtloffset-id

Offset value (in UUID format) to start fetching topics at; used only with newest ordering

vtloffset

Offset value (as a topic update timestamp, in TS_MW format (YYYYMMDDHHMMSS)), to start fetching topics at; used only with updated ordering

vtlinclude-offset

Includes the offset item in the results as well.

نوع: بولی (جزئیات)
vtllimit

تعداد مبحث‌ها برای گرفتن.

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

Whether to respond with only the information required for the TOC.

نوع: بولی (جزئیات)
vtlformat

Format to return the content in.

یکی از مقدارهای زیر: fixed-html، html، wikitext
پیش‌فرض: fixed-html