Wikipedia:Bots/Requests for approval/GalliumBot 6
- 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.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: Theleekycauldron (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 00:18, Tuesday, October 28, 2025 (UTC)
Function overview: Sorts entries in Category:Redirects from case citations by reporter, then edition, then volume, then page
Automatic, Supervised, or Manual: Automatic
Programming language(s): Python
Source code available: TBD
Links to relevant discussions (where appropriate): n/a
Edit period(s): One-time run
Estimated number of pages affected: 2,951
Namespace(s): Articles
Exclusion compliant (Yes/No): n/a
Function details: Right now, the sorting in this category is kind of a mess. Case citations are in the format "[volume] [reporter.edition] [page]", and right now they're sorted volume-first because it's first in the string, but if you're sorting lots of different citations from different reporters (i.e. different courts), it makes sense to sort by reporter first, then edition, volume, and page. I really don't want to click a button 2,951 times, so, bringing it here. theleekycauldron (talk • she/her) 00:18, 28 October 2025 (UTC)[reply]
- basically, 470 U.S. 821 should have the sortkey "US 1 0470 0821": U.S. Reports, 1st edition, volume 470, starting on page 821. 683 F.2d 1030 should have the sortkey "F 2 0683 1030": Federal Reporter, 2nd edition, volume 683, starting on page 1030. theleekycauldron (talk • she/her) 00:26, 28 October 2025 (UTC)[reply]
- I also want to bake {{Unprintworthy redirect}} into {{R from case citation}}, instead of having them as two separate things on every page. theleekycauldron (talk • she/her) 00:27, 28 October 2025 (UTC)[reply]
Discussion
[edit]- Yes I got leeky into category work. Love this task. Though, contra OTR, I imagine there will be more redirects created in the future which need repair. "GalliumBot 6 will be run upon request if there are >x (20?) redirects in need of categorization", or something similar, would be nice. HouseBlaster (talk • he/they) 03:22, 28 October 2025 (UTC)[reply]
- The reason I have it as an OTR is that I'm probably gonna have to do a lotttttt of manual fidgeting to get this task to work right; there are gonna be some, but not all, citations with shit like "21 U.S. (8 Wheat) ___", or "F.Supp.2d" without the spaces, or weird defunct reporters, and all of that has to be straightened out probably by hand. (If I had an infinite amount of time, I would have a bot task that detects new court case articles, finds the citations on Wikidata, and just handles everything. Unfortunately, I want to pass my classes this semester slightly more.) I guess I wouldn't be opposed to repeating runs on request, but really, once it's 20 or so left, it'd probably be easier to do manually. theleekycauldron (talk • she/her) 03:26, 28 October 2025 (UTC)[reply]
- {{BAG assistance needed}} Tenshi! (Talk page) 00:14, 5 November 2025 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. – DreamRimmer ■ 15:59, 6 November 2025 (UTC)[reply]
Trial complete. on F.3d, see Special:Contributions/GalliumBot :) theleekycauldron (talk • she/her) 00:45, 7 November 2025 (UTC)[reply]
- you may have noticed that they are not, in fact, in order. one sec... theleekycauldron (talk • she/her) 00:50, 7 November 2025 (UTC)[reply]
- all right, there we go, in tip-top shape. theleekycauldron (talk • she/her) 01:04, 7 November 2025 (UTC)[reply]
- @Theleekycauldron: I can see only 18 edits, with changes made to 9 pages, each edited twice. You have not explained what went wrong. – DreamRimmer ■ 05:27, 7 November 2025 (UTC)[reply]
- @DreamRimmer: The first nine edits sorted the pages incorrectly; the next nine fixed it and did what was intended. I didn't go up to 50 edits because it wouldn't make sense to sort only a few cases from the same reporter, so I sorted every F.3d case citation in the category. theleekycauldron (talk • she/her) 14:42, 7 November 2025 (UTC)[reply]
- {{bag assistance needed}} theleekycauldron (talk • she/her) 00:18, 17 November 2025 (UTC)[reply]
Approved. FWIW, it is better to complete the full trial and if anything needs fixing then BAG can look into it. Ending a trial halfway usually does not give a clear picture, but since there are no issues with the edits made, I am approving it. – DreamRimmer ■ 10:41, 17 November 2025 (UTC)[reply]
- {{bag assistance needed}} theleekycauldron (talk • she/her) 00:18, 17 November 2025 (UTC)[reply]
- @DreamRimmer: The first nine edits sorted the pages incorrectly; the next nine fixed it and did what was intended. I didn't go up to 50 edits because it wouldn't make sense to sort only a few cases from the same reporter, so I sorted every F.3d case citation in the category. theleekycauldron (talk • she/her) 14:42, 7 November 2025 (UTC)[reply]
- @Theleekycauldron: I can see only 18 edits, with changes made to 9 pages, each edited twice. You have not explained what went wrong. – DreamRimmer ■ 05:27, 7 November 2025 (UTC)[reply]
- all right, there we go, in tip-top shape. theleekycauldron (talk • she/her) 01:04, 7 November 2025 (UTC)[reply]
- you may have noticed that they are not, in fact, in order. one sec... theleekycauldron (talk • she/her) 00:50, 7 November 2025 (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.