Wikidata:Wikivoyage/Development
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)
- 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)
- The Spanish Wikivoyage also makes use of
{{Wikipedia}}
. Hazard-SJ ✈ 00:48, 30 June 2013 (UTC)
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)
- 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)
- 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)
- That's why I just created this page. The Anonymouse (talk) 08:22, 20 July 2013 (UTC)
- 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)
- 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)
Bot approval
[edit]Locations to get approval from (also see Q4615128, but some wikis do not have a separate page)
- en.wikivoyage - voy:en:Wikivoyage:Script_nominations - (global bots get easy approval)
- pt.wikivoyage - voy:pt:Wikivoyage:Robôs/Aprovação
- es.wikivoyage - Global Bot Flag
- fr.wikivoyage - voy:fr:Wikivoyage:Nominations des scripts
- it.wikivoyage - voy:it:Wikivoyage:Bot/Autorizzazioni (be aware that Ricordisamoa is active there and may be our man in
Havanait.voy) - ro.wikivoyage - voy:ro:Wikivoyage:Hanul_călătorilor - make request on meta at the same time to save time.
- uk.wikivoyage - voy:uk:Вікімандри:Кнайпа - Village pump. Trusted users who do not perform useless hatcollecting crosswiki shall meet no problems with approval
- el.wikivoyage - voy:el:Βικιταξίδια:Bots
- he.wikivoyage - The bots that are active there run without a botflag without anyone making a problem about those edits.
- ru.wikivoyage - Global Bot Flag; if not, just create a user page, we will take care of the rest
- pl.wikivoyage – voy:pl:Wikipodróże:Pub podróżnika – Village pump
- sv.wikivoyage - voy:sv:Wikivoyage:Nominering av robotar
- nl.wikivoyage - voy:nl:Wikivoyage:Aanmelding botgebruikers
- de.wikivoyage - voy:de:Wikivoyage:Skriptkandidaten
- zh.wikivoyage - voy:zh:Wikivoyage:机器人/申请
Shutting down the interwiki bots
[edit]- Does pywikipedia need to be notified?
- They are doing a update as well on the 28 july, so inform them before 28 July. Carsrac (talk) 17:58, 23 July 2013 (UTC)
- 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]- What if a Wikivoyage article does not have Wikipedia links?
- Making list of such articles, otherwise no action?
- Support to making a list of it, similar to the conflicts in phase 1 for Wikipedia. --Sannita - not just another it.wiki sysop 13:52, 21 July 2013 (UTC)
- Making list of such articles, otherwise no action?
- How to handle interwiki conflicts?
- (Most of those are likely to arise between a city/town and the omonymous province)
- In the same way that they are handled now? ·addshore· talk to me! 07:47, 21 July 2013 (UTC)
- There are also conflicts are between disambig and non-disambig pages. But after the move they can be solved. This is not wikipedia. Carsrac (talk) 18:06, 23 July 2013 (UTC)
- Now, what about this one: Q66065 vs Q6583? WP entries are different, but WV entries are the same (and were interconnected before moving to Wikidata).--Ymblanter (talk) 12:45, 24 July 2013 (UTC)
- There are also conflicts are between disambig and non-disambig pages. But after the move they can be solved. This is not wikipedia. Carsrac (talk) 18:06, 23 July 2013 (UTC)
- In the same way that they are handled now? ·addshore· talk to me! 07:47, 21 July 2013 (UTC)
- (Most of those are likely to arise between a city/town and the omonymous province)
- Did we make announces at the Wikivoyage Traveller Pubs (and possibly also at meta:Wikivoyage/Lounge)?--Ymblanter (talk) 07:20, 22 July 2013 (UTC)
- I mean, that the update is planned for tomorrow? The old notification from Lydia lists July 17.--Ymblanter (talk) 07:23, 22 July 2013 (UTC)
- Usually Lydia does this, but she's been on vacation the last week, so someone else may need to... --Rschen7754 08:13, 22 July 2013 (UTC)
- I'm back now and will post another notification when the deployment is done :) --Lydia Pintscher (WMDE) (talk) 09:27, 22 July 2013 (UTC)
- Usually Lydia does this, but she's been on vacation the last week, so someone else may need to... --Rschen7754 08:13, 22 July 2013 (UTC)
- I mean, that the update is planned for tomorrow? The old notification from Lydia lists July 17.--Ymblanter (talk) 07:23, 22 July 2013 (UTC)
- What to do with the links to the future wikivoyage projects?
- 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)
- 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)
- 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)
- 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)
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.