Wikidata:Requests for permissions/Bot/TiagoLubianaBot 5 - Wikidata
- 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) 19:19, 10 February 2025 (UTC)[reply]
TiagoLubianaBot 5 (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: TiagoLubianaBot (talk • contribs • logs)
Task/s:
Add image (P18) or reference illustration (P13162) based on categories for botanical illustrations on Wikimedia Commons. Only add when only 1 or 2 files in category.
Code: https://github.com/lubianat/illustration_to_depicts_wikidata_bot
Function details:
It is often the case that curation of categories on Wikimedia Commons is not represented as structured data. This bot aims at filling the gap for biological illustrations on Wikidata using, as reference, Wikimedia Commons categories dedicated to botanical illustrations. It will parse all categories that include a species name followed by "- botanical illustration" and a couple of other similar heuristics
The upper limit of edits is likely to be around 30k (as per this PetScan query, which indicates the number of botanical illustration categories: https://petscan.wmcloud.org/?psid=31751874).
The bot will only add values to Wikidata if there are 1 or 2 files in the category. It will add image (P18) values if they do not exist, otherwise add reference illustration (P13162).
Current code is set to run given a taxonomic family (say, c:Category:Myrtaceae_botanical_illustrations) for the first edits, and will be adapted to run for all of them after extensive tests.
--TiagoLubianaBot (talk) 17:26, 5 February 2025 (UTC)[reply]
- Here is a set of 50 edits showing what this bot task does: https://editgroups.toolforge.org/b/CB/caf19a822f8c/ TiagoLubianaBot (talk) 18:52, 5 February 2025 (UTC)[reply]
Notified participants of WikiProject Biodiversity - 11:33, 6 February 2025 (UTC)
- @Ymblanter: Hi! If you have some time, would you care taking a look at this request? TiagoLubiana (talk) 14:38, 7 February 2025 (UTC)[reply]
- I am fine with the edits, but let us wait for a couple of days. Ymblanter (talk) 17:30, 7 February 2025 (UTC)[reply]
The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.