Skip to content

Commit

Permalink
don't always show "wikipedia" field when the wikidata tag is set
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
tyrasd committed Aug 3, 2023
1 parent 0788e1c commit 14bd2c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/fields/wikipedia.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"key": "wikipedia",
"keys": [
"wikipedia",
"wikidata"
"wikipedia"
],
"type": "wikipedia",
"universal": true,
Expand Down

0 comments on commit 14bd2c7

Please sign in to comment.