IRC bots

From Wikitech
Jump to: navigation, search

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

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...

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

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

shinken-wm

Docs
 ?!?!?!
Functions
active in #wikimedia-cloud 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

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/

jouncebot

Docs
Tool:Jouncebot
Functions
"a Python reminder bot for Wikimedia Deployments. It reads the deployments calendar and pokes people on IRC when their window opens."
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).

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

wm-bot

Docs
m:Wm-bot
Functions
Has a variety of functions, including 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

dbbot-wm

Docs
Dbbot-wm
Functions
 !?!?!
Notes
(inactive on IRC? It has high idle times in the 3 channels I see it in.)

pywikibot

Docs
mw:Manual:Pywikibot
Functions
Pywikibot is a very popular "Python library and collection of tools that automate work on MediaWiki sites" that includes some IRC functionality - mw:Manual:Pywikibot/Scripts#IRC_scripts

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

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
Sends onwiki updates for some prominent Metawiki and WikimediaFoundationwiki pages to #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.
(I'm having connection issues to that (un-reproducable by others) so cannot give examples at the moment)

many more

See m:IRC/Bots

See also