Bantuan API MediaWiki
Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.
Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API
submodule=view-topiclist (vtl)
- Modul ini memerlukan hak membaca.
- Source: Flow
- License: GPL-2.0-or-later
View a list of topics.
- vtloffset-dir
Direction to order the topics.
- One of the following values: fwd, rev
- Default: fwd
- vtlsortby
Sorting option of the topics, either updated (ordered by topic update time), or newest (ordered by topic creation time).
- One of the following values: newest, updated, user
- Default: user
- vtlsavesortby
Save sortby option to user preferences, if set.
- Type: boolean (details)
- 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_MWformat (YYYYMMDDHHMMSS)), to start fetching topics at; used only with updated ordering- vtlinclude-offset
Includes the offset item in the results as well.
- Type: boolean (details)
- vtllimit
Number of topics to fetch.
- Type: integer or max
- The value must be between 0 and 100.
- Default: 10
- vtltoconly
Whether to respond with only the information required for the TOC.
- Type: boolean (details)
- vtlformat
Format to return the content in.
- One of the following values: fixed-html, html, wikitext
- Default: fixed-html