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 1324 (new) — Actions: none; Flags: enabled,public; Pattern modified
Last changed at 23:45, 10 November 2024 (UTC)

Filter 1165 (deleted) — Flags: disabled

Last changed at 13:01, 10 November 2024 (UTC)

Filter 1277 (restored) — Actions: disallow; Flags: enabled

Last changed at 12:59, 10 November 2024 (UTC)

Filter 189 — Flags: private; Pattern modified

Last changed at 03:46, 8 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.