MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=trackingcategories (tc)
- This module requires read rights.
- This module can be used as a generator.
- 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.
- 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.)
- Separate values with | or alternative.
- 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
- Default: (empty)
- 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>ctrackingcatname=broken-file-category&prop=info [open in sandbox]