OpenHistoricalMap/issues

Inspector should discover Wikipedia article through Wikidata

Open

#584 opened on Aug 16, 2023

View on GitHub
 (12 comments) (1 reaction) (1 assignee) (2 forks)auto 404
good first issueinspectorlinked data

Repository metrics

Stars
 (31 stars)
PR merge metrics
 (PR metrics pending)

Description

If a feature is tagged with wikipedia, the inspector will show a multimedia excerpt of the Wikipedia article. It should do the same if the feature is only tagged with wikidata but not wikipedia. For example, this relation is tagged wikidata=Q3275007; since Q3275007 on Wikidata links to the article “Lunken Airport” on the English Wikipedia, the inspector should show an excerpt from that article, including the following image:

To determine the Wikipedia article associated with a Wikidata QID, we could use the Wikidata API or Hub.

Contributor guide