Помощ за МедияУики API

Това е автоматично генерирана страница за документация на МедияУики API.

Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=trackingcategories (tc)

(main | query | trackingcategories)
  • This module requires read rights.
  • Този модул може да се използва като генератор.
  • 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.

Specific parameters:
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.)

За разделител на стойностите използвайте | или алтернативния разделител.
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__.
Стойности (разделени с | или алтернативния разделител): hidden, size
По подразбиране: (празно)
Примери:
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]