Page MenuHomePhabricator

[MEX] M4.1.4 - First Pass - coordinates datatypes
Closed, ResolvedPublic

Description

As a user, I want to add Statements using coordinate datatypes to Wikidata, and see them displayed on the main page.

Screenshot 2026-01-12 at 12.08.13.png (668ร—2 px, 423 KB)

Figma File

  • Once any property related to coordinates is selected: the input field for coordinates appears
  • When the input field is active, the native keyboard is activated - we need letters numbers and punctuation
    • discuss with team how to make paste action easier, since this is probably what users do most and can be tricky

Screenshot 2026-01-12 at 12.08.35.png (1ร—2 px, 654 KB)

Once there is something in the input field:

  • The popover for coordinates appears
  • The display for coordinate rendering and precision starts reflecting the changes
  • If the coordinate is not valid: display "Malformed value"
  • If the coordinate is valid, the map appears and the publish button becomes blue (default state)
  • The map is view only, moving around does not change the coordinate input
  • Discuss with team if we should have a full view on mobile
  • The links to wikimedia maps and openstreet maps are to be open in new tabs

The precision button & drop-down:

Screenshot 2026-01-12 at 12.08.24.png (1ร—1 px, 264 KB)

  • Are native components and will look different according to operating system.
  • These allows the user to override the automatic selection, and select their own.
  • The button itself should be big enough to display the word automatic in whatever is the display language*, in a font size 12
  • If the user selects something other than "automatic":
    • the location rendered and the precision value update accordingly
    • The selection reflects in the button, truncated to the same amount of letters that the word automatic has in the displayed language* OR if easier, lets say 10 values. This will make the value in the button hard to decifer, but the precision will be stated in front in the big display anyway. It is only important for the user to understand that it is not longer in automatic modus
  • the drop-down also allows the user to revert back into automatic selection: this is the first option in the menu

*in the case of english 9 - in the case of german "automatisch" 11, for example.

Related Objects

Event Timeline

karapayneWMDE renamed this task from [MEX] M4.1.4 - Create editing functionality for Statements on Items using coordinates datatypes on mobile to [MEX] M4.4 - Functional - coordinates datatypes.Nov 24 2025, 8:40 AM
karapayneWMDE renamed this task from [MEX] M4.4 - Functional - coordinates datatypes to [MEX] M4.1.4 - First Pass - coordinates datatypes.Nov 24 2025, 8:47 AM

@Alice.moutinho Regarding the point "Discuss with team if we should have a full view on mobile" .. what do you mean by full view in this context?

Change #1229584 had a related patch set uploaded (by Sadiya.mohammed13; author: Sadiya.mohammed13):

[mediawiki/extensions/Wikibase@master] Add first pass support for globe-coordinate datatype using existing value strategy

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

Change #1229584 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Support globe coordinate datatype editing

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