places: a description the community shared is credited to the TREK community

A community description laid over OSM details or an index row showed up as
OpenStreetMap under ODbL, or as the place's own website. It now has a source of
its own, community, credited as TREK Community under CC BY 4.0, like the
service publishes it.
This commit is contained in:
Maurice
2026-10-30 22:28:15 +01:00
parent 7f2a3b6039
commit ce5ec7132f
6 changed files with 41 additions and 2 deletions
@@ -402,6 +402,8 @@ function descriptionSourceLabel(
return 'Wikivoyage'
case 'wikipedia':
return 'Wikipedia'
case 'community':
return 'TREK Community'
case 'website':
try {
return new URL(sourceUrl || '').hostname.replace(/^www\./, '')