From Meta, a Wikimedia project coordination wiki
Basic and miscellaneous commands
Commands for everybody
Command |
Description |
!arcenciel |
Show the different colours that can be displayed on an IRC Freenode channel |
!help |
Diplays a link to this page |
!test |
Tests if the bot is alive |
Restricted commands
Command |
Description |
!purgesystem |
Purge system messages and restarts the first bot. It may take something like 3 minutes before the bot reboots. |
!restart |
Restarts the bot processes |
Admin-only commands
Command |
Description |
!quit |
Shut the bot processes down |
Monitoring commands
Commands list
Commands for everybody
Command |
Description |
!badword describe $number |
Describes the badword entry $number |
!badword list |
Displays a list of the currently used badwords |
!ignoreadmin list |
Displays the ignore admin list |
!ignoreblocked list |
Displays the ignore blocked list |
!ignorewiki list |
Displays the ignore wiki list |
Restricted commands
Command |
Description |
!badword add $regex |
Add $regex on the badword list |
!badword del $number |
Remove badword $number from the badword list |
!badword set $number $setting $value |
Sets the parameter $setting of the badword $number to $value. These settings are explained below |
!ignoreadmin (add|del) $admin |
Add or remove $admin on the ignore admin list (i.e. the blocks this admin will perform won't be displayed) |
!ignoreblocked (add|del) $user |
Add or remove $user on the ignore blocked list (i.e. the blocks of this user won't be displayed) |
!ignorewiki (add|del) $wiki |
Add or remove $wiki on the ignore wiki list (i.e. the blocks performed on this wiki won't be displayed) |
Badword settings
For the command !badword set $badword $setting $value (restricted to privileged users), there are different options that can be set.
Setting |
Possible values |
By default |
Description |
enabled |
(yes|no) |
no |
Enables / disables the badword |
regex |
type string |
(default regex) |
Changes the current badword regex |
summary |
(type string|none) |
(empty) |
Adds a summary for the badword |
For the settings beginning by check- :
- If the option is set to off, the condition will just be ignored.
- If the option is set to an other value, the condition will be evaluated, and the message will be displayed only if the condition returns TRUE.
They are displayed below, ordered by their execution position :
Setting |
Possible values |
By default |
Description |
check-typeaccount |
(user|IP|range) |
off |
Checks if the blocked user is an IP. |
check-blockedwiki |
wiki1,wiki2,.. |
off |
Checks if the block comes from this project. |
The following options will work only if the user has got a SUL account : |
check-otheraccounts |
type int |
off |
Checks if the user has more than X other accounts on a WMF wiki. |
check-otherblockedaccounts |
type int |
off |
Checks if the user has more than X other blocked accounts on a WMF wiki. |
check-otherunblockedaccounts |
type int |
off |
Checks if the user has more than X other unblocked accounts on a WMF wiki. |
check-localcontribs |
type int |
off |
Checks if the user has less than X contributions locally, on the wiki where he got blocked. |
check-globalcontribs |
type int |
off |
Checks if the user has less than X contributions globally. |
check-accountcreated |
type int |
off |
Checks if the user account was created less than X days ago. |
The following options will work without a SUL account too, but are really ressources consuming : |
check-othercontribs |
type int |
off |
Checks if the user has made a contribution on an other WMF wiki in the last X hours. |
Channel-managing commands
Commands for everybody
Command |
Description |
!admin list |
Displays the bot admin list |
!privileged list |
Displays the bot privileged user list |
Restricted commands
Command |
Description |
!deop |
Removes operator rights in the channel |
!devoice $ircuser |
Removes voice from the user $ircuser |
!op |
Gives operator rights in the channel |
!voice $ircuser |
Gives voice to the user $ircuser |
Admin-only commands
Command |
Description |
!admin (add|del) $cloak |
Add or remove the user cloak $cloak on the bot admin list |
!privileged (add|del) $cloak |
Add or remove the user cloak $cloak on the bot privileged user list |