diff --git a/culture-media.yaml b/culture-media.yaml index 6f80c0c..3b9e697 100644 --- a/culture-media.yaml +++ b/culture-media.yaml @@ -67,19 +67,12 @@ filter: type: "select" key: "tourism" values: | - - - - - - - - - - - - - + {% for kv, d in const.types %} + {% set k = kv|split('=')[0] %} + {% set v = kv|split('=')[1] %} + {% set d = d|default({}) %} + + {% endfor %} op: "has" info: | @@ -123,3 +116,20 @@ info: | This category lists artwork, memorials, historic and heritage protected objects. These should have an image or wikimedia_commons tag, or (even better) a wikidata tag pointing to the object's entry.
Memorials erroneously often have a wikidata (and wikipedia) tag of the person/event, which should be changed to subject:wikidata resp. subject:wikipedia". +const: + types: + tourism=artwork: + tourism=attraction: + historic=memorial: + historic=monument: + historic=wayside_cross: + historic=wayside_shrine: + historic=building: + amenity=fountain: + amenity=arts_centre: + amenity=place_of_worship: + amenity=theatre: + heritage: + other: + query: 'nwr[historic][historic!~"^(memorial|monument|wayside_cross|wayside_shrine|building)$"]' + trans: 'other'