Page MenuHomePhabricator

External identifiers' ID-links generated from P1630 ’formatter URL’. only point at one language-URL
Closed, DuplicatePublic

Description

We have noticed the following bug: External identifiers with formatter URL (P1630) entered for more than one language (P407) only creates a link to one language on the object's page at wikidata.org instead of a separate language specific link for each URL.

We have noticed this is a general bug for more than 400 external identifier properties that have URL formats entered for more than one language (see query) and many more objects that use those properties.

Bug example Kaj Arnö (Q6348774) has P8309 Yle topic ID filled in twice with the value "18-284310" - one with qualifier P407 language Swedish, one with Finnish. The bug is that both links at https://www.wikidata.org/wiki/Q6348774 point at the Finnish URL (https://yle.fi/aihe/t/18-284310), even though the Yle topic ID has separate P1630 formatter URL entries for Finnish (https://yle.fi/aihe/t/$1) and Swedish (https://svenska.yle.fi/t/$1 ) languages.

Yle_topic_ID.jpeg (622×1 px, 42 KB)

Expected behaviour: On Kaj Arnös Wikidata-object, the ID 18-284310 with language Swedish should link to the Swedish URL (https://svenska.yle.fi/t/18-284310), and the ID with Finnish language should link to the Finnish URL (https://yle.fi/aihe/t/18-284310).

For further development, it would be great if the links were created automatically for all languages entered for e.g. Yle topic ID, instead of having to enter the ID multiple times for several languages, but that is perhaps better as a next step.

We have described this more extensively with images and examples in our blog: make links to external data multilingual.

Hope this can be corrected!