Wikipedia:Bots/Requests for approval/PearBOT 4


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

PearBOT 4
Operator:

Time filed: 23:16, Wednesday, September 18, 2019 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): AWB

Source code available:

Function overview: Merging WikiProject banners after consensus at TfD

Links to relevant discussions (where appropriate): Bot requests (was caried out using basically same regex)

Edit period(s): One-time run for each template

Estimated number of pages affected: Highly variable 100-10000+

Exclusion compliant (Yes/No): Yes

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

Function details: Will merge WikiProject banners after consensus at TfD. For example to This was done for WikiProject Patna, botreq linked, and I suspect there will be quite a few more in the near future.

Discussion
An example of where this would be used is WikiProject Tanks currently listed in the holding cell. --Trialpears (talk) 07:59, 20 September 2019 (UTC)
 * For the record, I took care of WikiProject Tanks last night. Primefac (talk) 14:07, 22 September 2019 (UTC)
 * , I saw that but I still think it would be useful for me to be able to do it as well. I currently have a list of about a dozen similar cases, as well as the three already listed a TfD. --Trialpears (talk) 14:31, 22 September 2019 (UTC)
 * WikiProject Oregon government is up for merging, seems like a decent place to start. Primefac (talk) 12:56, 12 October 2019 (UTC)
 * should I do it with my main account or should PearBOT be added to the checkpage? --Trialpears (talk) 10:48, 13 October 2019 (UTC)
 * Sorry, didn't realize that you needed access. Name's on the list now. Primefac (talk) 15:49, 14 October 2019 (UTC)
 * 50 edits, most went smootly except for some whitespace issue with the first few edits, not caught immedietly because I wasn't familiar with how AWB displays the addition of a blank line, and edit 7 where the assumption that there were no other templates starting with WikiProject Oregon placed between the parent and child templates proved wrong. It's now fixed and I reran it at https://regex101.com/ which showed it was fixed. I intended on using the last few edits to remove the child template when it was already redundant, but as it turns out this is never the case for this merger. I hope this isn't a problem for approval. Might as well say that parameter removal like this only occured because it used parameters not defined by the template, for which I checked so it didn't remove any extra parameters that could result in information loss. As there wasn't any issues after edit 7, I don't believe a full new trial should be necessary, but would gladly do so if that would make approval faster. --Trialpears (talk) 22:24, 14 October 2019 (UTC)

Trial looks good to me and I am happy with the improvements that you have made throughout. On a personal note, I would've liked to see the regex fix linked rather than just the site homepage, but that is relatively minor. . As per usual, if amendments to - or clarifications regarding - this approval are needed, please start a discussion on the talk page and ping. -- The SandDoctor Talk 07:03, 19 October 2019 (UTC)
 * Post-approval update: following a discussion at WP:AWBREQ (permalink) this task has been expanded to also include WikiProject banners where there is a clear consensus within that project that a banner is to be merged or otherwise replaced with another banner. This is primarily to avoid an unnecessary trip to TFD purely for the purposes of indicating that consensus. Primefac (talk) 01:14, 7 May 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 WT:BRFA.