Wikipedia:Bots/Requests for approval/Qwerfjkl (bot) 23


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

Qwerfjkl (bot) 23
Operator:

Time filed: 15:47, Sunday, September 10, 2023 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python

Source code available: pywikibot

Function overview: Fixing redirect section links to episode list anchors

Links to relevant discussions (where appropriate): Bot requests

Edit period(s): One time run, additional runs in the future if needed

Estimated number of pages affected: <13183 per User:Gonnym/sandbox/database report

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): Yes

Function details: For each redirect, the bot will get its target, and search for an episode list on the page where the title equals the redirect's title (ignoring case, whitespace, and stripping out anything in brackets). It will then get the EpisodeNumber and set the redirect's section link to epX, which is an anchor generated by episode list.

An example edit is Special:Diff/1174773976; the actual edits would have a proper summary.

Discussion

 * I've created Database reports/Broken episode anchors so the report won't be located in my userspace. It's the same report. --Gonnym (talk) 16:11, 10 September 2023 (UTC)
 * Primefac (talk) 10:19, 12 September 2023 (UTC)
 * @Primefac, See these 50 contribs. —  Qwerfjkl  talk  16:37, 14 September 2023 (UTC)
 * Primefac (talk) 09:49, 20 September 2023 (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 Bots/Noticeboard.