Page MenuHomePhabricator

GeoPoints via QID
Closed, ResolvedPublic3 Estimated Story Points

Description

Add the option to create a map with GeoPoints by entering wikidata ids (QID) similar to GeoShapes.

<mapframe text="A geoshape of Alaska" width=300 height=300 zoom=3 longitude=-152.58 latitude=64.01>
{
  "type": "ExternalData",
  "service": "geoshape",
  "ids": "Q797"
}
</mapframe>
Acceptance criteria:
  • Make property id for the Wikibase location configurable ( currently it's hard coded as P625 )
Tech Review

Set enableGeopoints: true in the config.docker.yaml file.

<mapframe text="Geopoints of Israel and Jerusalem" width="300" height="300" zoom="5" longitude="31.77917" latitude="35.22361" align="center">
{
  "type": "ExternalData",
  "service": "geopoint",
  "ids": "Q1218, Q801"
}
</mapframe>

Event Timeline

Change 779055 had a related patch set uploaded (by Svantje Lilienthal; author: Svantje Lilienthal):

[mediawiki/services/kartotherian@master] Added QID input for GeoPoints

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

lilients_WMDE updated the task description. (Show Details)
lilients_WMDE set the point value for this task to 3.

Change 779055 merged by jenkins-bot:

[mediawiki/services/kartotherian@master] Added QID input for GeoPoints

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

Change 785178 had a related patch set uploaded (by Svantje Lilienthal; author: Svantje Lilienthal):

[mediawiki/services/kartotherian@master] Make coordinate property id configurable

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

Change 785178 merged by jenkins-bot:

[mediawiki/services/kartotherian@master] Make coordinate predicate id configurable

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

Change 789809 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/services/kartotherian@master] Fix incomplete array length check in _runWikidataQuery

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

Change 789809 abandoned by Thiemo Kreuz (WMDE):

[mediawiki/services/kartotherian@master] Fix incomplete array length check in _runWikidataQuery

Reason:

Obsolete via Id27701c.

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