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: Anomie (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 02:05, Wednesday April 4, 2012 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Perl

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

Function overview: Add ((old AfD multi)) to the talk pages of new articles that have previously appeared at WP:AFD.

Links to relevant discussions (where appropriate): WP:BOTREQ#Bot to tag previously-deleted articles that were recreated.

Edit period(s): Periodic

Estimated number of pages affected: Depends how often people recreate articles that were deleted at AfD.

Exclusion compliant (Y/N): Yes

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

Function details: AnomieBOT will retrieve the list of new pages from the API recentchanges module. It will then load the deletion logs for each page; if none are found, it will go on to the next page. Otherwise it will check the deletion comments for links to AfD subpages, and also check for the existence of AfD subpages matching the article title (possibly with "(2nd nomination)" or the like at the end). It will load these AfDs, find the date the AfD subpage was created and attempt to find the result from the substed ((afd top)), and use this information to fill out ((old AfD multi)).

Discussion[edit]

To have some articles to process for trial, I'll run the bot over the past week's new articles from whenever the trial gets approved. Anomie 02:05, 4 April 2012 (UTC)[reply]

Trusted op, useful function with downfalls I haven't forseen. Approved for trial. Please provide a link to the relevant contributions and/or diffs when the trial is complete. Declare when you're finished, and ready for the community to discuss the effects. Josh Parris 03:24, 4 April 2012 (UTC)[reply]
Ok. The edit summary for this task is currently set to "Adding ((old AfD multi)) for prior AfDs related to this article". Anomie 23:33, 4 April 2012 (UTC)[reply]
I'm going to wait for the replag on TS to drop from the current 9hrs before I run http://toolserver.org/~snottywong/cgi-bin/commentsearch.cgi?name=AnomieBOT&search=old+AfD+multi&max=100&ns=none Josh Parris 23:52, 4 April 2012 (UTC)[reply]
But while we wait, why is only one of these linked to a discussion http://en.wikipedia.org/w/index.php?title=Talk:Keven_Veilleux&oldid=485622257 ? Josh Parris 00:05, 5 April 2012 (UTC)[reply]
Because the bot used |page= twice instead of |page1= and |page2=. Fixed. Anomie 00:12, 5 April 2012 (UTC)[reply]
I found http://en.wikipedia.org/w/index.php?title=Talk:Cutleria&diff=prev&oldid=485622566 a little confusing as it's not the same... Josh Parris 00:27, 5 April 2012 (UTC)[reply]
Cutleria is one of the 4000-some articles deleted in that AfD, yes. AnomieBOT found it linked in the deletion log. Anomie 00:33, 5 April 2012 (UTC)[reply]
I found http://en.wikipedia.org/w/index.php?title=Talk:Anja_Ala%C4%8D&oldid=485625780 mystifying Josh Parris 00:27, 5 April 2012 (UTC)[reply]
Same deal, the AfD wound up applying to 11 articles, 9 of which were deleted. AnomieBOT found it linked in the deletion log. Anomie 00:33, 5 April 2012 (UTC)[reply]
Is it possible to get an explanation to that effect (deleted as part of xxxxxxx) ... or fallout.... or something to make it clear the bot hasn't malfunctioned? Josh Parris 00:37, 5 April 2012 (UTC)[reply]
The bot could add a dummy parameter to indicate "found in deletion log" versus "found via Special:PrefixIndex/Wikipedia:Articles for deletion/((PAGENAME))" if necessary, but the template doesn't display it, I don't know of any humans doing this, and it should normally be fairly clear from just reading the AfD. Anomie 00:42, 5 April 2012 (UTC)[reply]
What do you think of appending ''(as referenced in deletion log)'', possibly with a link, in the result field? Josh Parris 00:55, 5 April 2012 (UTC)[reply]
http://en.wikipedia.org/w/index.php?title=Talk:List_of_Muslim_Nobel_laureates&oldid=485622231 lists only the second nom Josh Parris 00:35, 5 April 2012 (UTC)[reply]
List of Muslim Nobel laureates was never directly nominated for deletion. AnomieBOT found the second nom (for a number of "List of X Nobel laureates" articles) from the deletion log. It didn't find the first because there was no deletion, and the third nom was for the atheist list only. Anomie 00:42, 5 April 2012 (UTC)[reply]
Parse error: http://en.wikipedia.org/w/index.php?title=Talk:Lei_Liang&oldid=485629733 Josh Parris 00:49, 5 April 2012 (UTC)[reply]
Fixed. Anomie 02:08, 5 April 2012 (UTC)[reply]
http://en.wikipedia.org/w/index.php?title=Talk:Living_Water&oldid=485631227 makes me wonder about slight capitalization variations, such as Living water. Josh Parris 00:59, 5 April 2012 (UTC)[reply]
OTOH, it's not too uncommon where "foo bar" and "Foo Bar" are completely different articles (with the latter often being a book, movie, TV episode, or something like that). Anomie 02:08, 5 April 2012 (UTC)[reply]
I'm not sure anything can or should be done about http://en.wikipedia.org/w/index.php?title=Talk:Darin_Andonov&diff=prev&oldid=485631478 but I bring it to the community's attention. Josh Parris 01:06, 5 April 2012 (UTC)[reply]
Yeah, there's not much a bot can do about one like that. Anomie 02:08, 5 April 2012 (UTC)[reply]
https://en.wikipedia.org/w/index.php?title=Talk:Epiphany_Johnson&oldid=485631835 is another odd case: a redirect deleted because the page it redirected to was deleted at AfD. Anomie 02:12, 5 April 2012 (UTC)[reply]
Note that the log of deletes for that page only lists the one AfD; presumably the sysops are using different tools to do their deletions? Josh Parris 06:32, 5 April 2012 (UTC)[reply]

Trial review[edit]

Is the trial done now? Josh Parris 07:37, 5 April 2012 (UTC)[reply]

Well, the bot is caught up to "now" after processing the past week's worth of page creations. But if no one objects, I may as well leave it running in trial mode for the moment. Anomie 11:43, 5 April 2012 (UTC)[reply]
I've noted edits up to 02:14, April 05, 2012 Josh Parris 12:14, 5 April 2012 (UTC)[reply]
I knew I should have put some kind of limit on you, you're just going to leave this in trial until it works, aren't you? Josh Parris 08:22, 12 April 2012 (UTC)[reply]
Not sure what you mean, it seems to me that it does work. Anomie 10:43, 12 April 2012 (UTC)[reply]
Trial complete then? Ready for review? Josh Parris 11:56, 12 April 2012 (UTC)[reply]
I didn't want to stop it and then have a backlog build up while it was reviewed, but since you insist: Trial complete. Anomie 16:34, 12 April 2012 (UTC)[reply]
Got something against new kids on the bloc?

http://en.wikipedia.org/w/index.php?title=Talk:Liam_Payne&diff=prev&oldid=486867063 ? Josh Parris 23:24, 12 April 2012 (UTC)[reply]

http://en.wikipedia.org/w/index.php?title=Talk:Niall_Horan&diff=prev&oldid=486867035 ? Josh Parris 23:25, 12 April 2012 (UTC)[reply]

http://en.wikipedia.org/w/index.php?title=Talk:Zayn_Malik&diff=prev&oldid=486867012 ?

http://en.wikipedia.org/w/index.php?title=Talk:Harry_Styles&diff=prev&oldid=486866554 ?

http://en.wikipedia.org/w/index.php?title=Talk:Louis_Tomlinson&diff=prev&oldid=486866317 ? Josh Parris 23:42, 12 April 2012 (UTC)[reply]

It appears that when AnomieBOT edited, none of those talk pages existed (look at [1], the edits are marked "N"). Some time later, AnemoneProjectors (talk · contribs) undeleted them all which made it look like AnomieBOT had blanked the pages. Anomie 17:29, 13 April 2012 (UTC)[reply]
Other edits of interest

http://en.wikipedia.org/w/index.php?title=Talk:NetMovers&diff=prev&oldid=485727545 seems to list in reverse-chronological order; is this by design? Josh Parris 23:27, 12 April 2012 (UTC)[reply]

It's how the template works. Compare to Template:Old AfD multi#Four AfDs, 2 collapsed, numbered in the template's documentation: the oldest AfD goes first, and then the template displays them in reverse order. Anomie 17:29, 13 April 2012 (UTC)[reply]
Tell me again why these get a second nom mention, but not a first?

http://en.wikipedia.org/w/index.php?title=Talk:Kurusha_Magzub&diff=prev&oldid=486773102

http://en.wikipedia.org/w/index.php?title=Talk:Stephanie_Adams&diff=prev&oldid=486004960 Josh Parris 23:42, 12 April 2012 (UTC)[reply]

For Kurusha Magzub, it's because Wikipedia:Articles for deletion/Kurusha Magzub was not yet closed.
For Stephanie Adams, the bot thought the first AfD was never closed because it didn't have the standard close box (which includes "boilerplate" and either "xfd", "afd", or "vfd"). Anomie 17:29, 13 April 2012 (UTC)[reply]

Questions well answered,  Approved. Josh Parris 12:19, 15 April 2012 (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.