Modify

Opened 10 years ago

Closed 8 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

[2] https://www.wikidata.org/wiki/Q16908818

Attachments (0)

Change History (5)

comment:1 by pigsonthewing, 10 years ago

Component: CorePlugin wikipedia
Owner: changed from team to simon04

comment:2 by pigsonthewing, 10 years ago

comment:3 by anonymous, 9 years ago

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

comment:5 by simon04, 8 years ago

Resolution: fixed
Status: newclosed

Fetching implemented in [o31852:31854]

Validation → #12219

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.