Skip to content

Support for File captionsΒ #92

Open

Description

@JeanFred

(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?)

Activity

  1. Ash-Crow commented on Jan 29, 2019

    @Ash-Crow
    Contributor

    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

  2. addshore commented on Feb 5, 2019

    @addshore

    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

    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

  3. Abbe98 commented on Feb 5, 2019

    @Abbe98
    Collaborator

    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/

  4. Ash-Crow commented on Feb 5, 2019

    @Ash-Crow
    Contributor

    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

    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 ;)

  5. Luke-74 commented on Feb 23, 2021

    @Luke-74

    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

  6. Abbe98 commented on Feb 23, 2021

    @Abbe98
    Collaborator

    The best way currently in my opinion is to first do the upload with Pattypan and then use Quickstatements for the structured data/captions.

  7. Luke-74 commented on Feb 24, 2021

    @Luke-74

    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.

  8. Battleofalma commented on Aug 6, 2021

    @Battleofalma

    The best way currently in my opinion is to first do the upload with Pattypan and then use Quickstatements for the structured data/captions.

    How do you add captions with QS?
    SD I get as it's Mnumber Pnumber Qnumber but what's the syntax for captions? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions