Wikipedia:Bots/Requests for approval/BattyBot 30

BattyBot 30

[[User:BattyBot|BattyBot 30]]

{{Newbot|BattyBot|30}}

Operator: {{botop|GoingBatty}}

Time filed: 00:49, Sunday June 1, 2014 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): AutoWikiBrowser

Source code available: AWB

Function overview: Add {{para|living|yes}} or {{para|living|no}} to {{tl|WikiProject Biography}}

Links to relevant discussions (where appropriate): Template:WikiProject Biography#Parameters, Wikipedia:Bots/Requests for approval/Yobot 3

Edit period(s): Occasional runs

Estimated number of pages affected: Approximately 2,000 initially to clear the category as much as possible, less in future runs

Exclusion compliant (Yes/No): Yes

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

Function details: For article talk pages in :Category:Biography articles without living parameter, update {{tl|WikiProject Biography}} for living people with {{para|living|yes}} and dead people with {{para|living|no}}. This would be determined as follows:

WikiProject template substitution and other talk page general fixes will be done at the same time.

=Discussion=

I support this BRFA since I ama doing this task since 2008 and I would like to find more supporters. - Magioladitis (talk) 12:19, 1 June 2014 (UTC)

:I'm rusty in my BAG role but the request looks good, how about we trial it a bit and then take it from there? {{BotTrial|edits=50}} Snowolf How can I help? 17:45, 7 June 2014 (UTC)

::{{BotTrialComplete}} - see {{UserContribs3|BattyBot|50|diffs|20140607225900}}.

::Well, I wasn't expecting talk pages to have both {{tl|WPBiography}} and {{tl|WikiProject Biography}}. After the first time the bot changed {{para|living|yes}} to {{para|living|yesyes}} in {{diff|Talk:Juan_Ramón_Ayala|612001008|611832777|this edit}}, I stopped the bot and fixed it, but didn't catch that it was adding an extra pipe in several edits such as {{diff|Talk:Solange_Azagury-Partridge|612001152|611848422|this edit}} until the first 22 edits were done. I combined the duplicate templates and removed any extra pipe in each page the bot edited, and asked the user who was adding the duplicate template to stop doing so.

::I'm happy to do another trial, if you would like to see a clean result before approving. GoingBatty (talk) 23:13, 7 June 2014 (UTC)

:::How would you feel about a quick 30 edits trial to ensure everything is ironed out and ready? {{BotTrial|edits=30}} Snowolf How can I help? 01:08, 8 June 2014 (UTC)

::::{{ping|Snowolf}} {{BotTrialComplete}} - see {{UserContribs3|BattyBot|30|diffs|20140608025800}}. GoingBatty (talk) 03:05, 8 June 2014 (UTC)

:::::Will review either later today or tomorrow and comment here :) Snowolf How can I help? 03:37, 8 June 2014 (UTC)

::::::I don't see mistakes, and such type of editing is absolutely productive. OccultZone (Talk) 07:38, 8 June 2014 (UTC)

GoingBatty a couple of questions:

:A. Do you use the same method as I to determine whether a page is about a dead or alive person? Do you check compare the list of pages without parameter with the xxxx deaths and Living people categories?

:B. Do you add the missing parameter using custom module? -- Magioladitis (talk) 06:52, 9 June 2014 (UTC)

:{{ping|Magioladitis}} Not sure exactly how your bot task works, but here's what mine does:

::A. First I load :Category:Biography articles without living parameter and convert the list from talk pages to article pages. I then preparse the list of articles to skip those articles without one of the living categories above. (No changes are made to article pages.) I then convert the list back to talk pages and add the {{para|living|yes}} parameter. Then I do the same steps for the deaths categories and add {{para|living|no}}.

::B. I load User:Magioladitis/WikiProjects as the custom module to convert WikiProject redirects to the real template, which makes it easier to find {{tl|WikiProject Biography}} and possibly add {{tl|WikiProjectBannerShell}} using AWB's general fixes (per another approved bot task). I then use advanced find and replace rules to add "yes" or "no" if the empty {{para|living}} parameter exists, or add {{para|living|yes}} or {{para|living|no}} if the parameter doesn't exist.

:I updated the list of deaths categories above. Once I run the bot tasks for all appropriate articles, I will then review the articles left in :Category:Biography articles without living parameter to add categories to articles as needed, update the list of categories the bot uses as needed, and manually update {{para|living}} for edge cases as needed. GoingBatty (talk) 17:20, 9 June 2014 (UTC)

::(BAG) {{ping|Magioladitis}}, are you happy with GoingBatty's reply? You're obviously knowledgeable in this area. - Jarry1250 [Vacation needed] 21:02, 17 June 2014 (UTC)

:::{{ping|Jarry1250}} Yes! this is exactly the way I work on this task too. -- Magioladitis (talk) 21:09, 17 June 2014 (UTC)

::::In which case, {{BotApproved}} (hope you don't mind, Snowolf). But do edit with care, please. - Jarry1250 [Vacation needed] 21:14, 17 June 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.