Bantuan API MediaWiki

Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.

Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API

list=trackingcategories (tc)

(main | query | trackingcategories)
  • Modul ini memerlukan hak membaca.
  • Modul ini boleh digunakan sebagai penjana.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Enumerate all existing tracking categories defined in Special:TrackingCategories. A tracking category exists if it contains pages or if its category page exists.

Parameter:
Other general parameters are available.
tccontinue

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

tctrackingcatname

Search for all existing tracking category titles that match the provided tracking category name (as defined by "message name" on Special:TrackingCategories.)

Asingkan nilai-nilai dengan "|".
Maximum number of values is 50 (500 for clients that are allowed higher limits).
tcmin

Only return existing tracking categories with at least this many members.

Type: integer
tcmax

Only return existing tracking categories with at most this many members.

Type: integer
tclimit

How many tracking categories to return.

Type: integer or max
The value must be between 1 and 500.
Default: 10
tcprop

Which properties to get:

size
Adds number of pages in the tracking category.
hidden
Tags tracking categories that are hidden with __HIDDENCAT__.
Values (separate with | or alternative): hidden, size
Asal: (kosong)
Contoh-contoh:
List tracking categories with information on the number of pages in each.
api.php?action=query&list=trackingcategories&tcprop=size [open in sandbox]
Retrieve info about the tracking category pages representing the broken-file-category themselves, if they exist
api.php?action=query&generator=trackingcategories&gtctrackingcatname=broken-file-category&prop=info [open in sandbox]