미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=globalblocks (bg)
- 이 모듈은 read 권한을 요구합니다.
- 출처: GlobalBlocking
- 라이선스: GPL-2.0-or-later
모든 위키에서 차단된 IP 주소를 나열합니다.
특정 변수:
다른 일반 변수를 사용할 수 있습니다.
- bgstart
나열을 시작할 타임스탬프
- 유형: 타임스탬프 (허용되는 포맷)
- bgend
나열을 끝낼 타임스탬프
- 유형: 타임스탬프 (허용되는 포맷)
- bgdir
In which direction to enumerate:
- 다음 값 중 하나: newer, older 또는 다른 문자열: newer, older
- 기본값: older
- bgids
나열할 차단 ID, 파이프로 분리
- 유형: 정수 목록
- | 또는 대안으로 값을 구분합니다.
- 값의 최대 수는 50(더 높은 제한이 허용된 클라이언트의 경우 500)입니다.
- bgaddresses
- 구식입니다.
검색할 IP 주소, 파이프로 분리
- | 또는 대안으로 값을 구분합니다.
- 값의 최대 수는 50(더 높은 제한이 허용된 클라이언트의 경우 500)입니다.
- bgtargets
Pipe-separated list of usernames, IP addresses, or IP ranges to search for. To search for IP blocks inside a given range, use bgip instead.
- | 또는 대안으로 값을 구분합니다.
- 값의 최대 수는 50(더 높은 제한이 허용된 클라이언트의 경우 500)입니다.
- bgip
Get all blocks applying to this IP address or CIDR range, including range blocks. Cannot be used together with bgaddresses or bgtargets. CIDR ranges broader than /16 are not accepted.
- bglimit
The maximum amount of blocks to list.
- 유형: 정수 또는 max
- 값은 1와 500 사이여야 합니다.
- 기본값: 10
- bgprop
가져올 속성입니다.
- id
- Adds the ID of the global block.
- address
- 구식입니다. Adds the target of the global block. This is deprecated and has been replaced by the 'target' prop.
- target
- Adds the target of the global block.
- by
- Adds the username of the blocking user, along with the wiki where they performed the global block.
- timestamp
- Adds the timestamp of when the global block was given.
- expiry
- Adds the timestamp of when the global block expires.
- reason
- Adds the reason given for the global block.
- range
- Adds the range of IP addresses affected by the global block (not included if the block does not target IP addresses).
- 값 (|로 구분): by, expiry, id, range, reason, target, timestamp, address 또는 다른 문자열: by, expiry, id, range, reason, target, timestamp, address
- 기본값: id|target|by|timestamp|expiry|reason
예시:
- 모든 전역 차단 나열
- api.php?action=query&list=globalblocks [연습장에서 열기]
- List global blocks applying to IP address 192.0.2.18
- api.php?action=query&list=globalblocks&bgip=192.0.2.18 [연습장에서 열기]