Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
list=checkuser (cu)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Извор: 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.
Специфични параметри:
Other general parameters are available.
- curequest
Врста Чекјузер захтева:
- userips
- Get IP address of target user.
- edits
- Deprecated. 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.
- One of the following values: actions, ipusers, userips, edits
- cutarget
Username, IP address, or CIDR range to check.
- This parameter is required.
- Тип: корисник, по: корисничко име, IP, Привремени корисник и IP опсег
- cureason
Reason to check.
- Подразумевано: (нема)
- culimit
Limit of rows.
- Type: integer or 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 [open in sandbox]
- 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 [open in sandbox]