Help:P3096

Help page for KML file (P3096) View with SQID. This help page will be included in Property talk:P3096. Please be careful editing it not to break the included page.

Background

See also Meta:KML files.

Currently, Keyhole Markup Language (Q79587) files cannot be uploaded to Wikimedia Commons (Q565), or any other wiki (see Phab:T28059). As a work-around, the contents of KML file are stored as wikitext on a subpage of template Template:Attached KML (Q6690822). That template is used to generate links in an article to download the file, or view on a web-based mapping provider, using the raw version of the subpage containing the KML.

Use-cases edit

Through this property, Template:Attached KML (Q6690822), and Module:Attached KML (Q26689774), any wiki can access the article's KML file, regardless of which wiki it is on, through the following sequence:

  • Article item → KML file (P3096) → KML file item → sitelink to KML file (can get the URL to the raw KML file from the sitelink)

Example: Great Eastern Highway (Q1544264)KML file (P3096)Template:Attached KML/Great Eastern Highway (Q26267859)→sitelink: enwikiTemplate:Attached KML/Great Eastern Highway, thus the raw kml file is at https://en.wikipedia.org/w/index.php?title=Template:Attached_KML/Great_Eastern_Highway&action=raw