IRC bots

From Wikitech
Jump to navigation Jump to search

An incomplete list of developer-oriented IRC bots related to Wikimedia projects and development. Additions/expansion welcome.

AsimovBot

Docs
 ?!?. Owner is m:User:-jem-
Functions
auto-responding to various triggers. Active in #wikimedia-ai, #wikimania, #wikidata, #wikimedia-commons
E.g.
<awight>  I would not mind seeing [[File:Precisionrecall.svg|thumb|Precision and recall]] on every page that references P-R...
<AsimovBot>  [1] https://meta.wikimedia.org/wiki/File:Precisionrecall.svg

icinga-wm

Docs
Icinga#IRC_notification
Functions
Reports problems in a variety of channels, such as #wikimedia-operations.
E.g.
<icinga-wm>  ACKNOWLEDGEMENT - High lag on wdqs1002 is CRITICAL: CRITICAL: 100.00% of data above the critical threshold [1800.0] Gehel restarting updater to catch up on updates
<icinga-wm>  PROBLEM - Host elastic2004 is DOWN: PING CRITICAL - Packet loss = 100%
<icinga-wm>  RECOVERY - Host elastic2004 is UP: PING OK - Packet loss = 0%, RTA = 0.33 ms

jouncebot

Docs
Tool:Jouncebot
Functions
A reminder bot for Wikimedia production deployments, written in Python. It reads the Deployments calendar and pings people #wikimedia-operations when their deployment window starts
E.g.
<hashar>     jouncebot: next
<jouncebot>     In 97 hour(s) and 23 minute(s): European Mid-day SWAT(Max 8 patches) (https://wikitech.wikimedia.org/wiki/Deployments#deploycal-item-20170508T1300)

or

<jouncebot>     gehel: Dear anthropoid, the time has come. Please deploy Weekly Wikidata query service deployment window (https://wikitech.wikimedia.org/wiki/Deployments#deploycal-item-20160905T1700).

librenms-wmf

Docs
LibreNMS#IRC Alerting
Functions
outputs the alerts and recoveries on the #wikimedia-operations channel
E.g.
<librenms-wmf>  Critical Alert for device cr2-codfw.wikimedia.org - Primary inbound port utilisation over 80%

logmsgbot

Docs
Logmsgbot
Functions
outputs !log messages to IRC
E.g.
<logmsgbot>  !log bsitzmann@tin Started deploy [mobileapps/deploy@2a8e648]: Update mobileapps to c4dc72d
<stashbot>  Logged the message at https://wikitech.wikimedia.org/wiki/Server_Admin_Log
<logmsgbot>  !log bsitzmann@tin Finished deploy [mobileapps/deploy@2a8e648]: Update mobileapps to c4dc72d (duration: 05m 18s)
<stashbot>  Logged the message at https://wikitech.wikimedia.org/wiki/Server_Admin_Log

meetbot

Docs
Functions
Collects meeting notes from IRC channels, primarily #wikimedia-office
E.g.
<DanielK_WMDE_>  #startmeeting ArchCom RFC Meeting
<wm-labs-meetbot`>  Meeting started Wed May 10 21:02:13 2017 UTC and is due to finish in 60 minutes. The chair is DanielK_WMDE_. Information about MeetBot at http://wiki.debian.org/MeetBot.
<wm-labs-meetbot`>  Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.
<wm-labs-meetbot`>  The meeting name has been set to 'archcom_rfc_meeting'
[...]
<DanielK_WMDE_>  #endmeeting
<wm-labs-meetbot`>  Meeting ended Wed May 10 22:00:50 2017 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)
<wm-labs-meetbot`>  Minutes: https://tools.wmflabs.org/meetbot/wikimedia-office/2017/wikimedia-office.2017-05-10-21.02.html
<wm-labs-meetbot`>  Minutes (text): https://tools.wmflabs.org/meetbot/wikimedia-office/2017/wikimedia-office.2017-05-10-21.02.txt
<wm-labs-meetbot`>  Minutes (wiki): https://tools.wmflabs.org/meetbot/wikimedia-office/2017/wikimedia-office.2017-05-10-21.02.wiki
<wm-labs-meetbot`>  Log: https://tools.wmflabs.org/meetbot/wikimedia-office/2017/wikimedia-office.2017-05-10-21.02.log.html

shinken-wm

Docs
 ?!?!?!
Functions
active in #wikimedia-cloud-feed and #wikimedia-releng
E.g.
<shinken-wm>  PROBLEM - Puppet errors on deployment-etcd-01 is CRITICAL: CRITICAL: 22.22% of data above the critical threshold [0.0]
<shinken-wm>  RECOVERY - Puppet errors on deployment-etcd-01 is OK: OK: Less than 1.00% above the threshold [0.0]
<shinken-wm>  PROBLEM - Host deployment-phab02 is DOWN: CRITICAL - Host Unreachable (10.68.19.232)

stashbot

Docs
Tool:Stashbot
Functions
Lives in many channels. An IRC bot that stores data for use by other tools, responds to !log messages, and gives information about Phabricator objects referenced in messages. Data collected by stashbot is stored in an Elasticsearch cluster in Toolforge and consumed by:
  • Bash
  • SAL
  • (an as yet unwritten IRC history search system)
E.g.
<volans>  !log disabled puppet on tegmen and disabled raid_handler temporarily T163998
<stashbot>  Logged the message at https://wikitech.wikimedia.org/wiki/Server_Admin_Log
<stashbot>  T163998: check_hpssacli should report on battery failures and cache disabled - https://phabricator.wikimedia.org/T163998
Notes
replaced the former morebots

wikibugs

Docs
mw:Wikibugs
Functions
Reports phabricator and gerrit changes, in a large number of developer channels. (It merged the now-retired "grrrit-wm" bot functions).
E.g.
<wikibugs>  (PS1) Legoktm: Don't require return/throws/param for doc blocks with @inheritDoc [tools/codesniffer] - https://gerrit.wikimedia.org/r/353623 (https://phabricator.wikimedia.org/T164649)
<wikibugs>  MediaWiki-Codesniffer, Patch-For-Review: Ignore blocks with @inheritDoc - https://phabricator.wikimedia.org/T164649#3259708 (Legoktm) >>! In T164649#3241041, @Anomie wrote: > Also consider whether requiring `/** @inheritDoc */` is even necessary on inherited methods. I read through https://www.phpdoc.or...

wm-bot

Docs
m:Wm-bot
Functions
Has a variety of functions, including opt-in channel logs (stored at https://wm-bot.wmflabs.org/logs/), collecting stats on user activity, and auto-responding to various triggers (See the short-list for the -operations channel, and huge list for -dev channel at http://wm-bot.wmflabs.org/db/systemdata.htm), plus a bunch of functions I haven't examined/used.
E.g.
<Vulpix>  !db revision
<wm-bot>  See http://www.mediawiki.org/wiki/Manual:revision_table

wmf-insecte

Docs
 !?!?!
Functions
Jenkins IRC bot, in #wikimedia-perf #wikimedia-releng #wikimedia-dev
E.g.
<wmf-insecte>     Yippee, build fixed!
<wmf-insecte>     Project selenium-MultimediaViewer » safari,beta,OS X 10.9,BrowserTests build #310: FIXED in 12 min: https://integration.wikimedia.org/ci/job/selenium-MultimediaViewer/BROWSER=safari,MEDIAWIKI_ENVIRONMENT=beta,PLATFORM=OS%20X%2010.9,label=BrowserTests/310/

Prominent editor-oriented bots

CVNBot

Docs
Functions
"IRC bots that list suspicious edits with information such as the editor, edit summary, size change, and diff link."
E.g.
#cvn-sw (small wikis) looks like this (screenshot):
<CVNBot6>  Added: 186.225.241.197 is on global blacklist, added by Sjoerddebruin until 00:15, 14 August 2017 ("Autoblacklist: [[m:NOP|Open proxy]] on meta.wikimedia")
<CVNBot6>  Blacklist [[az:User:Calal99]] edited [[az:User:Calal99/Məqalələrim:İdmançılar və məşqçilər]] (+52) Diff: https://az.wikipedia.org/w/index.php?diff=3940616&oldid=3940615 ""
<CVNBot7>  IP [[sl:User:86.58.35.36]] edited [[sl:Manjvrednostni kompleks]] (+1) Diff: https://sl.wikipedia.org/w/index.php?diff=4857081&oldid=4255471 "Popravil pravopisne napake / Fixed a typo."
<CVNBot7>  User [[oc:User:Sivadon 1949]] Possible gibberish? [[oc:Massugàs]] (+2035) Diff: https://oc.wikipedia.org/w/index.php?diff=2057326&oldid=1778364 "actualizacion de l'administracion, demografia, perimètre del territòri"

helpmebot

Docs
w:en:User:Stwalkerster/Helpmebot
Functions
Lives in channels #wikipedia-en-help (for newcomers seeking assistance) and #wikipedia-en-helpers (the meta channel) - it auto-welcomes newcomers, and responds to some commands
E.g.
<Chrissymad>  !contribs 47.247.11.116
<Helpmebot>  47.247.11.116's list of contributions can be found at http://en.wikipedia.org/w/index.php?title=Special:Contributions/47.247.11.116&limit=max

and sends updates to the -helpers channel about how many users are awaiting a response to their templated {{help me}} request (just by tracking the onwiki category)

E.g.
<Helpmebot>  2 users are requesting help: [[User talk:Chukwumadub]] https://goo.gl/cdnzES , [[User talk:Nawarhalabi]] https://goo.gl/oNb33K (waiting 03:40:00)

snitch / snerk

Docs
https://github.com/mzmcbride/irc-bots
Functions
Reports about on-wiki changes for some prominent pages on Meta-Wiki and Foundation wiki, in #wikimedia and #wikimedia-tech.
E.g.
<snitch>  [[Wikimedia Forum]]; Rezonansowy; /* RfC on enabling two-factor verification for all users */ new section; https://meta.wikimedia.org/w/index.php?diff=16825219&oldid=16821113&rcid=9801926
<snitch>  [[Meta:Babel]]; Syum90; /* Toolbox not appearing */ Not working again; https://meta.wikimedia.org/w/index.php?diff=16753858&oldid=16753720&rcid=9686580
<snitch>  [[Resolutions]]; KFrancis (WMF); /* Passed resolutions 2016 */; https://wikimediafoundation.org/w/index.php?diff=106483&oldid=106186

irc.wikimedia.org

Docs
irc.wikimedia.org
Functions
Provides recent changes feeds on IRC for every Wikimedia wiki. Legacy system - EventStreams now does this job better.
E.g.
19:18 <•rc-pmtpa> [[Special:Log/newusers]] create  * The truth and the whole truth *  New user account
19:18 <•rc-pmtpa> [[Yelena Chernetsova]] M https://en.wikipedia.org/w/index.php?diff=830810835&oldid=826661202 * Mohsen1248 * (+293) /* References */
19:18 <•rc-pmtpa> [[Burger King advertising]]  https://en.wikipedia.org/w/index.php?diff=830810834&oldid=827645067 * Strummz * (+4) 
19:18 <•rc-pmtpa> [[Shu-tian Li]] B https://en.wikipedia.org/w/index.php?diff=830810837&oldid=812906242 * InternetArchiveBot * (+1202) Rescuing 7 sources and tagging 0 as dead. #IABot (v1.6.5) ([[User:Artix Kreiger|Artix Kreiger]])
19:18 <•rc-pmtpa> [[List of law firms in Uganda]]  https://en.wikipedia.org/w/index.php?diff=830810839&oldid=830809849 * Fsmatovu * (+287) /* Ugandan firms */ new inline reference

many more

See m:IRC/Bots

See also