MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=abuselog (afl)
- This module requires read rights.
- Source: Abuse Filter
- License: GPL-2.0-or-later
Show events that were caught by one of the abuse filters.
Parameters:
- afllogid
Show an entry with the given log ID.
- Type: integer
- aflstart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- aflend
The timestamp to stop enumerating at.
- Type: timestamp (allowed formats)
- afldir
In which direction to enumerate:
- newer
- List oldest first. Note: aflstart has to be before aflend.
- older
- List newest first (default). Note: aflstart has to be later than aflend.
- One of the following values: newer, older
- Default: older
- afluser
Show only entries done by a given user or IP address.
- afltitle
Show only entries occurring on a given page.
- aflfilter
Show only entries that were caught by a given filter ID.
- Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
- afllimit
The maximum amount of entries to list.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- aflprop
Which properties to get.
- Values (separate with | or alternative): ids, filter, user, title, action, details, result, timestamp, hidden, revid
- Default: ids|user|title|action|result|timestamp|hidden|revid
Examples:
- Show recent log entries
- api.php?action=query&list=abuselog [open in sandbox]
- Show recent log entries for API
- api.php?action=query&list=abuselog&afltitle=API [open in sandbox]