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=gadgets (ga)
- This module requires read rights.
- Source: Gadgets
- License: GPL-2.0-or-later
Returns a list of gadgets used on this wiki.
Parameters:
- gaprop
What gadget information to get:
- id
- Internal gadget ID.
- metadata
- The gadget metadata.
- desc
- Gadget description transformed into HTML (can be slow, use only if really needed).
- Values (separate with | or alternative): desc, id, metadata
- Default: id|metadata
- gacategories
किन श्रेणियों के गैजेट प्राप्त करें
- Separate values with | or alternative.
- Maximum number of values is ५० (५०० for clients that are allowed higher limits).
- gaids
प्राप्त करने के गैजेटों के आई०डी०।
- Separate values with | or alternative.
- Maximum number of values is ५० (५०० for clients that are allowed higher limits).
- gaallowedonly
वर्तमान सदस्य को अनुमति-प्राप्त गैजेटों को सूचीबद्ध करें।
- Type: boolean (details)
- gaenabledonly
वर्तमान सदस्य के लिए सक्रिय गैजेट सूची
- Type: boolean (details)
Examples:
- Get a list of gadgets along with their descriptions
- api.php?action=query&list=gadgets&gaprop=id|desc [open in sandbox]
- Get a list of gadgets with all possible properties
- api.php?action=query&list=gadgets&gaprop=id|metadata|desc [open in sandbox]
- Get a list of gadgets belonging to category "foo"
- api.php?action=query&list=gadgets&gacategories=foo [open in sandbox]
- Get information about gadgets "foo" and "bar"
- api.php?action=query&list=gadgets&gaids=foo|bar&gaprop=id|desc|metadata [open in sandbox]
- वर्तमान में सदस्यों द्वारा सक्षम किये गये उपकरणों की सूची प्राप्त करें
- api.php?action=query&list=gadgets&gaenabledonly [open in sandbox]