User:Essjay/Bots
From Wikipedia, the free encyclopedia
[edit] Current Bots
I currently operate four bots on en.wiki:
- MediationBot (talk • contribs • page moves • block user • block log): Official Mediation Committee bot, does case management and notifications.
- EssjayBot (talk • contribs • page moves • block user • block log): Currently standing in for Sandbot (talk • contribs)
- EssjayBot II (talk • contribs • page moves • block user • block log): Archive bot
- EssjayBot III (talk • contribs • page moves • block user • block log): Archive bot (user talk pages)
[edit] MediationBot
MediationBot (talk • contribs) is an automated Wikipedia bot utilized by the Mediation Committee to perform case management and other tasks as needed. As an official project of the Mediation Committee, MediationBot is only utilized for official Mediation Committee business.
[edit] Notifications
Phase 1.0
MediationBot has the capacity to do mass notifications; this functionality is used primarily for notifying all Committee members of announcements via their talk page. It can also be used for notifying all parties to large cases where necessary. This function is ancillary to the primary case-management tasks.
[edit] Opening cases
Phase 2.0
MediationBot's first task is opening cases on Requests for mediation. At regular intervals, the bot scans all pages listed on the pending case list for {{Accepted case}}. When the template is found, MediationBot does the following:
- Removes the case's listing (cases are transcluded) from Wikipedia:Requests_for_mediation/Pending.
- Changes the category from Category:Mediation Committee pending cases to Category:Mediation Committee current cases.
- Adds an entry to the open tasks list in the "Unassigned" section.
- Notifies all listed parties of the acceptance.
This portion of the code runs at 15 minutes past the hour every four hours: 0:15, 4:15, 8:15, 12:15, 16:15, & 20:15 UTC.
[edit] Pending case listings
Phase 2.5
MediationBot watches Category:Mediation Committee pending cases for any case that isn't listed on Wikipedia:Requests for mediation/Pending; cases created with the inputbox on RfM are automatically added to the category. Due to incorrect listings, which break the other functions of MediationBot, parties are no longer to list cases on the pending page themselves; MediationBot will do all listings automatically.
This phase of the code runs every 15 minutes, at 5, 20, 35, & 50 minutes after the hour, to decrease the load from all the other bots that run at 0 and 30 minutes.
[edit] Committee nomination listings
Phase 2.65
MediationBot watches Category:Mediation Committee Nominations/Pending for any nomination that isn't listed on Wikipedia:Mediation Committee/Current Nominations; nominations created with the inputbox on the Committee page are automatically added to the category. Due to incorrect listings, which break the other functions of MediationBot, parties are no longer to list cases on the pending page themselves; MediationBot will do all listings automatically.
This phase of the code runs at the same time as the Phase 2.5 code.
[edit] Talk page archival
Phase 2.75
MediationBot automatically archives Wikipedia talk:Requests for mediation and Wikipedia talk:Mediation Committee; any section where the last timestamp is older than 7 days is automatically archived. Archiving takes place automatically at 00:15 UTC each day.
[edit] Closing rejected cases
Phase 3.0
In the same manner that MediationBot opens cases on Requests for mediation, it can also close rejected cases. At regular intervals, the bot scans all pages listed on the pending case list for {{Rejected case}}. When the template is found, MediationBot does the following:
- Removes the case's listing (cases are transcluded) from Wikipedia:Requests_for_mediation/Pending.
- Changes the category from Category:Mediation Committee pending cases to Category:Mediation Committee rejected cases.
- Adds an entry to the rejected case list.
- Notifies all listed parties of the rejection.
- Subst:'s the contents of the case page into the current rejected case archive.
As the contents of the case page has been subst:'d into the archive at the time the bot runs, the pages can be deleted in order to keep the subspace of RfM clean. Such pages are generally deleted after seven days, giving the parties ample time to view any comments on the page without the need to check the archives. An administrator (usually the chairman) handles the deletions; MediationBot does not have delete capability.
This portion of the code runs at 15 minutes past the hour every four hours: 0:15, 4:15, 8:15, 12:15, 16:15, & 20:15 UTC.
[edit] Additional tasks
Additional functionality may be added to the bot as determined by the Committee; envisioned future uses include automatic notification to all parties when a case's status changes (assigned/closed/reopened/etc.), automatic closing/archiving of stale cases, and automatic archival/delisting/party notification for rejected cases.
[edit] Cold case closure
Phase 4.0
MediationBot will scan Category:Mediation Committee current cases to determine potential "cold cases." Where a case hasn't had any edit to it within two weeks, it will notify the Chairman and the parties that it believes the case to be inactive, and request a status update via a subst:'d notice. It will also mark the page with {{Wikipedia:Requests for mediation/Potential Cold Case}}, which will include the case in Category:Mediation Committee potential cold cases.
The bot will also scan Category:Mediation Committee potential cold cases, and will archive as stale any case that has been in the category for more than two weeks. It will add {{Wikipedia:Requests for mediation/Closed|16:37, 17 July 2006 (UTC)|as stale}} to the top of the page, and remove it from all categories. The page will then be listed in the current archive.
Any case that is closed and archived as stale will have the parties and the Committee Chair notified of the closure.
Estimated time of arrival: As time permits.
[edit] Credits
The Mediation Committee expresses sincere thanks to Tangotango and Misza13 for their work in bringing MediationBot online.
Tangotango is responsible first and foremost for coding the case management functions to the Committee's specifications. Additionally, Tangotango has assisted in prepping the bot framework, and continues to help with developing new fuctions.
Misza13 is responsible for helping to setup the pywikipedia bot framework and for providing the mass-notification coding.
Additional thanks to Pgk for helping with necessary setup tasks.
[edit] Status
Phases 1.0, 2.0, 2.5, 2.75, and 3.0 are complete; Phase 4.0 is in the development stage, and ideas are being considered for other tasks/phases.
[edit] EssjayBot
Essjaybot is currently acting as a temporary replacement for Sandbot (talk • contribs). Essjay (Talk) 06:08, 21 July 2006 (UTC)
[edit] Cleaning
[edit] Sandboxes within the Wikipedia namespace
- Wikipedia:Sandbox - every 12 hours
- Wikipedia:Tutorial (Editing)/sandbox - weekly
- Wikipedia:Tutorial (Formatting)/sandbox - weekly
- Wikipedia:Tutorial (Wikipedia links)/sandbox - weekly
- Wikipedia:Tutorial (Related site links)/sandbox - weekly
- Wikipedia:Tutorial (External links)/sandbox - weekly
[edit] Sandboxes within the Wikipedia talk namespace
- Wikipedia talk:Sandbox - every 12 hours
- Wikipedia talk:Tutorial (Editing)/sandbox - weekly
- Wikipedia talk:Tutorial (Formatting)/sandbox - weekly
- Wikipedia talk:Tutorial (Wikipedia links)/sandbox - weekly
- Wikipedia talk:Tutorial (Related site links)/sandbox - weekly
- Wikipedia talk:Tutorial (External links)/sandbox - weekly
[edit] EssjayBot II
EssjayBot II is a pywikipedia bot that archives pages based on the last timestamp in the section. It can be set to archive any number of pages either manually or automatically, and to archive any section older than any whole number of days.
EssjayBot II is the brother bot to EssjayBot (talk • contribs) and EssjayBot_III (talk • contribs). EssjayBot II currently archives:
- Wikipedia:Changing username: Any section where the last timestamp is 2 days old.
- Wikipedia:Bureaucrats' noticeboard: Any section where the last timestamp is 7 days old.
- Wikipedia talk:Changing username: Any section where the last timestamp is 7 days old.
- Wikipedia talk:Bureaucrats' noticeboard: Any section where the last timestamp is 7 days old.
- Wikipedia talk:Requests for checkuser: Any section where the last timestamp is 7 days old.
- Wikipedia talk:Requests for arbitration: Any section where the last timestamp is 14 days old.
- Wikipedia:Administrators' noticeboard/Incidents: Any section where the last timestamp is 48 hours old. Runs at 0:20 and 12:20 UTC each day, auto-increments the archive number when the current archive reaches 300KB.
If you're interested in having EssjayBot II archive for you, please contact Essjay. EssjayBot II does not do user talk page archiving; EssjayBot III is approved to handle user talk archiving.
[edit] EssjayBot III
EssjayBot III is a pywikipedia bot that archives pages based on the last timestamp in the section. It can be set to archive any number of pages either manually or automatically, and to archive any section older than any whole number of days.
To decrease server load while providing maximum functionality, the bot runs twice a day at forty-two minutes past the hour: 3:42 UTC and 15:42 UTC
EssjayBot III is a brother-bot to EssjayBot (talk • contribs) and EssjayBot II (talk • contribs). EssjayBot III archives user talk pages, while EssjayBot II archives project pages and talk pages. Users insterested in having EssjayBot III handle archiving should contact Essjay.
[edit] Archive setup
To have EssjayBot III archive your talk page, please fill out the form below and leave a note on Essjay's talk page:
<?xml version="1.0" encoding="utf-8"?> <archivebot> <target> <page>User talk:Example</page> <archive>User talk:Example/Archive$A</archive> <mode>autoincrement</mode> <age>1</age> <counter>1</counter> <maxsize>100</maxsize> </target> </archivebot>
- The archive scheme you use, for example, User talk:Essjay/Archive1 or User talk:Essjay/Archive/1 or whatever.
- The current archive number you're on: 1, 6, 42, whatever.
- The age at which posts should be archived; this bot works by most recent timestamp (not the one at the bottom of the section). Pick an amount of time, in 24 hour increments, after which something shoudl be removed; for example, if you pick 7, anything with no additional comments in 7 days will be archived.
- The size an archive should reach (in KB) before the bot starts a new one. For example, if you specify 100KB, when the bot detects the page has gone over that, it will autoincrement the archive number and post there the next time.
[edit] Current clients
- PocklingtonDan (talk • contribs) — Template