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 Bots/Noticeboard. The result of the discussion was

TheCowBot
Operator:

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

Programming language(s): AWB

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 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
Bot has been added to AWB Checkpage, will get bot flag if approved. Primefac (talk) 13:34, 5 December 2021 (UTC)
 * --TheImaCow (talk) 15:29, 5 December 2021 (UTC)
 * 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)
 * 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)
 * BAG assistance needed --TheImaCow (talk) 09:10, 13 December 2021 (UTC)
 * This is under the assumption that it's replaced and not removed entirely. Primefac (talk) 09:41, 16 December 2021 (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 Bots/Noticeboard.