Wikipedia:Bots/Requests for approval/PkbwcgsBot 25


 * 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

PkbwcgsBot 25
Operator:

Time filed: 21:45, Friday, January 10, 2020 (UTC)

Function overview: The bot is going to substitute the templates listed at Templates_for_discussion/Log/2019_December_20 into Template:WikiProject Television and remove any duplicates.

Automatic, Supervised, or Manual: Supervised

Programming language(s): AWB

Source code available: AWB

Links to relevant discussions (where appropriate): Templates_for_discussion/Log/2019_December_20

Edit period(s): One-time run

Estimated number of pages affected: 5000-15,000

Namespace(s): All namespaces

Exclusion compliant (Yes/No): For this specific task, no

Function details: The bot is going to convert the use of the templates at Templates_for_discussion/Log/2019_December_20 before deletion. An example of conversion is shown here. The bot is going to remove the transclusions of the WikiProject templates that were listed at Templates_for_discussion/Log/2019_December_20 and convert them to be used as wrappers. This is a bit of a complex task so I may need a bit of assistance but I am willing to take on this task as it needs to be done. The templates have been merged by User:Gonnym at this edit. For this task specifically, the bot will not be exclusion compliant.

Discussion

 * I have PearBOT 4 with approval for this type of task and could do it if you want. I'm quite busy currently, but should hopefully be able to get it done next week if you want me to. ‑‑Trialpears (talk) 23:28, 10 January 2020 (UTC)
 * I may need some help on working out what regular expressions are the best to use. Pkbwcgs (talk) 10:29, 11 January 2020 (UTC)
 * The regex for Template:WikiProject 24 is as follows:

Find:

Replace:

Find:

Replace:

It works but it does the wrong thing because it removes parameters from Template:WikiProject United States rather than Template:WikiProject 24. Pkbwcgs (talk) 10:44, 11 January 2020 (UTC)
 * It looks like PearBOT II from User:Trialpears has converted the templates to wrappers already. However, I will keep this BRFA open so that I can get approval to convert more templates to wrappers in talk pages in the future. Pkbwcgs (talk) 11:24, 12 January 2020 (UTC)
 * I only took care of the wire and started x-files. The rest was PrimeBOT. ‑‑Trialpears (talk) 14:05, 12 January 2020 (UTC)

Already taken care of by other bots. Primefac (talk) 02:16, 22 January 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 WT:BRFA.