Wikipedia:Bots/Requests for approval/ArmbrustBot 5


 * 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 Symbol oppose vote.svg Withdrawn by operator.

ArmbrustBot 5
Operator:

Time filed: 06:02, Thursday February 13, 2014 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): AutoWikiBrowser

Source code available: Standard AWB

Function overview: Implement WP:CFD decisions by modifying template parameters on pages.

Edit period(s): As needed.

Estimated number of pages affected: Category-dependent.

Exclusion compliant (Yes/No): No, as not needed. The handled categories need to be empty before deletion.

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

Function details: The bot will implement decisions reached on the subpages of the Categories for deletion process, by changing template parameters on the pages concerned by the use of the find and replace functionality of AutoWikiBrowser.

Discussion
Cant you just remove the category from the template and it will be emptied? Werieth (talk) 11:50, 13 February 2014 (UTC)
 * No, because in this case the category isn't in the template, but it's added through a template parameter. The bot will replace this parameter in the pages of the category. For example to implement the Category:NES game covers to Category:Nintendo Entertainment System game covers rename it will replace the "NES" parameter in Non-free video game cover with "Nintendo Entertainment System". Armbrust The Homunculus 12:54, 13 February 2014 (UTC)
 * Couldnt you just check for that name and use a switch to use an alternate category? Werieth (talk) 13:23, 13 February 2014 (UTC)
 * I don't think that's a good idea for a template, which can have 10 parameters for video game consoles, and this parameter could be in anyone of them. Also this is a rather general BRFA, and using switch would be not feasible in all cases. Armbrust The Homunculus 13:36, 13 February 2014 (UTC)
 * . I looked into this one, and reckoned it could be done quite easily by using a sub-template to process the parameter. Ping me if you would like me to implement it. -- Brown HairedGirl (talk) • (contribs) 16:32, 13 February 2014 (UTC)
 * Okay, but if you implement it, than what will I use to trial the bot? Armbrust The Homunculus 17:32, 13 February 2014 (UTC)
 * Not sure this bot is a good idea. In most cases fixing the template is the better solution. Werieth (talk) 17:54, 13 February 2014 (UTC)
 * Sometimes maybe, but certainly not always. Making template, like Image requested, more complex just for the renaming of a category is overkill. Also IMO if implements his her idea, than it should cover every video game consoles should be considered in the subtemplate, and this not just this case. Like PS2 for Playstation 2 or PSP for PlayStation Portable. Armbrust The Homunculus 18:00, 13 February 2014 (UTC)
 * And even after the template is fixed, it would need some time before the category empties, and it can't be deleted until than. Armbrust The Homunculus 18:01, 13 February 2014 (UTC)
 * His? :(
 * No problem in extending the sub-template for other consoles. I'll do a test run. -- Brown HairedGirl (talk) • (contribs) 19:03, 13 February 2014 (UTC)
 * Sorry. . (It should have a wide variety for Windows.) Armbrust The Homunculus 19:21, 13 February 2014 (UTC)
 * Sub-template now created at Template:Non-free video game cover/platform. (abbreviations expanded for values PSP, PS2, NES)
 * Sandbox test version at Template:Non-free video game cover/sandbox.
 * Test cases now created at Template:Non-free video game cover/testcases.
 * Lemme know what you think. -- Brown HairedGirl (talk) • (contribs) 21:16, 13 February 2014 (UTC)
 * Added more parameters, but it looks okay to me. Armbrust The Homunculus 22:33, 13 February 2014 (UTC)
 * OK, I'll go live with it. -- Brown HairedGirl (talk) • (contribs) 22:54, 13 February 2014 (UTC)


 * Armbrust The Homunculus 23:31, 13 February 2014 (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.