User:FinnaUploadBot
Hi, this is human-operated script that uploads single pictures from Finna-service. Metadata used is licenced as CC0 and script will check the licence of the picture before it tries to copy the file. User is used for massuploading Finna photos and also updating SDC, categories and wikitext of existing Finna photos. The script is operated by user:Zache and User:Ipr1.
- FinnaUploadBot Upload log
- FinnaUploadBot2 Upload log
- category:Files uploaded by FinnaUploadBot (tracking categories)
Upload requests
[edit]Adding SDC values
[edit]Bot will find Finna images using external links of the page. Images with links to helsinkikuvia.fi, kuvakokoelmat.fi, sa-kuva.fi, *.finna.fi or selected Europeana links are considered potential Finna images. When image is found it will try find correct Finna record from URL. If Finna record is found it will confirm that image is same in commons and Finna using perceptual hashes (frequencies) and difference hash (gradients).
Uploading files
[edit]Wikitext
[edit]- Bot adds a working link to Finna description page (metapage) to the wikitext.
- Bot adds accession number (identifier) to the wikitext.
- Example Images
Added SDC properties
[edit]- creator (P170)
- depicts (P180)
- copyright status (P6216)
- copyright license (P275)
- collection (P195)
- source of file (P7482)
- media type (P1163)
- Finna ID (P9478)
- Finnish National Gallery artwork ID (P9834)
- pHash checksum (P9310)
- Imagehash difference hash (P12563)
- location of creation (P1071)
Categories
[edit]The bot will try to add the following categories
- Creator category (example: Photographs by Simo Rista)
- Year category (example: 1970 in Helsinki)
- Place category (example: Mannerheimintie)
- based on depicted place values. If there is a direct match between Finna placename and wikidata-item (via YSO ID (P2347) if possible but also using internal mappings)
- based on street address. Following rules needs to be true
- photos street address and wikidata item is same
- AND photo has been taken between wikidata items inception (P571) and dissolved, abolished or demolished date (P576) dates
- AND the label of the wikidata item is in photos description text.
- based on custom regexp/subcat rules
- Current rules are defined here: User:FinnaUploadBot/autocat
- Other rules
- If there are both parent and child categories in the article then the bot will remove the parent category
- If the category has been in the article before then the bot will not re-add it (ie. it tracks oldcategories from revision history)