Jump to content

User:TweetCiteBot

From Wikipedia, the free encyclopedia
TweetCiteBot
This user is a bot
(talk · contribs)
TweetCiteBot aids in Operation Enduring Encyclopedia.
OperatorTheSandDoctor (t)
Approved?Yes.
Flagged?Yes.
Edit period(s)Periodically
Automatic or manual?Automatic
Programming language(s)Python, (Originally programmed in PHP)
Exclusion compliant?Yes
Emergency shutoff-compliant?Yes

This bot runs periodically, converting bare Tweet references and {{cite web}} references to the appropriate template for Tweets, {{cite tweet}}. The BRFA request can be viewed here.

Errors

If you notice that the bot has made an error in converting a template, please let TheSandDoctor know and either revert it or fix it. TheSandDoctor does occasionally spot check edits (check random edits) that the bot makes in each run to double check its accuracy, but cannot realistically check all the edits due to the speed and number in which they occur. If the bad has broken badly and is incorrectly converting repeatedly, please see the shutdown instructions down below.

How does TSD check edits

TheSandDoctor selects edits at random in order to double check their accuracy. TSD is more likely to check edits that the bot makes in which the change was significant as, during the original trials, the bot did have an issue (since resolved) where the bot blanked sections of pages that somehow got caught in its algorithm. Thankfully, that issue was resolved during the trial period. If it reoccurs again PLEASE let TheSandDoctor know & link the article(s) that it occurred on (or the diff).

Instructions for disabling bot

Administrators (or extended-confirmed editors), please see User:TweetCiteBot/status if you wish to shut down the bot. In the event that the bot runs wild (which it shouldn't) or otherwise needs to be shut down, change the text on the page from "true" to "false" (is case sensitive at the moment, will address that in future update). That will stop the bot and that will do so within 1 edit. Once stopped, it will require a restart of the bot to get it to resume (poke TheSandDoctor for that or send them an email), even if set back to "true".

In the event that you do shut down the bot, please send a message to TheSandDoctor (either through talk page or email) notifying them of this and the reason for shutting the bot down. Thank you!

Bot rename log

  • Bot renamed 27 October 2017 to better reflect its proposed task and to not be confused with Mac application of same name. (diff) --TheSandDoctor (talk) 05:54, 27 October 2017 (UTC)

Timeline

  • Bot trial for first task completed. --TheSandDoctor (talk) 05:45, 11 November 2017 (UTC)
  • Bot task #1 approved (see here). -- 2 December 2017.

Source code

The source code for the bot, which is coded in PHP, can be viewed on GitHub.

As of March 2018, TweetCiteBot has been rewritten to Python (source code is still at some spot). To be clear: the bot was just translated and the code cleaned up, there was no change to its actual task or what it does (aside from archiving Tweets proactively now (minus the tagging as dead part if it can't generate the archive on live tweets). Bot edits with Python version are identified as "-PyEdition" --TheSandDoctor (talk) 06:12, 10 March 2018 (UTC)

Previous task log acknowledgement

  1. Before it was moved to DeprecatedFixerBot, TweetCiteBot performed a 50 edit trial run of the script for the BFRA. Headbomb then requested that the task be transferred to a new bot account, so DeprecatedFixerBot was created and the task transferred.