미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
list=gadgets (ga)
- 이 모듈은 read 권한을 요구합니다.
- 출처: Gadgets
- 라이선스: GPL-2.0+
Returns a list of gadgets used on this wiki.
변수:
- 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).
- 값 ("|"로 구분): id, metadata, desc
- 기본값: id|metadata
- gacategories
Gadgets from what categories to retrieve.
- Separate values with |. Maximum number of values is 50 (500 for bots).
- gaids
IDs of gadgets to retrieve.
- Separate values with |. Maximum number of values is 50 (500 for bots).
- gaallowedonly
List only gadgets allowed to current user.
- 유형: 부울 (자세한 정보)
- gaenabledonly
List only gadgets enabled by current user.
- 유형: 부울 (자세한 정보)
예시:
- 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]
- Get a list of gadgets enabled by current user
- api.php?action=query&list=gadgets&gaenabledonly [open in sandbox]