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=checkuserlog (cul)
- This module requires read rights.
- Source: CheckUser
- License: GPL-2.0-or-later
Get entries from the CheckUser log.
Specific parameters:
Other general parameters are available.
- culuser
Username of the CheckUser.
- cultarget
Checked user, IP address, or CIDR range.
- culreason
Reason given for the check.
- cullimit
Limit of rows.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- culdir
In which direction to enumerate:
- newer
- List oldest first. Note: culfrom has to be before culto.
- older
- List newest first (default). Note: culfrom has to be later than culto.
- One of the following values: newer, older
- Default: older
- culfrom
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- culto
The timestamp to end enumerating.
- Type: timestamp (allowed formats)
- culcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
Examples:
- Show checks of User:Example
- api.php?action=query&list=checkuserlog&culuser=Example&cullimit=25 [open in sandbox]
- Show checks of 192.0.2.0/24 after 2011-10-15T23:00:00Z
- api.php?action=query&list=checkuserlog&cultarget=192.0.2.0/24&culfrom=2011-10-15T23:00:00Z [open in sandbox]