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 Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
Operator: Qwerfjkl (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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): Wikipedia:Bot requests#Fixing episode redirect links
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#footer
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
[edit]- I've created Wikipedia: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)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 10:19, 12 September 2023 (UTC)[reply]
- @Primefac, Trial complete. See these 50 contribs. — Qwerfjkltalk 16:37, 14 September 2023 (UTC)[reply]
- Approved. Primefac (talk) 09:49, 20 September 2023 (UTC)[reply]
- @Primefac, Trial complete. See these 50 contribs. — Qwerfjkltalk 16:37, 14 September 2023 (UTC)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 10:19, 12 September 2023 (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.