Wikipedia:Bots/Requests for approval/BattyBot 62


 * 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

BattyBot 62
Operator:

Time filed: 00:38, Saturday, November 13, 2021 (UTC)

Function overview: Remove some empty sections

Automatic, Supervised, or Manual: Automatic

Programming language(s): AutoWikiBrowser

Source code available: AWB

Links to relevant discussions (where appropriate): Bot requests, Bot requests

Edit period(s): Monthly (run against database dump to give editors time to revert vandalism)

Estimated number of pages affected: Identified over 11,000 articles based on database dump from November 1, 2021

Namespace(s): Mainspace/Articles

Exclusion compliant (Yes/No):

Function details: Remove empty Bibliography, Further reading, Gallery, Notes, See also, and External links sections, which may be tagged with empty section. Also perform AWB general fixes.

Suggested code to remove empty sections followed by another level 2 section:

Suggested code to remove empty sections followed by DEFAULTSORT or a category:

Thank you for your consideration. GoingBatty (talk) 00:38, 13 November 2021 (UTC)

Discussion
This seems like something that needs an actual consensus behind it, not just one person asking at WP:BOTREQ. You should take the proposal to WP:VPR to see if there really is consensus that this should be done by a bot. Anomie⚔ 12:58, 13 November 2021 (UTC)
 * Posted at Village pump (proposals) per your request. Thanks!  GoingBatty (talk) 16:16, 13 November 2021 (UTC)
 * BAG assistance needed The discussion has been open at the Village pump for over two weeks. GoingBatty (talk) 17:54, 28 November 2021 (UTC)
 * Village pump discussion archived to Village pump (proposals)/Archive 185. GoingBatty (talk) 03:09, 3 December 2021 (UTC)
 * Well, we got a little feedback at least. The delay to try to give vandal fighters a chance to revert vandalism seems like a good idea. Anomie⚔ 12:49, 3 December 2021 (UTC)
 * - 25 edits with the first rule, and 25 edits with the second rule. Created the lists based on the November 20 database dump.  GoingBatty (talk) 04:22, 5 December 2021 (UTC)
 * , please provide links to those diffs. Primefac (talk) 13:36, 5 December 2021 (UTC)
 * . Oops! Here's the link. Sorry about that!  GoingBatty (talk) 22:28, 5 December 2021 (UTC)

Seems to have worked as intended. Don't forget about the requested time delay, it's not clear that part was tested. Anomie⚔ 12:37, 8 December 2021 (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.
 * Thanks for approving, and sorry I wasn't clear about the requested time delay. I created the list of articles that I edited on December 5 from the November 20 database dump, which is a 15 day delay.  I will always use a database dump for this task, which will ensure a delay of several days.  Thanks!  GoingBatty (talk) 02:36, 9 December 2021 (UTC)