Nápověda k MediaWiki API

Toto je automaticky generovaná dokumentační stránka k MediaWiki API.

Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=trackingcategories (tc)

(main | query | trackingcategories)
  • Tento modul vyžaduje oprávnění ke čtení.
  • Tento modul lze využívat jako generátor.
  • Zdroj: MediaWiki
  • Licence: 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.

Parametry:
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.)

Hodnoty oddělujte pomocí | nebo alternativou.
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__.
Hodnoty (oddělené | nebo alternativou.): hidden, size
Implicitní hodnota: (prázdné)
Příklady:
List tracking categories with information on the number of pages in each.
api.php?action=query&list=trackingcategories&tcprop=size [otevřít v pískovišti]
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 [otevřít v pískovišti]