Wikipedia:Bots/Requests for approval/TolBot 10
[[User:TolBot|TolBot 10]]
{{Newbot|TolBot|10}}
Operator: {{botop|Tol}}
Time filed: 03:43, Friday, December 17, 2021 (UTC)
Function overview: Create redirects from titles without middle initials
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: Not fully written
Links to relevant discussions (where appropriate):
- Wikipedia:Bot requests#Bot for creating name redirects (permalink)
- Wikipedia:Request a query#Biography pages redirect opportunities (permalink)
Edit period(s): One-time, with possible future runs
Estimated number of pages affected: ≤18302
Namespace(s): (Article)
Exclusion compliant (Yes/No): No (mostly not applicable, as it creates redirects)
Function details:
- A list of articles is input that satisfy the following conditions:
- Are a biography (talk page with Template:WikiProject Biography)
- Have a title matching "[word] [capital letter]. [word]" (first name, initial with period, last name)
- there are no other articles with the name first and last name
- It iterates over these titles, and:
- It creates a redirect to the page, "[first] [initial]. [last]", from "[first] [last]".
- The redirect will have a defaultsort of "[last], [first]".
- The redirect will have the rcat of Template:R from short name.
=Discussion=
- As requester, this looks great to me; thanks for taking this up! Once you're finished coding, having source code public would be useful, as we'll likely want to run this again sometime in the future. Cheers, {{u|Sdkb}} talk 04:10, 23 December 2021 (UTC)
- :Thank you, @Sdkb! I've published the source code here, and licensed it under CC BY-SA 3.0/4.0 and GNU LGPL and FDL. (I know the licensing is weird; it's for ease of reuse and publishing elsewhere.) Tol (talk | contribs) @ 22:20, 4 January 2022 (UTC)
- {{BotTrial|edits=50}} {{re|Tol}} --TheSandDoctor Talk 22:48, 28 December 2021 (UTC)
- :Thank you, @TheSandDoctor! {{Bot trial complete}} Diffs: ({{hlist|class=inline|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50}}). Tol (talk | contribs) @ 21:56, 4 January 2022 (UTC)
- ::I checked a few, and they all look good to me! {{u|Sdkb}} talk 22:37, 4 January 2022 (UTC)
- Looks fine to me but can we advertise this at a content venue before approval? eg Wikipedia:WikiProject Biography. ProcrastinatingReader (talk) 13:38, 5 January 2022 (UTC)
- :@ProcrastinatingReader: I've notified WikiProject Biography. Tol (talk | contribs) @ 20:27, 5 January 2022 (UTC)
- ::(from said WikiProject) looks good to me. Dreamy Jazz talk to me | my contributions 20:29, 5 January 2022 (UTC)
- :Notified: WT:REDIRECT. {{u|Sdkb}} talk 22:08, 5 January 2022 (UTC)
- {{BotApproved}} ProcrastinatingReader (talk) 22:23, 10 January 2022 (UTC)
: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 Wikipedia:Bots/Noticeboard.