Wikipedia:Bots/Requests for approval/TheCowBot
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: TheImaCow (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 08:51, Sunday, December 5, 2021 (UTC)
Function overview: Removes "living=yes, blp=yes" Replaces it with living=no and similar from article talk pages, if the article is no longer a BLP.
Automatic, Supervised, or Manual: Automatic
Source code available: AWB find&replace
Links to relevant discussions (where appropriate):
Edit period(s): When needed
Estimated number of pages affected: ~5000
Namespace(s): Talk
Exclusion compliant (Yes/No): Yes
Function details: When people die, their articles are often quickly updated. However, the talk pages are often forgotten and continue to have the |living=yes parameter in the wikiproject banners even though they are no longer alive, meaning the article is marked as BLP even though it is no longer one. All pages linked from Wikipedia:Database reports/Potential biographies of dead people (3) will be affected, i checked around 300 articles there and haven't found any false positives. (all having living=yes but are not actually living)
The Regex script finds all instances of |living=yes or |blp=yes in an article's talk page and deletes them. I have tested it extensively and it works just fine, not too much is deleted and no blank lines are left.
Discussion
[edit]Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Bot has been added to AWB Checkpage, will get bot flag if approved. Primefac (talk) 13:34, 5 December 2021 (UTC)[reply]
- Trial complete. [1] --TheImaCow (talk) 15:29, 5 December 2021 (UTC)[reply]
- I see no problems, except that "| blp=yes" was ignored a few times (like here), but i have fixed that now. --TheImaCow (talk) 15:32, 5 December 2021 (UTC)[reply]
- I noticed that it's probably better to replace living=yes with living=no instead of removing it, otherwise Category:Biography articles without living parameter will be flooded. I have changed the code to do this instead. --TheImaCow (talk) 05:27, 9 December 2021 (UTC)[reply]
- {{BAG assistance needed}} --TheImaCow (talk) 09:10, 13 December 2021 (UTC)[reply]
- Approved. This is under the assumption that it's replaced and not removed entirely. Primefac (talk) 09:41, 16 December 2021 (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 Wikipedia:Bots/Noticeboard.