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=abuselog (afl)
- This module requires read rights.
- Source: Abuse Filter
- Licence: 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 the given filter IDs. Separate with pipes, prefix with "global-" for global filters.
- Separate values with |.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- afllimit
The maximum amount of entries to list.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- aflprop
Which properties to get.
- Values (separate with | or alternative): action, details, filter, hidden, ids, result, revid, timestamp, title, user
- 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]