[openstreetmap-website] add wiki:symbol link to the data browser (#481)

werner2101 notifications at github.com
Sun Sep 15 10:40:38 UTC 2013


Hi developers,

it would be cool if wiki:symbol tags would have a link to the Files in the wiki:
The wiki:symbol=Symbol_Jakobsweg.svg refers the file http://wiki.openstreetmap.org/wiki/File:Symbol_Jakobsweg.svg. Just similar as the wikipedia tag links to the wikipedia page.

wiki:symbol tag description and usage:
http://wiki.openstreetmap.org/wiki/Key:wiki:symbol

example: Relation with a wiki:symbol tag:
http://www.openstreetmap.org/browse/relation/2264545

A more advanced idea:
Get the image URL from the media-Wiki-API and show a small Image in the data browser. Additionally add a link to the FILE: in the wiki.
 (API URL: http://wiki.openstreetmap.org/w/api.php?action=query&prop=imageinfo&titles=FILE:Symbol_Jakobsweg.svg&iiprop=url)

Regards
Werner

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130915/9b114282/attachment.html>


More information about the rails-dev mailing list