Wikidata:Requests for permissions/Bot/DanmicholoBot 4
- 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:16, 16 November 2015 (UTC)[reply]
DanmicholoBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Danmichaelo (talk • contribs • logs)
Task/s: Import CRIStin ID (P2287) from no.wikipedia
Code:
Function details:
- For every page on Norwegian Bokmål Wikipedia that embeds Template:Cristin (1425 pages), the bot 1) grabs the Cristin identifier from the first anonymous value and 2) adds a CRIStin ID (P2287) claim to the linked Wikidata element.
- If more than one template is found at any given page, the bot skips that page and writes it to a log for manual handling later.
- It will also add instance of (P31) = human (Q5) if not present, and sex or gender (P21) if the information is found in the CRIStin database.
--Danmichaelo (talk) 21:38, 8 November 2015 (UTC)[reply]