Wikipedia:Bots/Requests for approval/Tom.Bot 5
- 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: Tom.Reding (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 15:44, Friday, March 9, 2018 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): C# & AWB
Source code available: User:Tom.Bot/Task5 code
Function overview: Tag all pages in all subcategories of Category:Olympic competitors by country with {{WikiProject Olympics|class=<adopt from {{WP Bio}}>|importance=<Low|low>}}
Links to relevant discussions (where appropriate): WP:BOTREQ#Olympic competitors: Project tagging
Edit period(s): One-time run
Estimated number of pages affected: ~13,000
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: {{WP Bio}} required. All subcats are about Olympians of various kinds.
Formatting:
- Single-line banner placed on a new line after {{WP Bio}}
- Parameter whitespacing of {{WP Bio}} is adopted (ex 1), except
[\r\n]
(ex 2) - Case-sensitive adoption of {{WP Bio}}'s
|class=
, which is propagated to|importance=Low
or|importance=low
, and the edit summary (ex 3, ex 4)
Cosmetic changes:
- Standardize {{WP Bio}} #Rs to: {{WikiProject Biography}} (ex 5)
- WP:GenFixes on (primarily for addition of {{WikiProject banner shell}})
Edit summary:
- Pages where
|class=
was inherited from {{WP Bio}} will contain the text|class=<inherit>
(ex 6) - Pages where
|class=
was not inherited from {{WP Bio}} will contain the text|class=Stub
(ex 7), for easy tracking of Olympics pages missing a Bio class
Discussion
editApproved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Don't really see any holdup for this. I'll have some questions, but I need to see the bot in action first. Headbomb {t · c · p · b} 22:02, 9 March 2018 (UTC)[reply]
- Trial complete. Edits (edit summary has been corrected, was missing closing
]]
) ~ Tom.Reding (talk ⋅dgaf) 23:18, 9 March 2018 (UTC)[reply]
- Thanks again for your work on this, Tom. Hopefully it's good to go following the trial. Lugnuts Fire Walk with Me 14:24, 11 March 2018 (UTC)[reply]
- Approved. Task approved. — xaosflux Talk 02:20, 17 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.