User:MusikBot/FilterMonitor

From WikiProjectMed
Jump to navigation Jump to search

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 735 — Pattern modified
Last changed at 22:24, 29 April 2024 (UTC)

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

Last changed at 18:31, 28 April 2024 (UTC)

Filter 614 — Pattern modified

Last changed at 03:44, 28 April 2024 (UTC)

Filter 936 — Actions: none

Last changed at 19:58, 27 April 2024 (UTC)

Filter 1014 — Flags: disabled; Pattern modified

Last changed at 19:01, 27 April 2024 (UTC)

Filter 1283 — Actions: disallow,throttle

Last changed at 18:25, 27 April 2024 (UTC)

Filter 891 — Pattern modified

Last changed at 17:40, 27 April 2024 (UTC)

Filter 1132 — Pattern modified

Last changed at 08:16, 26 April 2024 (UTC)

Filter 1129 — Pattern modified

Last changed at 22:24, 25 April 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.