Wikidata:Requests for permissions/Bot/PangolinBot
From Wikidata
Jump to navigation
Jump to search
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 19:18, 5 May 2022 (UTC)[reply]
PangolinBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: PangolinMexico (talk • contribs • logs)
Task/s: Automatically replace one property value with another
Code: https://github.com/colonelsheep/pangolinbot/blob/main/pangolinbot.py
Function details:
- Created to solve bot request by Emu[1]
- Takes a property and two values (the first one being the value to replace and the second one being the new value)
- Replaces the old value in the property with the new value.
- Can be used to update depreciated or incorrect values that exist across property pages.
- View test run here: https://www.wikidata.org/w/index.php?title=Special:Contributions/PangolinBot&dir=prev&offset=20220428181118&target=PangolinBot
- Currently only seeking approval to run once in order to replace pages occupation (P106) = feminist (Q34074720) to women's rights activist (Q28692502), as these all violate the value-type constraint.
--PangolinMexico (talk) 18:58, 28 April 2022 (UTC)[reply]
- Comment Just for background, I've been working with PangolinMexico through the contributions part of the Outreachy project phab:T300207, which included an intro to bot editing with Pywikibot. It's great to see them taking an initiative here tackling bot requests! Thanks. Mike Peel (talk) 20:02, 28 April 2022 (UTC)[reply]
- Comment The edits seems OK. Anyway, the task can be tackled also through the existing
{{Autofix}}
. --Epìdosis 16:44, 2 May 2022 (UTC)[reply] - I am going to approve the bot in a couple of days provided no objections have been raised.--Ymblanter (talk) 19:00, 3 May 2022 (UTC)[reply]