Key:wikipedia

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Key:wikipedia
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Basa Sunda · Baso Minangkabau · bosanski · brezhoneg · català · čeština · corsu · dansk · Deutsch · eesti · English · español · Esperanto · estremeñu · euskara · français · Frysk · Gaeilge · Gàidhlig · galego · Hausa · hrvatski · Igbo · interlingua · Interlingue · isiXhosa · isiZulu · íslenska · italiano · Kiswahili · Kreyòl ayisyen · kréyòl gwadloupéyen · Kurdî · latviešu · Lëtzebuergesch · lietuvių · magyar · Malagasy · Malti · Nederlands · Nedersaksies · norsk bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · română · shqip · slovenčina · slovenščina · Soomaaliga · suomi · svenska · Tagalog · Tiếng Việt · Türkçe · Vahcuengh · vèneto · Wolof · Yorùbá · Zazaki · српски / srpski · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · भोजपुरी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · བོད་ཡིག · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ‎ · አማርኛ · 한국어 · 日本語 · 中文(简体)‎ · 中文(繁體)‎ · 吴语 · 粵語 · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް
Public-images-osm logo.svg wikipedia
Wikipedia-logo-v2-en.svg
Description
Provides a link to Wikipedia's article about the feature.
Group: Annotation
Used on these elements
may be used on nodesmay be used on waysmay be used on areasmay be used on relations
See also
Wikidata
Status: de factoPage for proposal

Use wikipedia=language:page title to provide a reference to an article in Wikipedia about the feature.

Using Wikipedia links

A Wikipedia link can be associated with any OSM object. It is helpful to:

  • only provide, in normal circumstances, a link to a single Wikipedia article, which should be to the article in the primary language for the subject.
  • include a language prefix, 'en:St Paul's Cathedral', (en: for English, in that case) rather than assuming any particular language as with 'St Paul's Cathedral'.
  • use the human readable title of the article, for example 'en:St Paul's Cathedral' rather than the version with underscores and URL-encoded characters that is used in the URL ('St_Paul%27s_Cathedral')
  • only provide links to articles which are 'about the feature'. A link from St Paul's Cathedral in London to an article about St Paul's Cathedral on Wikipedia is fine. A link from a bus depot to the company that operates it is not (see section below).
  • provide, for an extensive feature encompassing many individual ways, such as a long railway line or river, a single Wikipedia link from a relation covering the entire feature rather than attaching a link to every single way individually.
  • avoid full URLs such as 'http://en.wikipedia.org/wiki/St_Paul%27s_Cathedral'.
  • avoid redirects, for example, link to de:Frashër and not to de:Frasher (which is a redirect).
  • it is preferable to link article in a local language. It is appropriate to provide links to articles in secondary languages where there is no existing article about given object in local language. For example for museums in France French Wikipedia is preferred. But linking to the English article about the particular museum in France is OK if there is no matching article in French Wikipedia.

Examples

The following examples show the wikipedia link in use; the data is being used to create a link to the Wikipedia article in the appropriate language:

Secondary languages

In almost all cases, a single wikipedia tag as described above is sufficient. Data users can access articles in other languages where available using Wikipedia's interlanguage links. If interlanguage links are missing, this should usually be fixed within wikipedia.

One example where it is appropriate to provide additional explicit links to articles in secondary languages is where the subject is included in an article on a broader subject in the secondary language, for example to the English article which the particular museum in France while French wikipedia has only wikipedia:fr=Monuments et sites de Paris. In another example the structure of subjects in articles cannot be matched 1:1 with interlanguage links (or maybe there are several articles for the same object). In these circumstances use the format wikipedia:lang=page title for the secondary languages.

Secondary Wikipedia links

You may tag secondary attributes of the feature by preceding the wikipedia key with the name of the attribute, separated by a colon (:). The value of such a key would be the same as the normal wikipedia key, but referring to the appropriate wikipedia page.

For example, operator:wikipedia=en:McDonald's on a McDonald's fast food unit (but don't forget to also tag operator=McDonald's, because the former tag doesn't replace the latter).

Other possible attributes include architect:wikipedia=* (for a building), artist:wikipedia=* (for public artworks), subject:wikipedia=* (for memorials, plaques, statues, etc), name:wikipedia=* (to indicate which person or event is related to the name of the feature, such as John F. Kennedy to the John F. Kennedy International Airport) and brand:wikipedia=*.

For a list of all secondary attributes currently being tagged with this key, see taginfo.

In the past, the name of the attribute was put after the key (e.g. wikipedia:operator=*), but this was deprecated because it creates a conflict with the way secondary languages are linked.

It may be more useful to store certain data on Wikidata. For example instead of using name:etymology:wikipedia=* or name:etymology:wikidata=* one may follow the Wikidata link and use https://www.wikidata.org/wiki/Property:P138

Occasionally, a feature may have one or more secondary links, but no primary link. For example, a memorial depicting a famous event may have only a secondary subject:wikipedia=* link. Monuments, memorials, statues and similar features should have wikipedia=* only if they have their own Wikipedia article. The same applies to chain stores.

Editor integration

iD

You can add or update the wikipedia key by pasting the full article url in the Wikipedia property. It also adds the wikidata=* key. See this video for an example: https://www.youtube.com/watch?v=FkqPLzIUr1k (note that you don't need to remove the previous wikipedia key)


JOSM

The Wikipedia plugin for JOSM displays geo-tagged wikipedia articles or wikidata items in your area, allowing you to conveniently add them to OSM objects without spending time searching.

See also