Jump to content

User:KiranBOT/Teahouse notification

From Wikipedia, the free encyclopedia

Task overview

[edit]
  • KiranBOT is responsible for notifying editors when a discussion thread they initiated at Teahouse has been archived.
  • The bot sends a message to the editor that includes:
    1. title of the archived discussion
    2. link to the archived discussion
    3. pre-formatted link to create a follow-up discussion
    4. also included are links to information about automated/bot accounts, and instructions to opt-out of future Teahouse notifications from KiranBOT
  • Example of the delivered message

Technical overview in English

[edit]
  1. Everyday at a fixed time, KiranBOT goes through the history of Teahouse, and looks for an archival edit by Lowercase sigmabot III.
  2. KiranBOT checks for and skips any previously processed archival edits.
    2.1 If it was previously processed, the bot stops processing further.
  3. If that edit was not previously processed, the bot captures the archive page(s) from the edit summary. eg Wikipedia:Teahouse/Questions/Archive 1245, from this edit.
  4. Then KiranBOT goes through page history of Teahouse, and creates a list of the newly created discussions, and their creators.
  5. This list is compared to the discussion titles with the ones present in the archive page(s) (which were mentioned by Lowercase sigmabot III in step 3).
  6. The bot then sends notifications to the matches found from the list, and archive page(s).
KiranBOT will fail to send notifications if
  • a discussion/thread title is renamed, causing the match not to be found (steps 4, and 5).
  • a thread is created manually using source editor, then in rare cases, the bot will fail to identify the creation.
  • someone other than Lowercase sigmabot III archives the discussions.