Wikidata:Wikivoyage/Development

From Wikidata
Jump to navigation Jump to search
Wikidata:Wikivoyage

This page was originally for coordinating the importation of Wikivoyage language links into Wikidata. Wikivoyage can now get language links from Wikidata.

Please use the discussion page to propose changes to this proposal.

Phase 1 (sitelinks) successfully launched on July 22 2013 on all Wikivoyages. Phase 2 (data access) was enabled on August 26 2013.

Status and scope of data access[edit]

Wikivoyage now has access to the data available on Wikidata, including geographic coordinates, capital cities, type of currency, etc. Other data of specific interest to the Wikivoyage community, such as timezones, airport codes and so on, is not enabled yet but will follow later.

For information on sitelinks, see the overview page under "What does this mean?". Note that there will be no automatic links to/from Wikipedia for the time being.

Bots[edit]

Importing bots will need to be written a bit differently as we should be adding links to existing items. Looking at voy:New York City, links to Wikipedia are stored as [[WikiPedia:New York City]]. Currently only en and ru have automatic approval for global bots, es allows them with local approval. The following people have volunteered to write bots:

It seems that Wikivoyages' use a custom extension to display "related sites" (mw:Extension:RelatedSites). It doesn't have an API (bug 50414), but it is relatively easy to screenscrape (example code). Legoktm (talk) 00:22, 30 June 2013 (UTC)[reply]

Yes, it's very easy to get the Wikipedia link, and yes, that's the format used for the links on the English Wikivoyage (and as we should assume, it's case insensitive).  Hazard-SJ  ✈  00:43, 30 June 2013 (UTC)[reply]
The Spanish Wikivoyage also makes use of {{Wikipedia}}.  Hazard-SJ  ✈  00:48, 30 June 2013 (UTC)[reply]

Also, we could check for links going from Wikipedia to Wikivoyage. For example, the English Wikipedia uses various templates, such as en:Template:Sister project links (the "voy" parameter), en:Template:Wikivoyage, and en:Template:Wikivoyage-inline. The Anonymouse (talk) 09:03, 30 June 2013 (UTC)[reply]

Many of the links on en: use either [[Wikipedia:targetname]] or [[wikipedia:targetname]] rather than CamelCase. Pt: uses only [[wikipedia:pt:targetname]]. Texugo (talk) 15:21, 3 July 2013 (UTC)[reply]
Indeed, it seems there are a lot of slightly different ways to link between wikipedia dn wikivoyage depending on which language your looking at! ·addshore· talk to me! 08:29, 16 July 2013 (UTC)[reply]
That's why I just created this page. The Anonymouse (talk) 08:22, 20 July 2013 (UTC)[reply]

Bot approval[edit]

Locations to get approval from (also see Q4615128, but some wikis do not have a separate page)

Shutting down the interwiki bots[edit]

  • Does pywikipedia need to be notified?
  • How about notifying the affected bot owners?
  • Need to check recent changes to make sure bots are not restoring links. If they are they can be blocked (English Wikivoyage is the only wiki that is not a global sysop wiki) or globally locked.
  • Need to keep some bots or to have plan B for articles which are newly created and not added to Wikidata.
    • Lists of not connected articles?

Policy[edit]

We will need to update various policies like WD:N and [...].

Issues[edit]

Leave them where they are.. They do not exist on on a project and can not be imported to wikidata. ·addshore· talk to me! 16:00, 25 July 2013 (UTC)[reply]
  • There are a lot of new Wikidata pages created by the bots, even if the page already existed and the correspondent Wikipedia page was linked in the voy page (e.g. Q14208163 and Q55669). Why? Now all the moves have to be done manually here on Wikidata, so wasn't it easier to make the moves manually from Wikivoyage? --Superchilum(talk to me!) 09:45, 24 July 2013 (UTC)[reply]
Rippitippi is reporting that the merge.js tool doesn't work with the Wikivoyage links [1]. The bot imports should be shut down until this can be fixed because importing duplicates with a bot and then merging them manually is a lot less efficient than adding the Wikivoyage links manually. Pichpich (talk) 14:22, 24 July 2013 (UTC)[reply]
All bots should look for inter project links as well as interwiki links. There is no point in creating 600,000 new items simply to be merged back into pre existing ones. The syntax of the templates and interproject links is easy! (See linking methods listed below) ·addshore· talk to me! 15:58, 25 July 2013 (UTC)[reply]

Proposals & RFCs[edit]

Listings[edit]

See this RFC for a discussion of how to add info from Wikivoyage listings (de:Vcard) to wikidata.

The proposal is to add the listing info to the wikidata Qitem for that museum/bar/hotel/etc. creating new Qitems and new properties as required. A wikivoyage in another language could then add that item to their wikivoyage by importing the data from wikidata. Any data that is updated in one language is updated in all.

Multilingual data, such as reviews, could be dealt with using the proposed multilingual datatype or could be excluded.

As well as the current layout, with listings grouped by area in each wikivoyage, we can also look at other ways of presenting the data - such as a map with an icon for each listing, colour coded for the type (museum/bar/hotel/etc.). Click the icon to see that listing.