Wikipedia:Bots/Requests for approval/AnomieBOT 55


 * 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 Symbol keep vote.svg Approved

AnomieBOT 55
Operator: Anomie⚔

Time filed: 16:04, Monday September 12, 2011 (UTC)

Automatic or Manual: Automatic, unsupervised

Programming language(s): Perl

Source code available: User:AnomieBOT/source/tasks/TagDater.pm

Function overview: When dating maintenance tags, if no undated tags are found in an article then check templates transcluded in the article.

Links to relevant discussions (where appropriate): none

Edit period(s): Continuous

Estimated number of pages affected: Depends on how often people leave maintenance tags undated in templates, and whether other bots beat AnomieBOT to it.

Exclusion compliant (Y/N): Yes

Already has a bot flag (Y/N): Yes

Function details: As approved in AnomieBOT 49, the bot dates maintenance tags in articles listed in Category:Wikipedia maintenance categories sorted by month. I've noticed that many of the cases where the bot cannot find a maintenance tag to date are due to someone adding a maintenance tag to a navbox or other template transcluded in the page. It would make sense for the bot to check that, instead of requiring a human to do it.

Discussion
Is the bot going to be fixing the problem of not using "&lt;noinclude&gt;" tags? Or just working around it. - Jarry1250 [Weasel? Discuss.] 17:22, 12 September 2011 (UTC)
 * Which problem is that? All this bot will do is change a human-inserted  to   and the like. Anomie⚔ 18:05, 12 September 2011 (UTC)
 * The problem of random pages showing up in maintenance categories when really it should be the template page itself...? Or am I getting confused? - Jarry1250 [Weasel? Discuss.] 18:36, 12 September 2011 (UTC)
 * Take for example iCab, it's in Category:Articles with unsourced statements because someone stuck a fact in Template:Gopher clients. The template itself actually isn't in the category, because these dated templates mostly don't categorize non-articles. If someone were to  the fact, then probably no one would ever see it. Anomie⚔ 18:42, 12 September 2011 (UTC)

So what does the bot do with such a tag included in some transcluded template? Does it notify someone, or do you just want to date it like all a regular dated maintenance template? Is it actually a valid use to have it transcluded, because I would think not? — HELL KNOWZ  ▎TALK 18:40, 12 September 2011 (UTC)
 * Just date it, which is what I usually do (or see has already been done) when I have time to go through the list and fix things manually. Anomie⚔ 18:42, 12 September 2011 (UTC)


 * Seems almost speedy-able, but since this would deal with templates, and that they often have to be handled with whitegloves, let's have a trial. . Headbomb {talk / contribs / physics / books} 03:36, 15 September 2011 (UTC)
 * Thanks. I'll have the edit summaries for this task include the text "[BRFA55]" to make them easier to find. Anomie⚔ 04:01, 15 September 2011 (UTC)
 * Yes, undated maintenance tags carelessly applied litter wikipedia. Best would be developer code to have all maintenance tags dated when added to article space. --68.105.141.221 (talk) 05:05, 15 September 2011 (UTC)
 * Edits so far: . Numbers 2, 5, and 6 were errors (those magic words should be substed in articles but not in templates), fixed the bug already. Anomie⚔ 11:51, 15 September 2011 (UTC)
 * One more: . Anomie⚔ 00:34, 16 September 2011 (UTC)
 * Another one: . Anomie⚔ 14:31, 17 September 2011 (UTC)
 * A bug this time: . Fixed. Anomie⚔ 02:53, 19 September 2011 (UTC)
 * One more: . Anomie⚔ 12:33, 25 September 2011 (UTC)
 * Two more today: . The second prompted the newly-created template to be fixed to properly pass along the date. Anomie⚔ 01:01, 27 September 2011 (UTC)
 * Another broken template that needed fixing: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=453294145] . Anomie⚔ 12:50, 3 October 2011 (UTC)
 * I don't know that the placement of the merge to on this template is a good idea, but the bot's edit is exactly correct: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=453922570] . Anomie⚔ 13:04, 5 October 2011 (UTC)
 * One more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=455146518] . Only 83 to go... Anomie⚔ 13:22, 12 October 2011 (UTC)
 * Two more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=455366297][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=455459281] . Anomie⚔ 03:48, 14 October 2011 (UTC)

Alright well it's painfully obvious that this is a slow task, and the bug rate is relatively high. How about you have the bot notify you (at say User:AnomieBot/Templates with potential for a bot edit or something) and then you could review the page and see if the edit should be done/would break stuff? Headbomb {talk / contribs / physics / books} 05:47, 14 October 2011 (UTC)
 * Well, the bugs with numbers 2, 5, 6, and 11 are fixed already, so that sort of thing won't happen again. 14 and 15 are GIGO, but I think I might be able to detect those as well (if removing templates needing dating, comments,, and maybe categories would give a blank page, it's probably a broken shell for the template needing dating). Anomie⚔ 11:21, 14 October 2011 (UTC)
 * Still, while 2/5/6/11 are fixed, it's very hard to tell what else could be buggy, nor are GIGO situations uncommon (2 in 19 edits is rather high). At this point I'd be much more comfortable with a bot that lists templates in need of attention, than one that automatically makes the fix, unreviewed. The workload is small enough that it should not be a significant burden. If you're conformatable with those terms, I can approve that task (building a list of templates in need of attention). If you'd rather have the bot make edits to template directly, then we can wait for more edits, but I suspect it'll be some time before there's enough edits to justify approval (plus, if there are other bugs or GIGO, then I'll just make it that much harder to get approval). I recommended the first, but if you want to trial things longer, we can do that to. Headbomb {talk / contribs / physics / books} 05:20, 15 October 2011 (UTC)
 * One more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=456267742] Anomie⚔ 16:38, 19 October 2011 (UTC)
 * Two more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=456461529][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=456701624] . Anomie⚔ 17:46, 21 October 2011 (UTC)
 * Three more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=456877703][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=457003362][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=457289975] Anomie⚔ 01:34, 26 October 2011 (UTC)
 * Three more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=458224580][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=458665496][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=459190285] . Anomie⚔ 21:47, 6 November 2011 (UTC)
 * Seven more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=459811239][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=459923190][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=459923215][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=459923339][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=459947734][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=460473866][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=460849356] . Note that 395 BC and 396 BC are transcluded onto 390s BC and 404 BC is transcluded onto 409–400 BC, which is why the bot did them as "templates". Anomie⚔ 17:42, 16 November 2011 (UTC)
 * I've always done most of the stuff outside mainspace manually. There's a lot of gotchas. Rich Farmbrough, 21:31, 17 November 2011 (UTC).


 * Five more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=463932707][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=463932845][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=464052323][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=464095569][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=464099762] . Anomie⚔ 03:15, 10 December 2011 (UTC)
 * Seven more: [//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=465634812][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=465940525][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=466992300][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=467003799][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=467054299][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=467079572][//en.wikipedia.org/w/index.php?title=&diff=prev&oldid=467138435] . Note the first was at the time transcluded onto Phantom, which is why the bot did it as a "template". Anomie⚔ 22:00, 23 December 2011 (UTC)
 * One more: [//en.wikipedia.org/w/index.php?title=&diff=467702737&oldid=467700232] . Note it's transcluded into List of Latin phrases (full). Anomie⚔ 13:47, 26 December 2011 (UTC)
 * One more: [//en.wikipedia.org/w/index.php?title=&diff=470800419&oldid=470797512] . Anomie⚔ 15:11, 12 January 2012 (UTC)
 * One more: [//en.wikipedia.org/w/index.php?title=&diff=471001260&oldid=470998379] . Anomie⚔ 14:23, 13 January 2012 (UTC)

This has been open since September last year, do we really need to continue the trial this long? Considering the very low edit rate, there is no risk of the bot editing and damaging hundreds of templates. Likewise, if the bot does make any errors, Anomie is a trusted and competent bot op, who can fix them without needing to be babysat by a BRFA. -- Chris 10:18, 15 January 2012 (UTC)


 * Concur. — HELL KNOWZ  ▎TALK 10:18, 15 January 2012 (UTC)
 * Does it need to be closed then? Just hanging around won't do anything.  Rcsprinter  (yak)  17:13, 20 January 2012 (UTC)
 * With two BAG members concurring (three, including me), I daresay we can close this discussion. – Carry on. &mdash; madman 22:31, 20 January 2012 (UTC)
 * 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.