Wikidata:Requests for permissions/Bot/EstonianHeritageBot
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:29, 4 December 2017 (UTC)[reply]
EstonianHeritageBot[edit]
EstonianHeritageBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Reosarevok (talk • contribs • logs)
Task/s: To import data from Estonian National Registry of Cultural Monuments (Q3743725) into items with Estonian cultural monument ID (P2948)
Code: Github
Function details: Given an item with Estonian cultural monument ID (P2948) missing heritage designation (P1435), scrape the appropriate Estonian National Registry of Cultural Monuments (Q3743725) page to obtain heritage designation (P1435) and its relevant start time (P580) (registration time) and add the info. --Reosarevok (talk) 13:48, 28 November 2017 (UTC)[reply]
- 15 item test run made. Had some initial issues with date and throttling so the very first edits are not representative of the current code, but it works fine now with a 30s delay --Reosarevok (talk) 13:51, 28 November 2017 (UTC)[reply]
- Another 15 item (45 edit) run made, since 50 edits seem to be the minimum :) --Reosarevok (talk) 14:14, 28 November 2017 (UTC)[reply]
- The data is also available as open data (e.g. at https://register.muinas.ee/rest/v1/monuments/6913 for http://register.muinas.ee/public.php?menuID=monument&action=view&id=6913) this would probably be much easier to parse. /André Costa (WMSE) (talk) 14:37, 1 December 2017 (UTC)[reply]
- I only found out about this option after I had written the bot code, but I might eventually change it to use this, especially for further tasks --Reosarevok (talk) 13:54, 2 December 2017 (UTC)[reply]
- I am going to approve the bot in a couple of days provided there have been no objections made.--Ymblanter (talk) 21:06, 1 December 2017 (UTC)[reply]