Add more extra tags

This commit is contained in:
Edward Betts 2021-07-16 09:59:06 +02:00
parent 76e1008e84
commit 9090e67bad
3 changed files with 7 additions and 1 deletions

View file

@ -589,6 +589,7 @@ export default {
username: String, username: String,
startMode: String, startMode: String,
q: String, q: String,
defaultComment: String,
}, },
data() { data() {
return { return {
@ -624,7 +625,7 @@ export default {
show_tag_or_key_list: undefined, show_tag_or_key_list: undefined,
edits: [], edits: [],
view_edits: false, view_edits: false,
changeset_comment: "Add wikidata tag", changeset_comment: undefined,
changeset_id: undefined, changeset_id: undefined,
upload_state: undefined, upload_state: undefined,
upload_progress: 0, upload_progress: 0,
@ -1398,6 +1399,7 @@ export default {
this.center = [lat, lon]; this.center = [lat, lon];
this.zoom = this.startZoom; this.zoom = this.startZoom;
this.mode = this.startMode; this.mode = this.startMode;
this.changeset_comment = this.defaultComment || '+wikidata';
}, },
mounted() { mounted() {

View file

@ -175,6 +175,9 @@ extra_keys = {
'Q14350': ['Key:communication:radio', 'Q14350': ['Key:communication:radio',
'Tag:studio=radio', 'Tag:studio=radio',
'Tag:amenity=studio'], # radio station 'Tag:amenity=studio'], # radio station
'Q166118': ['Tag:tourism=museum',
'Tag:amenity=library'], # archive
'Q486972': ['Key:place'], # human settlement
} }
property_map = [ property_map = [

View file

@ -24,6 +24,7 @@
startLon: {{ lon }}, startLon: {{ lon }},
startZoom: {{ zoom }}, startZoom: {{ zoom }},
startRadius: {{ radius | tojson }}, startRadius: {{ radius | tojson }},
defaultComment: {{ config.DEFAULT_COMMENT | tojson }},
username: {{ username | tojson }}, username: {{ username | tojson }},
startMode: {{ mode | tojson }}, startMode: {{ mode | tojson }},
q: {{ q | tojson }}, q: {{ q | tojson }},