You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to a comment by @addshore there, the way to do this is to make additional API calls to wbsetlabel, using the media ID (which is derived from the page_id, which I presume also needs to be retrieved post-upload via an API call?)
Currently all API calls/uploading etc goes through the wiki.java library. Any upstream enchantments related to this issue and future SDC features would help.
Hello, I don't know if this is correct way to ask and I apologize if I post this on wrong forum.
I want to upload more than 6OO maps, I tried pattypan and was successful with a small sample (3), except I wasn't able to fill in captions. Is there any progress with supporting it, or do you have alternatives, which could be used?
Activity
Ash-Crow commentedon Jan 29, 2019
Interface-wise, I think the easier way to support this would be to ask for a list of language codes and generate the relevant columns in the .xls
addshore commentedon Feb 5, 2019
All valid language codes for captions
https://commons.wikimedia.org/w/api.php?action=query&meta=wbcontentlanguages&wbclcontext=term&wbclprop=code%7Cautonym
This will get you the captions for a given mediainfo entity
https://commons.wikimedia.org/w/api.php?action=wbgetentities&ids=M3908058
Abbe98 commentedon Feb 5, 2019
Currently all API calls/uploading etc goes through the wiki.java library. Any upstream enchantments related to this issue and future SDC features would help.
https://github.com/MER-C/wiki-java/
Ash-Crow commentedon Feb 5, 2019
I meant, ask the user for the codes of the languages they intend to fill, not create 300-ish columns in the Excel file with all the valid languages ;)
Luke-74 commentedon Feb 23, 2021
Hello, I don't know if this is correct way to ask and I apologize if I post this on wrong forum.
I want to upload more than 6OO maps, I tried pattypan and was successful with a small sample (3), except I wasn't able to fill in captions. Is there any progress with supporting it, or do you have alternatives, which could be used?
Thank you for reply
Abbe98 commentedon Feb 23, 2021
The best way currently in my opinion is to first do the upload with Pattypan and then use Quickstatements for the structured data/captions.
Luke-74 commentedon Feb 24, 2021
Thank you, I try two maps today and it worked.
Battleofalma commentedon Aug 6, 2021
How do you add captions with QS?
SD I get as it's Mnumber Pnumber Qnumber but what's the syntax for captions? Thanks!