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=gadgetcategories (gc)

(main | query | gadgetcategories)
  • This module requires read rights.
  • Source: Gadgets
  • License: GPL-2.0-or-later

Returns a list of gadget categories.

Specific parameters:
Other general parameters are available.
gcprop

What gadget category information to get:

name
Internal category name.
title
Category title.
members
Number of gadgets in category.
Values (separate with | or alternative): members, name, title
Default: name
gcnames

Names of categories to retrieve.

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
Examples:
Get a list of existing gadget categories
api.php?action=query&list=gadgetcategories [open in sandbox]
Get all information about categories named "foo" and "bar"
api.php?action=query&list=gadgetcategories&gcnames=foo|bar&gcprop=name|title|members [open in sandbox]
Retrieved from "https://tunearch.org/wiki/Special:ApiHelp"

We use cookies (and similar technologies) to personalise content and improve The Traditional Tune Archive website.

With these cookies we collect few and indispensable information about you. With this we adapt our website and communication to your preferences. You can read more about it in our privacy policy.

If you want to manage your cookie preferences, click on Manage preferences. By clicking on Accept all, you agree to the use of all cookies. You can change or withdraw your consent at any time.

Accept all cookiesManage preferences
Something went wrong
Dismiss