User:HostBot

Current status
2020-08-04 Teahouse invites, COVID report, and TopK report should all be up and running every day. If they aren't ping me! J-Mo 20:19, 4 August 2020 (UTC)

HostBot's Role
HostBot automates repetitive tasks that reduce the maintenance necessary to keep the Teahouse humming along. If you are interested in implementing HostBot scripts on another wiki or would like to help improve the code base, please check the resources in the Specs section below and contact J-Mo via talk page or email.

BAG Approvals

 * Bots/Requests_for_approval/HostBot
 * Bots/Requests_for_approval/HostBot_2
 * Bots/Requests_for_approval/HostBot_3
 * Bots/Requests_for_approval/HostBot_4 (+ addendum)
 * Bots/Requests_for_approval/HostBot_5
 * Bots/Requests_for_approval/HostBot_6
 * Bots/Requests_for_approval/HostBot_7
 * Bots/Requests_for_approval/HostBot_8
 * Bots/Requests_for_approval/HostBot_9

Current tasks

 * invites new editors to visit the Teahouse. (More info here)

Dormant tasks

 * invites new editors to try out Training Modules (on indef hold)
 * Social media traffic report: This report is a project of the WMF Research team. It presents information about the articles that are receiving the highest traffic volume for four social media platforms. For more information, see the project page and the about page.

Former tasks

 * updates featured content (recent questions, recent guests, featured hosts) on the Teahouse main page.
 * archives Teahouse guest profiles to WP:Teahouse/Guest_book
 * sorts Teahouse host profiles on Teahouse/Host_landing based on recent participation
 * invites new editors to play The Wikipedia Adventure

Specs
This bot is written in Python 3. The source code and some documentation available on GitHub.

Incidents

 * On April 4 2018 there was an error which resulted in broken subst of invites to a batch of approx. 300 new editors. The invite pointed to the wrong template location, so the subst didn't render correctly. I fixed the error (for most of the affected users) by creating a temp copy of the invite template in the expected location and then sending out duplicate invites to re-render the page correctly. This resulted in most invitees receiving two invites instead of one for the day. The underlying error has been corrected in the code. J-Mo 19:39, 4 April 2018 (UTC)