SULWatcher help page (original) (raw)

SULWatcher notifies #cvn-unifications of account unifications across Wikimedia Foundation public wikis.

You need to be voiced in IRC to be able to use these commands. Note that the commands start with the bot's nickname, whatever it is, plus a colon. Normally the bot runs using two nicks (SULWatcher and WatcherSUL) and issuing a command to either one has the same effect. SULWatcher: is used for these examples.

Command

Description

Example

SULWatcher: test

Test if the bot is alive

SULWatcher: test

SULWatcher: test [string] regex [regex]

Test the regex against the string

SULWatcher: test grawp regex \bpoop\b

SULWatcher: find regex [regex]

Find information on a given regex

SULWatcher: find regex \bpoop\b

SULWatcher: find match [string]

Find the regex which matches the provided string

SULWatcher: find match \bpoop\b

SULWatcher: find adder [cloak]

Find the regexes attributed to a given cloak

SULWatcher: find adder wikimedia/mikelifeguard

SULWatcher: find number [#]

Find information on a given entry

SULWatcher: find number 3

SULWatcher: add reason [#] [reason]

Add a reason for a certain entry if it is attributed to you

SULWatcher: add reason 1 suspicious - matches pattern vandalism

SULWatcher: add reason [#] ! [reason]

Re-attribute the entry to you with a given reason

SULWatcher: add reason 1 ! I want to take credit for someone else's work

SULWatcher: (add|remove|list) badword [regex]

Add/remove/list regexes to match against unifications

SULWatcher: add badword \bpoop\b
SULWatcher: list badword

SULWatcher: (add|remove|list) whitelist [username]

Add/remove/list users who are whitelisted

SULWatcher: add whitelist Mike.lifeguard
SULWatcher: list whitelist

SULWatcher: edit [#] enable

Re-enable an existing regex

SULWatcher: edit 2 enable

SULWatcher: edit [#] (regex|reason) [whatever]

Change the regex/reason for an entry, if it is attributed to you

SULWatcher: edit 2 regex \bpoop\b

SULWatcher: edit [#] (regex|reason) ! [whatever]

Change the regex/reason for an entry, re-attributing it to you

SULWatcher: edit 2 reason ! Added word boundaries for fewer false positives

SULWatcher: edit [#] case (true|false)

Make an entry either case sensitive or insensitive

SULWatcher: edit 2 case true

For list commands, don't provide a (regex|cloak|nick|username).

The following commands are restricted to opped users.

Restricted command

Description

Example

SULWatcher: restart

Restart the bots

SULWatcher: restart

SULWatcher: restart rc

Restart the RC reader

SULWatcher: restart rc

SULWatcher: die

Kill all the bots

SULWatcher: die*