Opened 5 years ago

Closed 4 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:


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).



Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by pigsonthewing

Component: CorePlugin wikipedia
Owner: changed from team to simon04

comment:2 Changed 5 years ago by pigsonthewing

comment:3 Changed 4 years ago by anonymous

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

comment:5 Changed 4 years ago by simon04

Resolution: fixed
Status: newclosed

Fetching implemented in [o31852:31854]

Validation → #12219

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.