Wikipedia:Bots/Requests for approval/TolBot 13B
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
Operator: Tol (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 19:15, Friday, March 18, 2022 (UTC)
Function overview: Creates redirects for tennis articles
Automatic, Supervised, or Manual: supervised
Programming language(s): Python
Source code available: simple mass creation
Links to relevant discussions (where appropriate):
Edit period(s): one-time
Estimated number of pages affected: 2175 563 (new redirects; no article changes)
Namespace(s): (Article)
Exclusion compliant (Yes/No): not applicable
Function details: Creates redirects based on this list (permalink), from the first link to the second link in each list item.
Discussion
[edit]- This is a followup to the moves done by Tolbot 13A, where we moved all the non-redirects, but probably should have moved redirects, too, such that when we updated the case in links we wouldn't have created redlinks. But since we did create redlinks in some cases, where redirects only existed in the wrong-case versions, the easy fix is just to create the right-case versions of all those wrong-case redirects (it's not clear which ones we actually need, so let's do them all). So I requested and support this BRFA. Dicklyon (talk) 20:37, 18 March 2022 (UTC)[reply]
- Just to better understand the purpose of this BRFA: what's an example diff showing where some of these (current redlink) redirects would've been necessary? ProcrastinatingReader (talk) 17:41, 21 March 2022 (UTC)[reply]
- Here's a diff where the editor who found and reported the problem on my talk page did manual fixes by bypassing the redirects. There are an unknown number of these (probably hundreds). Dicklyon (talk) 02:00, 23 March 2022 (UTC)[reply]
- Could we use "WhatLinksHere" in mainspace to check there are actually incoming links before creating the redirect? e.g. with Special:WhatLinksHere with 2008 Canada Masters – Men's doubles (one instance of which was fixed in the diff you link) we see there is an incoming mainspace link at 2008 Tennis Masters Cup, so there's a problematic redlink there. A lot of the pages don't have any incoming links though; would prefer to see a more targeted task than the creation of 2175 redirects. ProcrastinatingReader (talk) 11:41, 23 March 2022 (UTC)[reply]
- @ProcrastinatingReader, I could trim the list with such checks. I'll put something together to remove titles with no incoming links from the list. Tol (talk | contribs) @ 13:42, 23 March 2022 (UTC)[reply]
- If we're going to go to the trouble to distinguish the ones that are unused, we should delete them, rather than leave redirects with only the incorrect capitalization. Dicklyon (talk) 16:12, 23 March 2022 (UTC)[reply]
- @ProcrastinatingReader, I could trim the list with such checks. I'll put something together to remove titles with no incoming links from the list. Tol (talk | contribs) @ 13:42, 23 March 2022 (UTC)[reply]
- Could we use "WhatLinksHere" in mainspace to check there are actually incoming links before creating the redirect? e.g. with Special:WhatLinksHere with 2008 Canada Masters – Men's doubles (one instance of which was fixed in the diff you link) we see there is an incoming mainspace link at 2008 Tennis Masters Cup, so there's a problematic redlink there. A lot of the pages don't have any incoming links though; would prefer to see a more targeted task than the creation of 2175 redirects. ProcrastinatingReader (talk) 11:41, 23 March 2022 (UTC)[reply]
- See original report/discussion at User talk:Letcord#Inquiry about Doubles → doubles. Dicklyon (talk) 06:15, 23 March 2022 (UTC)[reply]
- Here's a diff where the editor who found and reported the problem on my talk page did manual fixes by bypassing the redirects. There are an unknown number of these (probably hundreds). Dicklyon (talk) 02:00, 23 March 2022 (UTC)[reply]
- Just to better understand the purpose of this BRFA: what's an example diff showing where some of these (current redlink) redirects would've been necessary? ProcrastinatingReader (talk) 17:41, 21 March 2022 (UTC)[reply]
- I find myself mostly agreeing with PR on this one - if there isn't a reason other than "because they might be used in the future" to create over 2k redirects, I'm not overly inclined to push this task. Primefac (talk) 12:28, 27 March 2022 (UTC)[reply]
- OK, let's just create the ones that are used, and delete the wrong-case other ones then. Dicklyon (talk) 15:42, 28 March 2022 (UTC)[reply]
- @Tol, Qwerty284651, and Letcord: To get this done, someone will need to compile the list of which redirects are needed, and which should be deleted. I don't know how to do that. Dicklyon (talk) 23:17, 1 April 2022 (UTC)[reply]
- But hold off a few days, as the link case fixing we're doing is creating a need for more that are presently not needed (e.g. multiple years of these two I just fixed: 2009 Internazionali BNL d'Italia – Men's doubles, 2007 Internazionali BNL d'Italia – Men's singles Dicklyon (talk) 23:39, 1 April 2022 (UTC)[reply]
- @ProcrastinatingReader and Tol: We are done preparing the pruned list of used/redlinked redirects needed, at User:Letcord/sandbox/TennisRedirects. PTAL. Dicklyon (talk) 23:41, 2 April 2022 (UTC)[reply]
- Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. for the shorter list at User:Letcord/sandbox/TennisRedirects. ProcrastinatingReader (talk) 16:52, 9 April 2022 (UTC)[reply]
- Trial complete. Creations: . Tol (talk | contribs) @ 18:12, 9 April 2022 (UTC)[reply]
- Tennis records of All Time – Men's singles
- Overall tennis records – Men's singles
- 2023 Australian Open – Women's singles
- 2022 Melbourne Summer Set – Men's singles
- 2021 Abierto Mexicano Telcel – Men's singles
- 2020 Wimbledon Championships – Women's singles
- 2020 Wimbledon Championships – Wheelchair women's singles
- 2020 Wimbledon Championships – Wheelchair women's doubles
- 2020 Wimbledon Championships – Wheelchair quad singles
- 2020 Wimbledon Championships – Wheelchair quad doubles
- 2020 Wimbledon Championships – Wheelchair men's singles
- 2020 Wimbledon Championships – Wheelchair men's doubles
- 2020 Wimbledon Championships – Men's doubles
- 2020 Wimbledon Championships – Ladies' invitation doubles
- 2020 Wimbledon Championships – Girls' doubles
- 2020 Wimbledon Championships – Gentlemen's invitation doubles
- 2020 Wimbledon Championships – Boys' doubles
- 2020 US Open – Women's singles qualifying
- 2020 US Open – Mixed doubles
- 2020 US Open – Girls' singles
- 2020 US Open – Girls' doubles
- 2020 US Open – Boys' singles
- 2020 US Open – Boys' doubles
- 2020 French Open – Mixed doubles
- 2019 Wimbledon Championships – Boys' singles qualifying
- Just for context, this is an example of an article with red links that need to be redirected following Dicklyon's case fixes, and will be by this bot. Letcord (talk) 02:48, 10 April 2022 (UTC)[reply]
- @ProcrastinatingReader, any update? Tol (talk | contribs) @ 20:21, 16 April 2022 (UTC)[reply]
- Trial complete. Creations:
Approved. ProcrastinatingReader (talk) 15:50, 21 April 2022 (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 Wikipedia:Bots/Noticeboard.