Wikidata:Requests for permissions/Bot/William Avery Bot 6
- 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) 18:21, 28 June 2022 (UTC)[reply]
William Avery Bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: William Avery (talk • contribs • logs)
Task/s: Increment Shakeosphere person ID by 24638, as discussed at WD:RBOT § Shakeosphere person ID
Function details:
I scanned the items with this property, and the vast majority of the IDs require incrementing by 24638 to link to the relevant page on Shakeosphere (Q24284201). Nobody has expressed any desire to delete this property on the grounds of instability.
Items where the Shakeosphere ID has a reference with retrieved (P813) on or after 10 June 2022 are ignored, on the assumption that their Shakeosphere ID has already been corrected.
The script increments the existing ID by 24638, then attempts to retrieve the corresponding Shakeosphere page.
An attempt is made to match the title of the Shakeosphere page with the names and aliases on the Wikidata item.
The result of the matching is output to a report page to aid checking. (Example at User:William Avery Bot/Shakeosphere report)
Results of previously running this matching indicate that in all cases where the new ID corresponds to a valid Shakeospere page the new ID is correct.
Any existing references on Shakeosphere ID are replaced with new references, including retrieved (P813) and subject named as (P1810), and the Shakespere ID is updated to the new value
Tests: I have done a few tests running the script against individual items to update under my own user:
- Raimondo Cocchi (Q55955507) diff
- Edward Buckler (Q62414748) diff
- Johann Andreas Eisenmenger (Q67575) diff
- Charles Stanley, 8th Earl of Derby (Q5082632) diff
- John Theophilus Desaguliers (Q658008) diff
--William Avery (talk) 10:13, 11 June 2022 (UTC)[reply]
Bulk test: If there are no objections, I will do a test run of 50 edits on 27/06/2022. William Avery (talk) 12:12, 24 June 2022 (UTC)[reply]
A test run against 50 items updated 49 of them. Contribution list here. Report page is User:William Avery Bot/Shakeosphere test.
The following cases highlighted on the report page needed manual actions.
- James Bate (Q15070106) - broken in a way that didn't fit the expected pattern. Highlighted in purple on the report page. I have updated the item manually.
- Gerrard Winstanley (Q964050) - an unreferenced value of Shakeosphere ID has been added after the IDs changed. Highlighted in red on the report page. I have manually reverted the update and added a reference, so the bot will ignore the item in future.
The report page allows anomalies like the two above to be detected and investigated, so I see no reason not to approve this task. William Avery (talk) 12:55, 27 June 2022 (UTC)[reply]