Page MenuHomePhabricator

Improve configurability of the location field
Closed, ResolvedPublic

Description

It should be possible to specify through config which subfields in the location widget are visible. Possible fields:

  • latitude
  • longitude
  • altitude (currently unavailable, but may be useful to some)
  • heading (currently always enabled, not that useful for many, should be hideable)

To consider: how should we handle validation of this? Hardcode it, allow external validators?
Maybe we should introduce fully configurable compound fields with aggregated validation? The location field would be a good use case for that, but are there any other potential uses?

Event Timeline

Ostrzyciel created this task.
Ostrzyciel moved this task from To Triage to Feature on the MediaUploader board.

Change 784667 had a related patch set uploaded (by Ostrzyciel; author: Ostrzyciel):

[mediawiki/extensions/MediaUploader@master] Improve configurability of the location field

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

Ostrzyciel claimed this task.

Change 784667 merged by jenkins-bot:

[mediawiki/extensions/MediaUploader@master] Improve configurability of the location field

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