Wikidata:Requests for permissions/Bot/Balyozbot
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) 20:17, 27 December 2023 (UTC)[reply]
Balyozbot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Balyozxane (talk • contribs • logs)
Task/s:
- Import sitelinks, labels, descriptions from ku wikipedia pages which use the template w:ku:Template:Înterwîkî etîket û danasîn. (There are over 1800 articles that use this template waiting to be connected to Wikidata at the moment.)
- Add sitelinks to kuwiktionary / kuwikipedia categories / create an item for the category if necessary. I have been doing this manually for quite some time using Quickstatements but since I need to get permission for the first task, I will be handling them using a bot as well.
Code:
- For the first task, I will use addSitelinkandLabel.py
- For the second task, I will use interwikidata.py
Function details:
- The first bot goes over pages transcluding w:ku:Template:Înterwîkî etîket û danasîn. The bot sets the sitelink, then adds the label and description if there is none. If there is existing label or description, it skips this part. If the sitelink is a redirect, it adds the kuwiki sitelink to the redirect target. If the target page is in w:en:Category:Disambiguation pages, it adds a category related to this problem to the page and skips the setting sitelink, label and description.
- The second bot connects pages to Wikibase items using language links on the page. If multiple language links are present, and they are connected to different items, the bot skips. After connecting the page to an item, language links are removed from the page. --Balyozxane (talk) 14:06, 21 December 2023 (UTC)[reply]
- I have made some test edits (over 180 edits to over 60 items). Balyozxane (talk) 14:54, 21 December 2023 (UTC)[reply]
- I am going to approve the bot in couple of days provided no objections have been raised. Ymblanter (talk) 20:12, 25 December 2023 (UTC)[reply]