Yurik created this task.
Yurik added a project: Wikidata.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION

Based on the discussion in OpenStreetMap mailing list, I would like to propose a new way to open Wikipedia articles - with a Wikidata ID:

https://en.wikipedia.org/w/index.php?wd=Q42  ->  Douglas Adams

This way, Wikidata IDs can be used directly from other systems like OSM, without storing (or dynamically querying) the Wikipedia link. Storing Wikipedia title has proven to be a bad idea due to constant article renaming, especially when disambig pages are left behind.

Alternative: Multilingual redirect

The biggest problem with the above approach is that the external system must know which language of Wikipedia to use. In case of OSM, the "language of the land" is usually a good starting point, but often enough there is no such. So we could allow Wikipedia to dynamically redirect to another language, or better yet, instead of Wikipedia, add the endpoint to Wikidata itself, with a list of language fallbacks:

https://wikidata.org/w/index.php?q=Q42&site=wikipedia&langs=en,fr,ru,zh,de,ja,ANYTHING

This way 3rd party sites can create links to Wikipedia/Wikivoyage/... without much code - simply provide a link, and let Wikipedia open something in the first available language.


TASK DETAIL
https://phabricator.wikimedia.org/T176317

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Yurik
Cc: Lydia_Pintscher, daniel, Smalyshev, Aklapper, Yurik, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to