Key:wikipedia
- About, the Wikipedia key. See collaboration with Wikipedia for information about the broader collaboration with Wikipedia.
|
Provides a link to Wikipedia's article about the feature.
Annotation
Used combinations in
|
Use wikipedia=language:page title to provide a reference to an article in Wikipedia about the feature.
The website=* tag can also be used for the URL of an official website for the feature and url=* for the URL of a reliable and relevant 3rd party websites.
Using Wikipedia links
A Wikipedia link can be associated with a node, way or relation. It is helpful to:
- include a language prefix, 'en:St Paul's Cathedral', (en: 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 html encoded characters that is used in the URL bar ('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 Pauls is fine. A link from a bus depot to the company that operates it is not. (see proposals below).
- provide a link to the article in the primary language for the subject, for example to 'fr:Musée du Louvre' for the museum in Paris and 'en:Tower Bridge' for the bridge in London etc.
- in normal circumstances only provide a link to a single Wikipedia article, which should be to the article in the primary language for the subject. Data users can access articles in other languages where available using Wikipedia's interlanguage links. (see below for exceptions)
- For an extensive feature encompassing many individual ways, such as a long railway line or river, provide a single Wikipedia link in 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).
Multiple language links: The only time that it is appropriate to provide an explicit link to articles in secondary languages is where the subject is included in a article on a broader subject in the secondary language, for example to wikipedia:en=museums in Paris to the English article which provides the best article for the particular museum in France, or wikipedia:fr=places of worship in London which is the best article in French for a particular church in London. In these circumstances then use the format wikipedia:lang=page title for the secondary languages.
Examples
The following examples show the wikipedia link in use; do however notice that the language element ('en:', 'fr:' etc) is not displayed on this web service, but is in the source OSM data and is being used to create a link to the Wikipedia article in the appropriate language:
Proposals
There has been a brief discussion on the talk page about how to provide secondary Wikipedia links, for example to the architect for, or the operator of a feature. The following has been proposed:
See also
- WIWOSM - uses wikipedia=* to display vector map at Wikipedia sites using OSM data
- Collaboration with Wikipedia
Related links
- See Proposed features/External links.
- A tool to set this key: JOSM/Plugins/RemoteControl/Add-tags
