Wikipedia:Bots/Requests for approval/AnomieBOT 57
- 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.
Time filed: 01:57, Tuesday September 27, 2011 (UTC)
Automatic or Manual: Automatic, unsupervised
Programming language(s): Perl
Source code available: User:AnomieBOT/source/tasks/TagDater.pm
Function overview: Convert {{disambiguation|cleanup}}
to {{disambiguation cleanup|date=...}}
.
Links to relevant discussions (where appropriate): Template:Disambiguation/doc
Edit period(s): Continuous
Estimated number of pages affected: Depends how often people use {{disambiguation|cleanup}}
.
Exclusion compliant (Y/N): Yes
Already has a bot flag (Y/N): Yes
Function details: Giving the "cleanup" parameter to {{disambiguation}}
causes the page to be placed into Category:Disambiguation pages in need of cleanup, which is a dated maintenance category; pages should be sorted into an appropriate dated subcategory instead. This sorting cannot be done using template {{disambiguation}}
, as it does not have support for the |date=
parameter; its documentation states that {{disambiguation cleanup}}
should be used instead.
The bot will change any instance of {{disambiguation}}
with "cleanup" as one of its unnamed/numbered parameters to the corresponding invocation of {{disambiguation cleanup}}
, and add the current month and year in |date=
.
Discussion
[edit]This is, of course, an extension of the TagDater task approved in AnomieBOT 49. I've noticed {{disambiguation|cleanup}}
twice recently, so it seems it would be something useful for the bot to fix. Anomie⚔ 01:57, 27 September 2011 (UTC)[reply]
{{BAGAssistanceNeeded}}
Anomie⚔ 03:46, 4 October 2011 (UTC)[reply]- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — seems sane. Could probably just modify the template, but given there aren't any objections, and given the user's demonstrated ability to make sane bots, by all means. --slakr\ talk / 04:18, 5 October 2011 (UTC)[reply]
Approved. Looks good, no complaints, sane botop. --Chris 11:26, 13 October 2011 (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.