Shortcuts: WD:WY, WD:VOY

Wikidata:Wikivoyage: Difference between revisions

From Wikidata
Jump to navigation Jump to search
Content deleted Content added
m Rschen7754 moved page Wikidata:Wikivoyage migration to Wikidata:Wikivoyage over redirect: consistency with other proposals
make inline translation units really inline
 
(15 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude><languages/>
{{Sister projects}}
</noinclude>{{shortcut|WD:WY|WD:VOY}}
This is a project page for coordinating the '''importation of Wikivoyage language links into Wikidata'''. Wikivoyage can now get language links from Wikidata.
{{Sister Project Header
|sisterportal=Wikidata:Wikivoyage
|sisterprojectcolor=#c5d7f0
|textcolor=black}}


{{Sister projects overview content
== What does it mean? ==
|sisterportal=Wikidata:Wikivoyage
As it happened for Wikipedia, phase 1 concerns only <u>links between Wikivoyages</u>. This means that it will be no longer required for Wikivoyage articles to keep those links in the wikitext like it is currently, since they will be stored in Wikidata.
|sisterproject=Wikivoyage
|contributors=<translate><!--T:1--> Wikivoyage contributors</translate>
|maincontent=<translate><!--T:2--> travel destination</translate>
|property1=<translate><!--T:3--> capital</translate>
|property2=<translate><!--T:4--> currency</translate>
|qexample={{Q|1498}}
|pexample={{P|36}}
|sitelink1=<translate><!--T:5--> [[voy:Turkey|English Wikivoyage page on Turkey]]</translate>
|sitelink2=<translate><!--T:6--> [[voy:vi:Thổ Nhĩ Kỳ|Vietnamese Wikivoyage page Thổ Nhĩ Kỳ]]</translate>
|sitelinkq={{Q|43}}
}}


{{Sister projects on Wikidata}}
It will be still possible, however, to keep the links in the wikitext, but this will overwrite the links coming from Wikidata. With the magicword <code>noexternallanglinks</code> links from Wikidata can be turned off on an article either for all languages or only specific ones.


{{basepage subpage|[[Category:Sister projects]]}}
Access to other data (like timezones, airport codes and so on) will not be enabled yet. That will follow later as well. Also, there will be '''no''' automatic links to/from Wikipedia for the time being.
{{Translation categories}}

== Ambassadors ==
People who are familiar with the various Wikivoyages and can assist with questions. Ideally we should have at least one for each language. Please volunteer if you are familiar with Wikivoyage and Wikidata.
*de: <span style="font-variant:small-caps">[[User:DerFussi|Der]][[User talk:DerFussi|Fussi]]</span>, [[User:RolandUnger|RolandUnger]] ([[User:Pyfisch|Pyfisch]])
*el: [[user:Gobbler]]
*en: [[User:Rschen7754]], [[User:Ruud Koot]]
*es: [[User:Hahc21]]
*fr: [[User:Nicolas1981]]
*he: [[User:Dekel E|Dekel E]]
*it: [[User:Sannita]]
*nl: [[User:Romaine]], [[User:Ruud Koot]]
*pl: [[User:Alan ffm]], [[User:Rzuwig]]
*pt: [[User:Texugo]]
*ro:
*ru: [[User:Ymblanter]]
*sv:
*uk: [[user:Base]]

== Bots ==
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 <nowiki>[[WikiPedia:New York City]]</nowiki>. 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:

* [[User:Legoktm]]
* [[User:Kolega2357]]
* [[User:Hazard-SJ]]
* [[User:Addshore]]

It seems that Wikivoyages' use a custom extension to display "related sites" ([[mw:Extension:RelatedSites]]). It doesn't have an API ([[bugzilla:50414|bug 50414]]), but it is relatively easy to screenscrape ([https://github.com/legoktm/wikidata/blob/master/wikivoyage/importer.py example code]). [[User:Legoktm|Legoktm]] ([[User talk: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). <b><span style="border:2px solid;font-variant:small-caps">[[User:Hazard-SJ|<span style="background:#00008B;color:#FFF">&nbsp;Hazard-SJ&nbsp;</span>]][[User talk:Hazard-SJ|<span style="color:#00008B;background:red">&nbsp;✈&nbsp;</span>]]</span></b> 00:43, 30 June 2013 (UTC)
: The Spanish Wikivoyage also makes use of <tt>{{[[voy:es:Plantilla:Wikipedia|Wikipedia]]}}</tt>. <b><span style="border:2px solid;font-variant:small-caps">[[User:Hazard-SJ|<span style="background:#00008B;color:#FFF">&nbsp;Hazard-SJ&nbsp;</span>]][[User talk:Hazard-SJ|<span style="color:#00008B;background:red">&nbsp;✈&nbsp;</span>]]</span></b> 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]]. '''[[User:The Anonymouse|The&nbsp;Anonymouse]]'''&nbsp;([[User talk:The Anonymouse|talk]]) 09:03, 30 June 2013 (UTC)
::Many of the links on en: use either <nowiki>[[Wikipedia:targetname]] or [[wikipedia:targetname]]</nowiki> rather than CamelCase. Pt: uses only <nowiki>[[wikipedia:pt:targetname]]</nowiki>. [[User:Texugo|Texugo]] ([[User talk: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! '''[[User:Addshore|<span style="color:black">·addshore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">talk to me!</span>]]</sup> 08:29, 16 July 2013 (UTC)
::::That's why I just created [[Wikidata:Wikivoyage migration/Linking methods|this page]]. '''[[User:The Anonymouse|The&nbsp;Anonymouse]]'''&nbsp;([[User talk:The Anonymouse|talk]]) 08:22, 20 July 2013 (UTC)

===Bot approval===
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]] <small>(be aware that Ricordisamoa is active there and may be our man in <del>Havana</del> it.voy)</small>
* ro.wikivoyage - [[:voy:ro:Wikivoyage:Hanul_c%C4%83l%C4%83torilor]] - 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:%CE%92%CE%B9%CE%BA%CE%B9%CF%84%CE%B1%CE%BE%CE%AF%CE%B4%CE%B9%CE%B1: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]]

== Policy updates ==
We will need to update various policies like [[WD:N]] and [...].
*[[Wikidata:Project chat#Wikivoyage notability]] – closed

==Shutting down the interwiki bots==
*Does pywikipedia need to be notified?
** They are doing a update as well on the 28 july, so inform them before 28 July. [[User:Carsrac|Carsrac]] ([[User talk:Carsrac|talk]]) 17:58, 23 July 2013 (UTC)
*How about notifying the affected bot owners?
**{{done}} --'''[[User:Rschen7754|Rs]][[User talk:Rschen7754|chen]][[Special:Contributions/Rschen7754|7754]]''' 10:17, 20 July 2013 (UTC)
*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?

==Issues==
* 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. --[[User:Sannita|Sannita]] - <small>''[[User talk:Sannita|not just another it.wiki sysop]]''</small> 13:52, 21 July 2013 (UTC)

* 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? '''[[User:Addshore|<span style="color:black">·addshore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">talk to me!</span>]]</sup> 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. [[User:Carsrac|Carsrac]] ([[User talk: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).--[[User:Ymblanter|Ymblanter]] ([[User talk:Ymblanter|talk]]) 12:45, 24 July 2013 (UTC)

* Did we make announces at the Wikivoyage Traveller Pubs (and possibly also at [[:meta:Wikivoyage/Lounge]])?--[[User:Ymblanter|Ymblanter]] ([[User talk:Ymblanter|talk]]) 07:20, 22 July 2013 (UTC)
*: I mean, that the update is planned for tomorrow? The old notification from Lydia lists July&nbsp;17.--[[User:Ymblanter|Ymblanter]] ([[User talk: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... --'''[[User:Rschen7754|Rs]][[User talk:Rschen7754|chen]][[Special:Contributions/Rschen7754|7754]]''' 08:13, 22 July 2013 (UTC)
*:::I'm back now and will post another notification when the deployment is done :) --[[User:Lydia Pintscher (WMDE)|Lydia Pintscher (WMDE)]] ([[User talk:Lydia Pintscher (WMDE)|talk]]) 09:27, 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. '''[[User:Addshore|<span style="color:black">·addshore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">talk to me!</span>]]</sup> 16:00, 25 July 2013 (UTC)
*There are [https://www.wikidata.org/w/index.php?title=Special:NewPages&offset=&limit=500&namespace=0&tagfilter=&username=WYImporterBot 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? --'''[[User:Superchilum|<span style="color:#209090;">Superchilum</span>]]'''<sup>([[User talk:Superchilum|talk to me!]])</sup> 09:45, 24 July 2013 (UTC)
:Rippitippi is reporting that the merge.js tool doesn't work with the Wikivoyage links [http://www.wikidata.org/w/index.php?title=Wikidata:Project_chat&diff=61140502&oldid=61136176]. 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. [[User:Pichpich|Pichpich]] ([[User talk: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) '''[[User:Addshore|<span style="color:black">·addshore·</span>]]''' <sup>[[User_talk:Addshore|<span style="color:black;">talk to me!</span>]]</sup> 15:58, 25 July 2013 (UTC)

==Listings==
See [[Wikidata:Requests_for_comment/VCards_for_Wikivoyage|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.

==Ways to link between Wikipedia and Wikivoyage==
See [[/Linking methods]].

[[Category:Sister projects]]

Latest revision as of 12:57, 5 May 2021

Wikidata:Wikivoyage

Welcome to the Wikidata:Wikivoyage portal for discussing integration of Wikivoyage and Wikidata. This portal homepage serves as a beginner-friendly overview of Wikidata for the Wikivoyage community.

  • Following deployment, ways for all Wikivoyage contributors to contribute will be listed at How to help.
  • If you're active on Wikivoyage, please add yourself to the list of ambassadors on the Get involved page.
  • For discussion of how Wikidata could support Wikivoyage, see Project discussion & development.
  • Relevant documentation and related links are available at Resources.

Overview

[edit]

What is Wikidata?

[edit]

Wikidata is a free knowledge base that can be read and edited by both humans and machines. It does for data what Wikimedia Commons does for media files: it centralizes access to and management of structured data for the various projects that are part of the Wikimedia Foundation family. This means that similar content in different languages, mappings and links between sites, and other elements that are useful to multiple projects only need to be recorded and maintained once, rather than in each of the hundreds of projects.

Structured data also means that content can be organized and stored in a defined way, often in order to encode meaning and preserve relationships between different items. It allows machines to 'read', understand, and process information and, in doing so, opens up a lot of exciting ways for data to be used and re-used!

Wikidata will provide structure for all the knowledge stored in its sister projects including Wikivoyage.

Understanding Wikidata

[edit]

Instead of pages (the main type of content for most wikis), Wikidata is made up of items. Items are used to represent all the things in human knowledge, including topics, concepts, and objects. For example, the 1988 Summer Olympics, love, Elvis Presley, and gorilla are all items in Wikidata. Each item also has a unique identifier (starting with a Q prefix) and its own page in the Wikidata main namespace. For example, for the items listed above, 1988 Summer Olympics (Q8470), love (Q316), Elvis Presley (Q303) and Gorilla (Q36611) are the respective item pages. These pages are where all the data for each item is added, edited, and maintained, including links to other Wikimedia project sites (these are known as sitelinks or interwiki links).

Each page has four sections:

  • At the top is the Label, the Description and any aliases. You will see these in your selected language but Wikidata also has these in other languages. If you have Babel Box in your User page then you will see the label, description and aliases in the languages you have listed there.
  • The next section of the item page are the statements. Each of these starts with a property. This followed by an value which will have one of the following datatypes;- an item, a date, a text string, a monolingual text, or a number (which may have units) . These values can have qualifiers - additional statements each with a property and an value - and a reference - statements describing where the main statement can be confirmed. Some times a property has two or more values each of which can have qualifiers and references.
  • Next come the external identifiers, special forms of statements like the above, but supplying identifiers used in other databases (with links where possible).
  • The next section of the page groups sitelinks. Links to the one page on each wiki which deals with the topic of this item. These sitelinks are used by various Wikimedia projects to create language links on the corresponding wiki pages. These links are also used to identify the item from which the wiki page can import statement info, for example to fill infoboxes.

This means that when it comes to capturing and collecting Wikivoyage data, each travel destination, for example, can be linked to an item on Wikidata, which in turn would then link out to every page for, corresponding to, or about that travel destination on any other Wikimedia project via sitelinks; the item page would also list data statements with facts related to the travel destination (like "capital", "currency", etc.). For example, one such travel destination item page could be Uttar Pradesh (Q1498).

Similar to items, statement properties are referenced with unique identifiers starting with a P (instead of a Q); for example, "capital" would be represented by capital (P36).

What does this mean?

[edit]

Wikidata already holds data in many languages that can be re-used on multiple sister projects, and new data is constantly being added. Wikidata also enables content in sister projects to be enriched with additional facts and information (stored as data statements on item pages).

The choice to use this data is left entirely to the Wikivoyage community—future changes to the wiki software will only provide an option to retrieve information from Wikidata if desired.

Wikidata also offers sister projects the ability to manage sitelinks (aka as interwiki links) in one, centralized place. For all sister projects, sitelinks serve as a replacement for a previous system of interlanguage links that was used to link from a page in one language on Wikivoyage to an equivalent page in another language, for example the English Wikivoyage page on Turkey to the Vietnamese Wikivoyage page Thổ Nhĩ Kỳ. These interlanguage links used to be stored locally on each Wikivoyage page in the wikitext and maintained separately in each language so that if the name of a page changed or was moved, then pages in each language would need to have their links updated to reflect the changes. Sitelinks thereby improve upon this system by having everything stored and managed in Wikidata from an item page, in this case Turkey (Q43).

It is still possible, however, to keep the links in the wikitext and completely suppress all Wikidata links by using the magicword {{noexternallanglinks}} if desired. The magic word also supports suppression of only specific languages, in the form of {{noexternallanglinks:es|fr|it}} which would suppress only the Spanish, French, and Italian links.

 Wikipedia     Wikivoyage    Commons     Wikisource     Wikiquote     Wikinews     Wikispecies     Wiktionary     Wikibooks     Wikiversity     Wikifunctions     Meta-Wiki     MediaWiki     Incubator