Page MenuHomePhabricator

Create a one-click function to upload a found image to Wikimedia Commons
Closed, InvalidPublic

Description

Where
Vue function that can be attached to different parts of the UI as part of another action or in itself

  • Image actions (image actions menu, image section mass actions, image viewer)
    • Save image to a list
    • Promote image to header picture
  • Blacklist an image / disassociate with a topic (image actions menu, image section mass actions)
  • Use a tool such as geotagging (image actions menu, image viewer)
  • Modify any parameter in the metadata (image viewer metadata editing section)

What

  • Invoke OAuth
  • Check image hash for duplicates
  • Upload image file
  • Write original string values to SDC properties that accept string values. Note on source language.
  • If there are automatically mapped item-values for properties, upload those to respective properties in SDC. (*
  • Properties in SDC that expect items cannot be imported. They will display as not resolved (red) in the metadata viewer. They need user interaction to be resolved and updated.
  • The linked Wikimedia user will be noted as the uploader. Generally, the originating GLAM, the distribution platform and the image license can be recorded.

*) Every user interaction could contribute to a match database on Wikidocumentaries. This data should include the combination of

  • the string value
  • the Wikidata/Wikidocumentaries property
  • the linked Wikidata/Wikidocumentaries item
  • enough context, TBD: The originating institution (for example, a certain GLAM uses a character combination to define a certain location. This string is connected with a Wikidata item, but it is only valid in the metadata of this GLAM or their collection.)