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}}.
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
|page=
twice instead of |page1=
and |page2=
. Fixed.
Anomie
⚔
00:12, 5 April 2012 (UTC)
replyIs the trial done now? Josh Parris 07:37, 5 April 2012 (UTC) reply
http://en.wikipedia.org/?title=Talk:Liam_Payne&diff=prev&oldid=486867063 ? Josh Parris 23:24, 12 April 2012 (UTC) reply
http://en.wikipedia.org/?title=Talk:Niall_Horan&diff=prev&oldid=486867035 ? Josh Parris 23:25, 12 April 2012 (UTC) reply
http://en.wikipedia.org/?title=Talk:Zayn_Malik&diff=prev&oldid=486867012 ?
http://en.wikipedia.org/?title=Talk:Harry_Styles&diff=prev&oldid=486866554 ?
http://en.wikipedia.org/?title=Talk:Louis_Tomlinson&diff=prev&oldid=486866317 ? Josh Parris 23:42, 12 April 2012 (UTC) reply
http://en.wikipedia.org/?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
http://en.wikipedia.org/?title=Talk:Kurusha_Magzub&diff=prev&oldid=486773102
http://en.wikipedia.org/?title=Talk:Stephanie_Adams&diff=prev&oldid=486004960 Josh Parris 23:42, 12 April 2012 (UTC) reply
Questions well answered, Approved. Josh Parris 12:19, 15 April 2012 (UTC) reply
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}}.
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
|page=
twice instead of |page1=
and |page2=
. Fixed.
Anomie
⚔
00:12, 5 April 2012 (UTC)
replyIs the trial done now? Josh Parris 07:37, 5 April 2012 (UTC) reply
http://en.wikipedia.org/?title=Talk:Liam_Payne&diff=prev&oldid=486867063 ? Josh Parris 23:24, 12 April 2012 (UTC) reply
http://en.wikipedia.org/?title=Talk:Niall_Horan&diff=prev&oldid=486867035 ? Josh Parris 23:25, 12 April 2012 (UTC) reply
http://en.wikipedia.org/?title=Talk:Zayn_Malik&diff=prev&oldid=486867012 ?
http://en.wikipedia.org/?title=Talk:Harry_Styles&diff=prev&oldid=486866554 ?
http://en.wikipedia.org/?title=Talk:Louis_Tomlinson&diff=prev&oldid=486866317 ? Josh Parris 23:42, 12 April 2012 (UTC) reply
http://en.wikipedia.org/?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
http://en.wikipedia.org/?title=Talk:Kurusha_Magzub&diff=prev&oldid=486773102
http://en.wikipedia.org/?title=Talk:Stephanie_Adams&diff=prev&oldid=486004960 Josh Parris 23:42, 12 April 2012 (UTC) reply
Questions well answered, Approved. Josh Parris 12:19, 15 April 2012 (UTC) reply