Jump to content

API:Abuselog

From mediawiki.org

API documentation

[edit]

list=abuselog (afl)

(main | query | abuselog)

Show events that were caught by one of the abuse filters.

Specific parameters:
Other general parameters are available.
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:

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 | or alternative.
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


Errors Codes

[edit]
  • invalidtitle – Bad title ``key''.
  • invalidtitle – Bad title ``title''.
  • invalidtitle – Bad title ``title''.
  • permissiondenied – You don't have permission to view detailed abuse log entries.
  • permissiondenied – You don't have permission to view IP addresses.
  • permissiondenied – You don't have permission to view the abuse log.
  • readapidenied – You need read permission to use this module.