Skip to content

Commit 14bd2c7

Browse files
committed
don't always show "wikipedia" field when the wikidata tag is set
as not all wikidata items have a matching wikipedia page, this field would inevitably be always empty in these cases. As it is automatically filled in when a user selects a wikidata entry with a matching wikipedia page, the field shows up in the "regular" case anyway. only if the wikipedia page exists, but a map feature only has the wikidata tag (e.g. because it was mapped by another editor, or added manually in the raw tag editor), the field is now missing; it can still be added manually through "more fields" in this case, though see #964 (review)
1 parent 0788e1c commit 14bd2c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

data/fields/wikipedia.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"key": "wikipedia",
33
"keys": [
4-
"wikipedia",
5-
"wikidata"
4+
"wikipedia"
65
],
76
"type": "wikipedia",
87
"universal": true,

0 commit comments

Comments
 (0)