mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-29 07:06:04 +02:00
Add field for wikimedia_commons tag (re: #7064)
This commit is contained in:
@@ -2616,6 +2616,12 @@ en:
|
||||
# 'wikidata=*, wikipedia=*'
|
||||
label: Wikidata
|
||||
terms: '[translate with synonyms or related terms for ''Wikidata'', separated by commas]'
|
||||
wikimedia_commons:
|
||||
# wikimedia_commons=*
|
||||
label: Wikimedia Commons Page
|
||||
# wikimedia_commons field placeholder
|
||||
placeholder: 'File:Example.jpg'
|
||||
terms: '[translate with synonyms or related terms for ''Wikimedia Commons Page'', separated by commas]'
|
||||
wikipedia:
|
||||
# 'wikipedia=*, wikidata=*'
|
||||
label: Wikipedia
|
||||
|
||||
@@ -451,6 +451,7 @@
|
||||
"wholesale": {"key": "wholesale", "type": "typeCombo", "label": "Wholesale"},
|
||||
"width": {"key": "width", "type": "number", "minValue": 0, "label": "Width (Meters)"},
|
||||
"wikidata": {"key": "wikidata", "keys": ["wikidata", "wikipedia"], "type": "wikidata", "icon": "wikipedia", "universal": true, "label": "Wikidata"},
|
||||
"wikimedia_commons": {"key": "wikimedia_commons", "type": "identifier", "label": "Wikimedia Commons Page", "placeholder": "File:Example.jpg", "urlFormat": "https://commons.wikimedia.org/wiki/{value}", "pattern": "^(?:File|Category):.{1,}", "universal": true},
|
||||
"wikipedia": {"key": "wikipedia", "keys": ["wikipedia", "wikidata"], "type": "wikipedia", "icon": "wikipedia", "universal": true, "label": "Wikipedia"},
|
||||
"windings": {"key": "windings", "type": "number", "minValue": 1, "label": "Windings", "placeholder": "1, 2, 3..."},
|
||||
"windings/configuration": {"key": "windings:configuration", "type": "combo", "label": "Windings Configuration", "strings": {"options": {"star": "Star / Wye", "delta": "Delta", "open-delta": "Open Delta", "zigzag": "Zig Zag", "open": "Open", "scott": "Scott", "leblanc": "Leblanc"}}}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"key": "wikimedia_commons",
|
||||
"type": "identifier",
|
||||
"label": "Wikimedia Commons Page",
|
||||
"placeholder": "File:Example.jpg",
|
||||
"urlFormat": "https://commons.wikimedia.org/wiki/{value}",
|
||||
"pattern": "^(?:File|Category):.{1,}",
|
||||
"universal": true
|
||||
}
|
||||
@@ -1886,6 +1886,7 @@
|
||||
{"key": "width", "description": "🄵 Width (Meters)"},
|
||||
{"key": "wikidata", "description": "🄵 Wikidata, 🄵 Wikipedia"},
|
||||
{"key": "wikipedia", "description": "🄵 Wikidata, 🄵 Wikipedia"},
|
||||
{"key": "wikimedia_commons", "description": "🄵 Wikimedia Commons Page"},
|
||||
{"key": "windings", "description": "🄵 Windings"},
|
||||
{"key": "windings:configuration", "value": "star", "description": "🄵 Windings Configuration"},
|
||||
{"key": "windings:configuration", "value": "delta", "description": "🄵 Windings Configuration"},
|
||||
|
||||
Reference in New Issue
Block a user