-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for File captions #92
Comments
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 |
All valid language codes for captions This will get you the captions for a given mediainfo entity https://commons.wikimedia.org/w/api.php?action=wbgetentities&ids=M3908058 |
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. |
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 ;) |
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 |
The best way currently in my opinion is to first do the upload with Pattypan and then use Quickstatements for the structured data/captions. |
Thank you, I try two maps today and it worked. |
How do you add captions with QS? |
(This is a subtask of #49)
File captions have been deployed to Wikimedia Commons last week. Support in Pattypan would be awesome :)
For the similar issue on the Commons Android App, see commons-app/apps-android-commons#2297
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?)The text was updated successfully, but these errors were encountered: