Wikipedia:Bots/Requests for approval/Theo's Little Bot 7
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Approved.
Operator: Theopolisme (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:19, Wednesday April 17, 2013 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python + mwclient
Source code available: on github
Function overview: Automatically adds and removes {{TAFI}} from articles selected as one of Today's articles for improvement; additionally adds {{Former TAFI}} to talk pages of former TAFIs.
Links to relevant discussions (where appropriate): Wikipedia_talk:Today's_articles_for_improvement#Improvement_tracking
Edit period(s): Weekly
Estimated number of pages affected: 30 per week (10 articles with template added, 10 articles with template removed, 10 talk pages updated with {{Former TAFI}})
Exclusion compliant (Yes/No): No, unneeded
Already has a bot flag (Yes/No): Yes
Function details: Automatically adds and removes {{TAFI}} from articles selected as one of Today's articles for improvement. See full source code in link above (tl;dr - uses pages like Wikipedia:Today's_articles_for_improvement/2013/16/1 that are filled in manually based on predetermined structure to determine which pages to edit based on ISO calendar). Additionally, tags the talk pages of all articles that it removes {{TAFI}} from with {{Former TAFI|date=date_that_article_was_originally_tagged}}. Requesting speedy-ish approval so this can run on Monday morning at 00:00 UTC for next batch of TAFIs—I'll of course supervise this first run, but in a trial/don't-actually-save-the-revision test I just completely, everything worked perfectly well.
Discussion
[edit]Seems like a reasonable task/bot/operator for speedy-ish approval. -68.107.137.178 (talk) 02:17, 17 April 2013 (UTC)[reply]
Approved for trial (7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. but you can keep running it at the end while waiting for review/final approval. MBisanz talk 11:42, 17 April 2013 (UTC)[reply]
- The bot will run every Monday at 00:01 UTC when TAFI is updated, so "please hold" until then. :) —Theopolisme (talk) 01:21, 18 April 2013 (UTC)[reply]
- Trial complete. [1][2] Cheers, —Theopolisme (talk) 01:11, 22 April 2013 (UTC)[reply]
- Should you be removing the template from the article and replacing it with a blank line, or just removing it completely? For the Listeria article, probably, but for the others will it be an AWB edit invitation? Also, should that talk page template go at the top above the existing templates? It seems they should just be added in order, but I don't know. Appears to have ran well; I only checked half a dozen. -68.107.137.178 (talk) 10:07, 22 April 2013 (UTC)[reply]
- Your first concern is resolved and the bot will now remove the template completely. Per WP:TPL, it looks like this template should theoretically go in at position #6 in the "Lead (bannerspace)" list. —Theopolisme (talk) 11:15, 22 April 2013 (UTC)[reply]
- Thanks. Looks good. -166.137.210.32 (talk) 22:24, 22 April 2013 (UTC)[reply]
- Approved. MBisanz talk 02:16, 23 April 2013 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.