Opened 11 years ago
Closed 10 years ago
#10148 closed enhancement (fixed)
Fetch Wikidata ID if Wikipedia tag used
| Reported by: | pigsonthewing | Owned by: | simon04 |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin wikipedia | Version: | |
| Keywords: | Wikipedia, Wikidata | Cc: |
Description
Wikipedia plugin:
If a user enters a Wikipedia tag, wikipedia=xx:foo (where "xx" is a two-letter ISO language code, and "foo" is the tile of a Wikipedia article), lookup (via the Wikidata API) and include the related Wikidata item.
For example, for "wikipedia=en:St James' Church, Handsworth", the Wikidata item's ID is "Q16908818"; see [1], [2].
Show a validator warning if no Wikidata item is found (the Wikidata item may not exist yet; or the value entered may contain an error.
Show a validator warning if two or more Wikipedia articles are linked, with different Wikidata item IDs (may indicate an error; or there may be duplicates on Wikidata).
[1] https://en.wikipedia.org/wiki/St_James%27_Church,_Handsworth
Attachments (0)
Change History (5)
comment:1 by , 11 years ago
| Component: | Core → Plugin wikipedia |
|---|---|
| Owner: | changed from to |
comment:2 by , 11 years ago
comment:3 by , 10 years ago
comment:4 by , 10 years ago
comment:5 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fetching implemented in [o31852:31854]
Validation → #12219



Wikipedia and Wikidata don't have a 1:1 relation.