[openstreetmap/openstreetmap-website] Link secondary WIkipedia tags - brand:wikipedia, operator:wikipedia, subject:wikipedia etc (#2184)

Nutchanon Wetchasit notifications at github.com
Wed Jun 26 08:28:00 UTC 2019


This bug is still reproducible.

I have recently added an OpenStreetMap node-type POI representing a memorial statue ([`historic=memorial`](https://wiki.openstreetmap.org/wiki/Tag:historic=memorial),[`memorial=statue`](https://wiki.openstreetmap.org/wiki/Tag:memorial=statue)) with information on the person statue represents in the  in the [`subject:wikipedia`](https://wiki.openstreetmap.org/wiki/Key:subject:wikipedia) key, using the same format as [`wikipedia`](https://wiki.openstreetmap.org/wiki/Key:wikipedia) tag.

But as soon as I tried to verify the entered entry on main OpenStreetMap interface, I found that the [`subject:wikipedia`](https://wiki.openstreetmap.org/wiki/Key:subject:wikipedia) key's name was properly linked to its OSM Wiki description, **but the key's value is not linked to Wikipedia article in question**...

* [Field Marshall Bhanurangsi Savangwongse statue](https://www.openstreetmap.org/node/6567173391):
	
	![](https://u.cubeupload.com/xwindows/giEvia.png)
	
	^ You would see that while `subject:wikipedia` _key_ is linked, **its value is not**.

Other similar examples could be found via an Overpass query <sup>([Turbo](https://overpass-turbo.eu/?Q=node[historic%3Dmemorial][memorial%3Dstatue][%22subject%3Awikipedia%22]%3Bout%3B%28way[historic%3Dmemorial][memorial%3Dstatue][%22subject%3Awikipedia%22]%3Brelation[historic%3Dmemorial][memorial%3Dstatue][%22subject%3Awikipedia%22]%3B%29-%3E._%3Bout%3B%3E%3Bout+skel%3B&R), [Raw](https://overpass-api.de/api/interpreter?data=node[historic%3Dmemorial][memorial%3Dstatue][%22subject%3Awikipedia%22]%3Bout%3B%28way[historic%3Dmemorial][memorial%3Dstatue][%22subject%3Awikipedia%22]%3Brelation[historic%3Dmemorial][memorial%3Dstatue][%22subject%3Awikipedia%22]%3B%29-%3E._%3Bout%3B%3E%3Bout+skel%3B))</sup> (139 nodes, 10 ways, 1 relation POIs at the time of this writing). I have picked several samples of them at random, and found the same problem when viewed on main OpenStreetMap interface.

The [`subject:wikipedia`](https://wiki.openstreetmap.org/wiki/Key:subject:wikipedia) is quite important for statue POI, since statue often not having its own Wikipedia entry, while the person/subject it represents usually has one.

While some people would argue that one could find associated Wikipedia entries via Wikidata link anyway; doing it this way can be time-consuming where there is a lot of linkage information (large _Statements_ section) on the Wikidata page in question— which is also the case for the POI shown in my screenshot.

Notes:

* This problem is not specific to memorial/statue POI type.
* There are currently 2874 POIs (1586 nodes, 1256 ways, 32 relations) on OSM with `subject:wikipedia` key in general. ([Taginfo](https://taginfo.openstreetmap.org/keys/subject%3Awikipedia), Overpass [Turbo](https://overpass-turbo.eu/?Q=node[%22subject%3Awikipedia%22]%3Bout%3B%28way[%22subject%3Awikipedia%22]%3Brelation[%22subject%3Awikipedia%22]%3B%29-%3E._%3Bout%3B%3E%3Bout+skel%3B&R)/[Raw](https://overpass-api.de/api/interpreter?data=node[%22subject%3Awikipedia%22]%3Bout%3B%28way[%22subject%3Awikipedia%22]%3Brelation[%22subject%3Awikipedia%22]%3B%29-%3E._%3Bout%3B%3E%3Bout+skel%3B))
* This problem shows up the same whether JavaScript is enabled or not.

Browser: Pale Moon 25.8.1 (binary)  
System: Debian GNU/Linux 7.0 Wheezy i386

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2184#issuecomment-505775322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190626/8ab84b59/attachment.html>


More information about the rails-dev mailing list