Subject: [PATCH] Fix #22561: change site_type to archaeological_site
---
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/resources/data/validator/combinations.mapcss b/resources/data/validator/combinations.mapcss
a
|
b
|
|
106 | 106 | *[shelter_type ][amenity!=shelter], |
107 | 107 | node[lamp_type ][highway!=street_lamp], |
108 | 108 | node[map_type ][information!=map], |
109 | | *[site_type ][historic!=archaeological_site], |
| 109 | *[archaeological_site ][historic!=archaeological_site], |
110 | 110 | *[artwork_type ][tourism!=artwork][exhibit!=artwork], |
111 | 111 | *[castle_type ][historic!=castle], |
112 | 112 | *[parking ][amenity!~/^(parking|parking_space|parking_entrance|motorcycle_parking)$/][parking!=yes][parking!=no], |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/resources/data/validator/deprecated.mapcss b/resources/data/validator/deprecated.mapcss
a
|
b
|
|
2401 | 2401 | group: tr("deprecated tagging"); |
2402 | 2402 | } |
2403 | 2403 | |
2404 | | /* temporary URLs, can be exteded to other websites and other keys e.g. "url" or "website", #22397 */ |
| 2404 | /* temporary URLs, can be extended to other websites and other keys e.g. "url" or "website", #22397 */ |
2405 | 2405 | *[image][image=~/^https:\/\/westnordost.de\/p\//] { |
2406 | 2406 | throwWarning: tr("{0} with a temporary URL which may be outdated very soon", "{0.key}"); |
2407 | 2407 | fixRemove: "{0.key}"; |
… |
… |
|
2410 | 2410 | assertNoMatch: "node image=https://commons.wikimedia.org/wiki/File:2015-05-13_Basteibr%C3%BCcke-.jpg"; |
2411 | 2411 | } |
2412 | 2412 | |
| 2413 | /* Replaced by archaeological_site */ |
| 2414 | *[historic=archaeological_site][site_type] { |
| 2415 | throwWarning: tr("{0} should be replaced with {1}", "{0.key}", "{1.key}"); |
| 2416 | fixChangeKey: "site_type => archaeological_site"; |
| 2417 | assertMatch: "node historic=archaeological_site site_type=fortification"; |
| 2418 | assertNoMatch: "node historic=archaeological_site site_type2=fortification"; |
| 2419 | } |
| 2420 | |
2413 | 2421 | /* When tags are deprecated they should be added to ignoretags.cfg too. */ |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/resources/data/defaultpresets.xml b/resources/data/defaultpresets.xml
a
|
b
|
|
6981 | 6981 | <link wiki="Tag:historic=archaeological_site" /> |
6982 | 6982 | <space /> |
6983 | 6983 | <key key="historic" value="archaeological_site" /> |
6984 | | <combo key="site_type" text="Type" values="tumulus,megalith,fortification,settlement,necropolis,city" /> |
| 6984 | <combo key="archaeological_site" text="Type" values="catacombs,city,fortification,geoglyph,petroglyph,hut_circle,megalith,necropolis,roman_circus,roman_theater,roman_villa,settlement,tumulus" /> |
6985 | 6985 | <reference ref="name_oh_wheelchair" /> |
6986 | 6986 | </item> <!-- Archaeological Site --> |
6987 | 6987 | <item name="Battlefield" icon="presets/sightseeing/battlefield.svg" type="node,closedway,multipolygon" preset_name_label="true"> |