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=checkuser (cu)
- มอดูลนี้ต้องการสิทธิในการอ่าน
- มอดูลนี้ต้องการสิทธิในการเขียน
- มอดูลนี้ยอมรับเฉพาะคำขอ POST เท่านั้น
- แหล่งที่มา: CheckUser
- สัญญาอนุญาต: GPL-2.0-or-later
Check which IP addresses are used by a given username or which usernames are used by a given IP address.
Specific parameters:
Other general parameters are available.
- curequest
Type of CheckUser request:
- userips
- Get IP address of target user.
- edits
- เลิกใช้แล้ว Get actions performed by target IP address or range.
- actions
- Get actions performed by target IP address or range.
- ipusers
- Get users from target IP address or range.
- This parameter is required.
- ค่าใดค่าหนึ่งต่อไปนี้: actions, ipusers, userips, edits
- cutarget
Username, IP address, or CIDR range to check.
- This parameter is required.
- ชนิด: ผู้ใช้ โดย ชื่อผู้ใช้, ไอพี, ผู้ใช้ชั่วคราว และ ช่วงไอพี
- cureason
Reason to check.
- This parameter is required.
- ค่าเริ่มต้น: (ว่าง)
- culimit
Limit of rows.
- ชนิด: จำนวนเต็มหรือ max
- The value must be between 1 and 500.
- Default: 500
- cutimecond
Time limit of user data (like "-2 weeks" or "2 weeks ago").
- Default: -2 weeks
- cuxff
Use XFF data instead of IP address.
- cutoken
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
ตัวอย่าง:
- Get IP addresses for User:Example
- api.php?action=query&list=checkuser&curequest=userips&cutarget=Jimbo_Wales [เปิดในกระบะทราย]
- Get actions performed by 192.0.2.0/24
- api.php?action=query&list=checkuser&curequest=actions&cutarget=127.0.0.1/16&xff=1&cureason=Some_check [เปิดในกระบะทราย]