MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=gadgets (ga)
- This module requires read rights.
يعطي قائمة بالإضافات المستخدمة في هذا الويكي.
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 |): id، metadata، desc
- Default: id|metadata
- gacategories
Gadgets from what categories to retrieve.
- Separate values with |. Maximum number of values is ٥٠ (٥٠٠ for bots).
- gaids
IDs of gadgets to retrieve.
- Separate values with |. Maximum number of values is ٥٠ (٥٠٠ for bots).
- gaallowedonly
اسرد فقط الإضافات المسموحة للمستخدم الحالي.
- gaenabledonly
اسرد فقط الإضافات المفعَّلة من قبل المستخدم الحالي.
Examples:
- اعط قائمة بالإضافات مع وصفها.
- api.php?action=query&list=gadgets&gaprop=id|desc
- اعط قائمة بالإضافات مع كامل خصائصها الممكنة
- api.php?action=query&list=gadgets&gaprop=id|metadata|desc
- Get a list of gadgets belonging to category "foo"
- api.php?action=query&list=gadgets&gacategories=foo
- Get information about gadgets "foo" and "bar"
- api.php?action=query&list=gadgets&gaids=foo|bar&gaprop=id|desc|metadata
- أعط قائمة الإضافات المفعَّلة من قبل المستخدم الحالي
- api.php?action=query&list=gadgets&gaenabledonly