Wikidata:Requests for permissions/Bot/Pi bot 24
- 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) 20:26, 26 February 2022 (UTC)[reply]
Pi bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Mike Peel (talk • contribs • logs)
Task/s: Import authority control IDs from Wikipedias
Code: Available on Github
Function details: The code runs through en:Category:Wikipedia categories tracking data not in Wikidata, checking each subcat against a predefined whitelist, fetching the template name and the property ID from the category information, and then going through the articles within the category to import IDs into Wikidata. It uses a whitelist to avoid importing IDs where the import format hasn't been checked (the mirror script at [1] will be used to check the code works OK before bot runs), and where bad IDs are frequently added to the Wikipedia articles. It currently runs on English Wikipedia, but may be extended to other Wikipedias in the future. Example edits: [2] [3] [4]. The script would normally run twice weekly (but would be run more frequently when being tested/expanded, particularly at the start of the process). Thanks. Mike Peel (talk) 21:01, 18 January 2022 (UTC)[reply]
- Nice. Does it check the P31 of items it adds to ? --- Jura 14:32, 19 January 2022 (UTC)[reply]
- I prefer to keep the bot simple if possible, but a P31 check would be straightforward to add if needed (providing the list of values to check against is small). Thanks. Mike Peel (talk) 09:51, 20 January 2022 (UTC)[reply]
- Every identifier has relevant constraint to ensure it doesn't get added to the wrong type of item.
- Will it check distinct and single value constraints? --- Jura 08:52, 22 January 2022 (UTC)[reply]
- No: that's what the constraint violation reports are for. Thanks. Mike Peel (talk) 09:13, 22 January 2022 (UTC)[reply]
- Bots shouldn't create constraint violating claims. This is considered bot malfunction. --- Jura 10:08, 22 January 2022 (UTC)[reply]
- @Jura1: Constraints are mostly guidelines, not absolutes. If the import does cause constraint violations, then that's a good way to find cases to clean up the data both here and on the Wikipedia. Thanks. Mike Peel (talk) 20:19, 22 January 2022 (UTC)[reply]
- Will you do that or do you count on others fixing your bot's edits? --- Jura 20:24, 28 January 2022 (UTC)[reply]
- @Jura1: You seem to assume it's one or the other. If it turns out to be necessary, then I'll change the bot code. But right now I'm not convinced that it is necessary. Thanks. Mike Peel (talk) 19:42, 29 January 2022 (UTC)[reply]
- Will you do that or do you count on others fixing your bot's edits? --- Jura 20:24, 28 January 2022 (UTC)[reply]
- @Jura1: Constraints are mostly guidelines, not absolutes. If the import does cause constraint violations, then that's a good way to find cases to clean up the data both here and on the Wikipedia. Thanks. Mike Peel (talk) 20:19, 22 January 2022 (UTC)[reply]
- I prefer to keep the bot simple if possible, but a P31 check would be straightforward to add if needed (providing the list of values to check against is small). Thanks. Mike Peel (talk) 09:51, 20 January 2022 (UTC)[reply]
- Support. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:48, 31 January 2022 (UTC)[reply]
- Support--So9q (talk) 14:34, 3 February 2022 (UTC)[reply]
- I am leaning towards approval.--Ymblanter (talk) 19:43, 24 February 2022 (UTC)[reply]