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

prop=categories (cl)

(main | query | categories)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

ही पाने कोणकोणत्या वर्गात आहेत त्याची यादी करा.

Specific parameters:
Other general parameters are available.
clprop

Which additional properties to get for each category:

sortkey
Adds the sortkey (hexadecimal string) and sortkey prefix (human-readable part) for the category.
timestamp
Adds timestamp of when the category was added.
hidden
Tags categories that are hidden with __HIDDENCAT__.
Values (separate with | or alternative): hidden, sortkey, timestamp
clshow

कोणत्या प्रकारचे वर्ग दाखवायचेत.

Values (separate with | or alternative): !hidden, hidden
cllimit

How many categories to return.

Type: integer or max
The value must be between १ and ५००.
Default: 10
clcontinue

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

clcategories

Only list these categories. Useful for checking whether a certain page is in a certain category.

Separate values with | or alternative.
Maximum number of values is ५० (५०० for clients that are allowed higher limits).
cldir

कोणत्या दिशेस यादी करावयाची.

One of the following values: ascending, descending
Default: ascending
उदाहरणे:
अल्बर्ट आईन्स्टाईनहे पान कोणकोणत्या वर्गात आहे त्याची यादी करा.
api.php?action=query&prop=categories&titles=Albert%20Einstein [open in sandbox]
अल्बर्ट आईन्स्टाईनया पानात वापरलेल्या सर्व वर्गांची माहिती द्या.
api.php?action=query&generator=categories&titles=Albert%20Einstein&prop=info [open in sandbox]