Wikipedia:Bots/Requests for approval/PrimeBOT 34


 * 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

PrimeBOT 34
Operator:

Time filed: 23:01, Tuesday, November 10, 2020 (UTC)

Function overview: Remove unnecessary tables from college sports pages

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: WP:AWB

Links to relevant discussions (where appropriate): WT:CFB#Overall record / Last meeting / Result tables

Edit period(s): one time run

Estimated number of pages affected: ~1900

Namespace(s): Article

Exclusion compliant (Yes/No): Yes

Function details: As described at the linked discussion, there are many college football "game summaries" sections which contain unnecessary "matchup" records, many of which are blank and all of which clutter the page. This task will remove those tables

Discussion
I did a "proof of concept" set of edits with my main account in preparation for a bot run, but realized that my Task 30 wouldn't cover this use case. Primefac (talk) 23:01, 10 November 2020 (UTC) (updated 10:50, 16 November 2020 (UTC))
 * BotOnHold Apparently I misunderstood the request, will strike this when I have further clarification about the exact scope. Primefac (talk) 14:04, 13 November 2020 (UTC)
 * Task and edit links updated, scope clarified. Primefac (talk) 10:50, 16 November 2020 (UTC)
 * Anything that should be done about the right-aligned tables with now no content on the left, and presumably no expected content in the future either (eg at 2019 Central Michigan Chippewas football team)? Although the right float is via the template here, if we need manual float left overrides on these pages that should perhaps be bundled in. It's maybe worth asking? ProcrastinatingReader (talk) 14:08, 20 November 2020 (UTC)
 * ProcrastinatingReader, ultimately there should be substantial prose to go along with the right-aligned score boxes; see 2019 Michigan Wolverines football team for a more developed example. Jweiss11 (talk) 01:54, 21 November 2020 (UTC)


 * Try include an edit on 2019 Michigan Wolverines football team, as well, to verify it behaves as intended on articles with substantial prose too. ProcrastinatingReader (talk) 18:06, 24 November 2020 (UTC)
 * Edits are here. Note the 2019 Wolverines (first edit) missed a table; I had missed a char in my regex but I corrected it in the next edit to the page (done with my main acct). Primefac (talk) 22:07, 24 November 2020 (UTC)
 * That's fine. Noting, for the record, that we've discussed adjusting the regex to remove the newline from the resulting diff. ProcrastinatingReader (talk) 06:56, 26 November 2020 (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.