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)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Font : CheckUser
- Licéncia : 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.
Paramètres :
Other general parameters are available.
- curequest
Type of CheckUser request:
- userips
- Get IP address of target user.
- edits
- Obsolèt. 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.
- Cal aquest paràmetre.
- One of the following values: actions, ipusers, userips, edits
- cutarget
Username, IP address, or CIDR range to check.
- Cal aquest paràmetre.
- Tipus: usuari, per qualsevol de nom d'usuari, IP, Usuari temporal i Interval d'adreces IP
- cureason
Reason to check.
- Cal aquest paràmetre.
- Default: (empty)
- culimit
Limit of rows.
- Type: integer or max
- The value must be between 1 and 500.
- Per defecte: 500
- cutimecond
Time limit of user data (like "-2 weeks" or "2 weeks ago").
- Per defecte: -2 weeks
- cuxff
Use XFF data instead of IP address.
- cutoken
A "csrf" token retrieved from action=query&meta=tokens
- Cal aquest paràmetre.
Examples:
- 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]