Wikipedia:Bots/Requests for approval/BattyBot 30
- 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 Approved.
Operator: GoingBatty (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
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 |living=yes
or |living=no
to {{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 {{WikiProject Biography}} for living people with |living=yes
and dead people with |living=no
. This would be determined as follows:
- If the corresponding article contains
[[Category:Living people]]
or[[Category:Possibly living people]]
, add|living=yes
. (e.g. this edit) - If the corresponding article contains
[[Category:#### deaths]]
,[[Category:####s deaths]]
,[[Category:### deaths]]
,[[Category:###s deaths]]
,[[Category:Year of death missing]]
,[[Category:Year of death unclear]]
, or[[Category:Year of death unknown]]
, add|living=no
. (e.g. this edit)
WikiProject template substitution and other talk page general fixes will be done at the same time.
Discussion
[edit]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)[reply]
- 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? Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Snowolf How can I help? 17:45, 7 June 2014 (UTC)[reply]
- Trial complete. - see diffs.
- Well, I wasn't expecting talk pages to have both {{WPBiography}} and {{WikiProject Biography}}. After the first time the bot changed
|living=yes
to|living=yesyes
in 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 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)[reply]
- How would you feel about a quick 30 edits trial to ensure everything is ironed out and ready? Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Snowolf How can I help? 01:08, 8 June 2014 (UTC)[reply]
- @Snowolf: Trial complete. - see diffs. GoingBatty (talk) 03:05, 8 June 2014 (UTC)[reply]
- Will review either later today or tomorrow and comment here :) Snowolf How can I help? 03:37, 8 June 2014 (UTC)[reply]
- I don't see mistakes, and such type of editing is absolutely productive. OccultZone (Talk) 07:38, 8 June 2014 (UTC)[reply]
- Will review either later today or tomorrow and comment here :) Snowolf How can I help? 03:37, 8 June 2014 (UTC)[reply]
- @Snowolf: Trial complete. - see diffs. GoingBatty (talk) 03:05, 8 June 2014 (UTC)[reply]
- How would you feel about a quick 30 edits trial to ensure everything is ironed out and ready? Approved for trial (30 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Snowolf How can I help? 01:08, 8 June 2014 (UTC)[reply]
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)[reply]
- @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
|living=yes
parameter. Then I do the same steps for the deaths categories and add|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 {{WikiProject Biography}} and possibly add {{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
|living=
parameter exists, or add|living=yes
or|living=no
if the parameter doesn't exist.
- 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
- 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
|living=
for edge cases as needed. GoingBatty (talk) 17:20, 9 June 2014 (UTC)[reply]- (BAG) @Magioladitis:, are you happy with GoingBatty's reply? You're obviously knowledgeable in this area. - Jarry1250 [Vacation needed] 21:02, 17 June 2014 (UTC)[reply]
- @Jarry1250: Yes! this is exactly the way I work on this task too. -- Magioladitis (talk) 21:09, 17 June 2014 (UTC)[reply]
- In which case, Approved. (hope you don't mind, Snowolf). But do edit with care, please. - Jarry1250 [Vacation needed] 21:14, 17 June 2014 (UTC)[reply]
- @Jarry1250: Yes! this is exactly the way I work on this task too. -- Magioladitis (talk) 21:09, 17 June 2014 (UTC)[reply]
- (BAG) @Magioladitis:, are you happy with GoingBatty's reply? You're obviously knowledgeable in this area. - Jarry1250 [Vacation needed] 21:02, 17 June 2014 (UTC)[reply]
- 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.