Wikipedia:Bots/Requests for approval/DeprecatedFixerBot 4
- 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: TheSandDoctor (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 03:54, Friday, March 23, 2018 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available: https://github.com/TheSandDoctor/DTS-Template-Repair/tree/master
Function overview: Bot analyzes pages in Category:Dts templates with deprecated parameters looking for |link=
, which it then removes per the instructions at Template:Dts#Linking.
Links to relevant discussions (where appropriate): Template:Dts#Linking
Edit period(s): One time run
Estimated number of pages affected: 1,222
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Namespace(s): Mainspace only. All namespaces in which the template is present
Function details: Bot analyzes pages in Category:Dts templates with deprecated parameters looking for |link=
inside of {{ts}}, which it then removes per the instructions at Template:Dts#Linking. As stated on the template page, "linking of dates is no longer supported." The parameter is deprecated and no longer used by the template nor was it replaced with anything.
Discussion
edit- Comment I would do these manually, but 1,222 pages is a decent chunk. Would be a one time only task. --TheSandDoctor Talk 04:04, 23 March 2018 (UTC)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — xaosflux Talk 15:59, 30 March 2018 (UTC)[reply]
- @Xaosflux: Trial complete., sorry about the two edits to the User namespace. They were accidental and caused by me getting the math wrong for offsets in a limited category run (complicated by the fact that user and talk namespaces are spotted throughout the category listing). With that said, the bot did, however, work correctly in every edit, including the two accidental user space edits. --TheSandDoctor Talk 23:06, 30 March 2018 (UTC)[reply]
- Approved. task approved. — xaosflux Talk 15:35, 31 March 2018 (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.