Jump to content

User:MusikBot/FilterMonitor

From Wikipedia, the free encyclopedia

FilterMonitor

Reports functional changes of edit filters to the watchable page User:MusikBot/FilterMonitor/Recent changes. The template {{recent filter changes}} formats this information and can be transcluded where desired.

checkY Enabled

To disable, set /Run to anything other than true (link)

Errors are logged at /Error log


Usage

{{recent filter changes}} produces:

Filter 1035 — Pattern modified
Last changed at 06:54, 24 November 2024 (UTC)

Filter 945 — Actions: throttle; Flags: disabled

Last changed at 20:37, 23 November 2024 (UTC)

Filter 1170 — Pattern modified

Last changed at 01:00, 23 November 2024 (UTC)

Filter 1326 (new) — Actions: showcaptcha,throttle; Flags: enabled,private; Pattern modified

Last changed at 19:30, 22 November 2024 (UTC)

Filter 1178 — Actions: warn

Last changed at 18:52, 20 November 2024 (UTC)

Filter 225 — Pattern modified

Last changed at 16:50, 20 November 2024 (UTC)

Filter 1325 (new) — Actions: none; Flags: disabled,public; Pattern modified

Last changed at 02:04, 20 November 2024 (UTC)

This is a template that formats the watchable page User:MusikBot/FilterMonitor/Recent changes. The template itself is not modified by the bot and therefore watching it is probably not desired. The "watch" link at the top-left will add the correct page to your watchlist.

Configuration

The data included in the report is specified by User:MusikBot/FilterMonitor/config. All values are booleans (true or false). Configuration data is in the form of JSON.

IMPORTANT:

  • Do not attempt to remove or add new parameters.
  • Keys should always be strings, e.g. use "actions": true instead of actions: true
Available parameters
Parameter Description
actions The actions the filter takes, such as warn or disallow
deleted Whether or not the filter is deleted
description The publicly viewable description, or name, of the filter
enabled Whether or not the filter is enabled
lasteditor The editor who last modified the filter
lastedittime The last time the filter was modified
private Whether or not to report changes to private filters. The pattern of the filter is not reported[1]

Notes

  1. ^ Although Special:AbuseFilter/history does not make mention of changes to private filters, information regarding flags and actions are technically public via the API. The "pattern", or the regex, is not public and is not reported.