API:Categoryinfo

From MediaWiki.org
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
aragonés • ‎العربية • ‎български • ‎dansk • ‎Deutsch • ‎Ελληνικά • ‎English • ‎español • ‎français • ‎Hausa • ‎Հայերեն • ‎italiano • ‎日本語 • ‎română • ‎русский • ‎sicilianu • ‎سنڌي • ‎Türkçe • ‎中文

Gets information about categories

Note
If the category page exists, but the category has no members, a "categoryinfo" field will not be included in the API response.

Parameters[edit]

  • cicontinue: When more results are available, use this to continue.

Example[edit]

Get info about a few categories


Possible errors[edit]

None.




prop=categoryinfo (ci)

(main | query | categoryinfo)

Returns information about the given categories.

Parameter:
cicontinue

When more results are available, use this to continue.

Example:
Get information about Category:Foo and Category:Bar.
api.php?action=query&prop=categoryinfo&titles=Category:Foo|Category:Bar [open in sandbox]