Page MenuHomePhabricator

Add support for geo-coordinate Wikibase datatype for statements about commons files
Open, Needs TriagePublic

Description

User story: As a uploader, I want geo-coordinate support, so that I can specify the exact locations of where the image was taken or the objects portrayed in it.

We have this:
On the front-end, we currently only support statements which take as their input Wikidata entities or quantities

We want this:
We should have support geocoordinate input (at the very least at the same level as Wikidata does)

This ticket is for geo-coordinate support for main statements, and should only be attempted once T224060 (the same thing for qualifiers only) is done

Acceptance Criteria:

  • Users can add statements about files that have geo-coordinate values
  • Users can edit geo-coordinate values for statements
  • Users can see geo-coordinate values for statements
  • Precision (arcminute, arcsecond, ...) can be specified
  • All of the above should be available on the File page and in UploadWizard

QA Results

Details

Related Gerrit Patches:
mediawiki/extensions/WikibaseMediaInfo : masterImplement statement-level support for coordinates

Event Timeline

Cparle created this task.Sep 4 2019, 11:05 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 4 2019, 11:05 AM

Precision is currently not very user friendly on Wikidata if you want to set it. You might want to improve on that a bit and maybe can be backported later to Wikidata.

Change 554310 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Implement statement-level support for coordinates

https://gerrit.wikimedia.org/r/554310

Change 554310 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Implement statement-level support for coordinates

https://gerrit.wikimedia.org/r/554310

Ramsey-WMF added subscribers: matthiasmullie, Ramsey-WMF.

Assigning this one to Edward for a more thorough look.

Edtadros reassigned this task from Edtadros to Ramsey-WMF.Tue, Jan 21, 4:25 PM
Edtadros added a subscriber: Edtadros.

Test Result

Status: ✅ PASS
OS: macOS Catalina
Browser: Chrome
Device: MBP
Emulated Device: iPhoneX

Test Artifact(s):

File Page
https://commons.wikimedia.org/wiki/File:Malibu-superbloom.jpg

✅ AC1: Users can add statements about files that have geo-coordinate values


✅ AC2: Users can edit geo-coordinate values for statements

✅ AC3: Users can see geo-coordinate values for statements

✅ AC4: Precision (arcminute, arcsecond, ...) can be specified

UploadWizard
https://commons.m.wikimedia.org/wiki/File:Casino_Monte-Carlo.jpg

✅ AC5: Users can add statements about files that have geo-coordinate values

✅ AC6: Users can edit geo-coordinate values for statements

✅ AC7: Users can see geo-coordinate values for statements

✅ AC8: Precision (arcminute, arcsecond, ...) can be specified

Edtadros updated the task description. (Show Details)Tue, Jan 21, 4:26 PM