Using Wikidata in Wikivoyage Listings
Open, Needs TriagePublic

Description

The Wikivoyage listing tags should be able to use data from Wikidata. Based on a Wikidata parameter the opening hours, contact details, location etc. should be loaded from Wikidata. Finally a listing entry should only a have a single parameter (Wikidata).

Mappings with Wikidata properties are available at https://www.wikidata.org/wiki/Wikidata:Wikivoyage/Resources

It should be investigated whether it's sufficient to edit the template {{listing}} (or a related Lua module) or if the listing extension needs to be manipulated. Furthermore Wikidata information could be used by the dynamic Wikivoyage maps.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 26 2016, 8:42 AM
Restricted Application added a project: Discovery. · View Herald TranscriptJul 26 2016, 8:46 AM

One of the issues currently preventing this at Wikivoyage seems to be that:

for many of the standard-sized articles, the number of items to load would be too high. Wikivoyage would need a higher limit than other sites.

I think this could be a good sample of using Wikidata to edit listings.

I think this shouldn't prevent us from creating the technical possibility of using Wikidata. And secondly we're going to need further discussions on Wikidata about the thousands of items for restaurants etc. which don't exist yet.

I think technically it's already possible (arbitrary access is available).

Yes. But can we omit the location parameters without breaking the parsing for the Kartographer maps? And on which level should the insertion of Wikidata info ideally happen (in the templates / modules / in the extension)?

Wrh2 added a subscriber: Wrh2.Jul 26 2016, 2:14 PM

We have now https://en.wikivoyage.org/wiki/Template:Listing/test (and https://en.wikivoyage.org/wiki/Module:Listing) which show that the integration of Wikidata data is generally possible. The discussion at Wikivoyage:Travellers' pub suggests that we should create gadgets / tools which "hide" the highly complicated aspects of Wikidata as best as possible. I propose the following:

ruwiki has a framework used for a series of editing interfaces (e.g. people, works, taxa, movies) similar to the one at Wikivoyage:

https://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:WE-Framework

These edit directly Wikidata.

This looks very good. I guess the main difference is that one Wikivoyage page refers to multiple listing Wikidata items. Do you think the framework coud be extended in this way?

I suppose if it depends if you find someone who'd work on it.

I think it was written by [[User:Vlsergey]], but he isn't currently active.

Yurik removed a project: Maps.Dec 15 2016, 4:40 AM

Please note Template_talk:Listing#Load_Wikidata_label

Inclusion of items in Listings at enwikivoyage is now visible on Wikidata (sample ).

Same at Discussion_modèle:Marqueur for frwikivoyage (see sample above).