[Git][debian-gis-team/josm][master] Add patch for missing tag2link sources.

Bas Couwenberg gitlab at salsa.debian.org
Tue Jun 2 18:59:31 BST 2020



Bas Couwenberg pushed to branch master at Debian GIS Project / josm


Commits:
0918c087 by Bas Couwenberg at 2020-06-02T19:54:02+02:00
Add patch for missing tag2link sources.

- - - - -


4 changed files:

- debian/changelog
- debian/josm.install
- debian/patches/series
- + debian/patches/tag2link.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+josm (0.0.svn16538+dfsg-2) UNRELEASED; urgency=medium
+
+  * Add patch for missing tag2link sources.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 02 Jun 2020 19:33:34 +0200
+
 josm (0.0.svn16538+dfsg-1) unstable; urgency=medium
 
   * New tested snapshot.


=====================================
debian/josm.install
=====================================
@@ -1,3 +1,4 @@
 resources/data/      usr/share/josm/
 resources/images/    usr/share/josm/
 resources/styles/    usr/share/josm/
+resources/webjars/   usr/share/josm/


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@
 08-use_noto_font.patch
 09-no-java-8.patch
 openinghoursparser.patch
+tag2link.patch


=====================================
debian/patches/tag2link.patch
=====================================
@@ -0,0 +1,961 @@
+Description: Add tag2link sources.
+Origin: https://github.com/JOSM/tag2link
+
+--- /dev/null
++++ b/resources/webjars/tag2link/2020.5.16/index.json
+@@ -0,0 +1,932 @@
++[
++  {
++    "key": "Key:3dmr",
++    "url": "https://3dmr.eu/model/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:facebook",
++    "url": "https://www.facebook.com/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:facebook",
++    "url": "https://www.messenger.com/t/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:fax",
++    "url": "tel:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:foursquare",
++    "url": "https://www.foursquare.com/v/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:google_plus",
++    "url": "https://web.archive.org/web/20190401000000/https://plus.google.com/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:google_plus",
++    "url": "https://web.archive.org/web/20190401000000/https://plus.google.com/u/0/$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:contact:instagram",
++    "url": "https://www.instagram.com/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:mastodon",
++    "url": "https://wikidata-externalid-url.toolforge.org/?p=4033&id=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:phone",
++    "url": "tel:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://ar.pinterest.com/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://au.pinterest.com/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://br.pinterest.com/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://co.pinterest.com/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://in.pinterest.com/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.ca/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.co.uk/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.com.mx/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.com/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.de/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.es/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.fr/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.it/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:pinterest",
++    "url": "https://www.pinterest.jp/$1/",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:telegram",
++    "url": "https://t.me/s/$1",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:contact:telegram",
++    "url": "tg://resolve?domain=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:tripadvisor",
++    "url": "https://www.tripadvisor.com/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:twitter",
++    "url": "https://twitter.com/$1",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:contact:twitter",
++    "url": "https://tools.wmflabs.org/scholia/twitter/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:twitter",
++    "url": "https://twitter.com/intent/user?screen_name=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:yelp",
++    "url": "https://www.yelp.com/biz/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:contact:yelp",
++    "url": "https://www.yelp.com/biz/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:de:amtlicher_gemeindeschluessel",
++    "url": "http://www.statistik-portal.de/Statistik-Portal/gemeindeverz.asp?G=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:de:amtlicher_gemeindeschluessel",
++    "url": "https://www.hdbg.eu/gemeinden/index.php/detail?rschl=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:de:amtlicher_gemeindeschluessel",
++    "url": "https://www.statistik.bayern.de/mam/produkte/statistik_kommunal/2018/$1.pdf",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:fax",
++    "url": "tel:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:fhrs:id",
++    "url": "https://ratings.food.gov.uk/business/en-GB/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:flag:wikidata",
++    "url": "https://www.wikidata.org/wiki/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:gnis:feature_id",
++    "url": "https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:gnis:id",
++    "url": "https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:GNISID",
++    "url": "https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:iata",
++    "url": "https://www.iata.org/en/publications/directories/code-search/?airport.search=$1",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:iata",
++    "url": "https://www.iata.org/en/publications/directories/code-search/?airport.search=$1",
++    "source": "wikidata:P3303",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:iata",
++    "url": "http://aviation-safety.net/database/airport/airport.php?id=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:iata",
++    "url": "http://uk.flightaware.com/live/airport/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:iata",
++    "url": "https://flightadsb.variflight.com/airport/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:iata",
++    "url": "https://www.flightradar24.com/data/airports/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:iata",
++    "url": "https://www.flightradar24.com/data/airports/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:icao",
++    "url": "http://uk.flightaware.com/live/airport/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:icao",
++    "url": "http://worldaerodata.com/wad.cgi?airport=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:icao",
++    "url": "https://www.flightradar24.com/data/airports/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:icao",
++    "url": "https://www.flightradar24.com/data/airports/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:image",
++    "url": "https://commons.wikimedia.org/wiki/File:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:koatuu",
++    "url": "http://dovidnyk.in.ua/directories/koatuu/search=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:mapillary",
++    "url": "https://www.mapillary.com/map/im/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:mdb_id",
++    "url": "https://molendatabase.nl/nederland/molen.php?nummer=$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:nist:fips_code",
++    "url": "http://www.census.gov/quickfacts/table/PST045215/$1,00",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:nycdoitt:bin",
++    "url": "http://a810-bisweb.nyc.gov/bisweb/PropertyProfileOverviewServlet?bin=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:openplaques:id",
++    "url": "https://openplaques.org/plaques/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:phone",
++    "url": "tel:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:admiralty",
++    "url": "http://listoflights.org/site/search?q=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:arlhs",
++    "url": "http://wlol.arlhs.com/lighthouse/$1.html",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:at:bda",
++    "url": "https://tools.wmflabs.org/denkmalliste/index.php?action=EinzelID&ID=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:AT:bda",
++    "url": "https://tools.wmflabs.org/denkmalliste/index.php?action=EinzelID&ID=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:at:gkz",
++    "url": "http://www.statistik.at/blickgem/gemDetail.do?gemnr=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:bag",
++    "url": "https://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?searchQuery=$1",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:ref:bag",
++    "url": "https://bag.basisregistraties.overheid.nl/bag/id/pand/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:bag",
++    "url": "https://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?searchQuery=$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:ccg",
++    "url": "http://google.com/search?q=$1+site:www.notmar.gc.ca/publications/list-livre",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:crs",
++    "url": "http://ojp.nationalrail.co.uk/service/ldbboard/dep/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:crs",
++    "url": "http://www.nationalrail.co.uk/stations/$1/details.html",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:crs",
++    "url": "http://www.realtimetrains.co.uk/search/advanced/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:crs",
++    "url": "https://traintimes.org.uk/live/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:crs",
++    "url": "https://www.northernrailway.co.uk/stations/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:edubase",
++    "url": "https://get-information-schools.service.gov.uk/Establishments/Establishment/Details/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:edubase",
++    "url": "https://www.get-information-schools.service.gov.uk/Establishments/Establishment/Details/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:ef",
++    "url": "http://www.marina.difesa.it/cosa-facciamo/per-la-difesa-sicurezza/fari/Pagine/$1.aspx",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:ref:ef",
++    "url": "http://www.marina.difesa.it/cosa-facciamo/fari/Pagine/$1.aspx",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:FR:CEF",
++    "url": "http://egliseinfo.catholique.fr/#!lieu:$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:FR:FINESS",
++    "url": "http://finess.sante.gouv.fr/finess/jsp/actionDetailEtablissement.do?noFiness=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:FR:LaPoste",
++    "url": "http://www.laposte.fr/particulier/outils/trouver-un-bureau-de-poste/bureau-detail/$1/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:FR:MemorialGenWeb",
++    "url": "http://www.memorialgenweb.org/memorial3/html/fr/resultcommune.php?idsource=$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:FR:museofile",
++    "url": "https://www.pop.culture.gouv.fr/notice/museo/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:FR:NAF",
++    "url": "https://www.insee.fr/fr/metadonnees/nafr2?q=$1&champRecherche=true",
++    "source": "osmwiki:P8",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:ref:FR:NAF",
++    "url": "http://recherche-naf.insee.fr/SIRENET_ClassesNaf/$1.htm",
++    "source": "osmwiki:P8",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:FR:SIRET",
++    "url": "https://entreprise.data.gouv.fr/etablissement/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:FR:SIRET",
++    "url": "https://www.infogreffe.fr/societes/entreprise-societe/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:gnis",
++    "url": "https://geonames.usgs.gov/apex/f?p=gnispq:3:::NO::P3_FID:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:INSEE",
++    "url": "http://id.eaufrance.fr/COM/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:INSEE",
++    "url": "http://www.amf.asso.fr/annuaire/index.asp?refer=commune&NUM_INSEE=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:INSEE",
++    "url": "https://dev.cadastre.openstreetmap.fr/fantoir/#insee=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:INSEE",
++    "url": "https://www.insee.fr/fr/statistiques/2011101?geo=COM-$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "https://w3id.org/isil/$1",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "https://w3id.org/isil/$1",
++    "source": "wikidata:P3303",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "http://lobid.org/organisations/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "http://sigel.staatsbibliothek-berlin.de/nc/suche/?isil=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "http://anagrafe.iccu.sbn.it/isil/$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "http://dispatch.opac.d-nb.de/DB=1.2/CMD?ACT=SRCHA&IKT=8529&TRM=$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "http://id.ndl.go.jp/vocab/isil/$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "http://isil.kansalliskirjasto.fi/api/query?isil=$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "http://isil.kbr.be/$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "http://sigel.staatsbibliothek-berlin.de/nc/suche/?isil=$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "https://lobid.org/organisation/$1/about",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "https://tools.wmflabs.org/wikidata-externalid-url/?url=http%3A%2F%2Fwww.sudoc.abes.fr%2Fcbs%2Fxslt%2F%2FDB%3D2.2%2FCMD%3FACT%3DSRCHA%26IKT%3D8888%26SRT%3DRLV%26TRM%3D%251&exp=%5EFR-(%5Cd%7B9%7D)&id=$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "https://w3id.org/isil/$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "https://w3id.org/isil/$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "https://w3id.org/isil/$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:isil",
++    "url": "https://w3id.org/isil/AU-$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:mhs",
++    "url": "https://www.pop.culture.gouv.fr/notice/merimee/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:mhs",
++    "url": "http://www.culture.gouv.fr/public/mistral/merimee_fr?ACTION=CHERCHER&FIELD_1=REF&VALUE_1=$1",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:ref:nga",
++    "url": "https://wikidata-externalid-url.toolforge.org/?url=https%3A%2F%2Fmsi.nga.mil%2FqueryResults%3Fpublications%2Fngalol%2Flights-buoys%3Fvolume%3D%251%26featureNumber%3D%252%26includeRemovals%3Dfalse%26output%3Dhtml&exp=(%5Cd%7B3%7D)-(.*)&id=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:nrhp",
++    "url": "https://npgallery.nps.gov/AssetDetail/NRIS/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:OnroerendErfgoed",
++    "url": "https://id.erfgoed.net/erfgoedobjecten/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:rce",
++    "url": "https://monumentenregister.cultureelerfgoed.nl/monumenten/$1",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:ref:rce",
++    "url": "https://monumentenregister.cultureelerfgoed.nl/monumenten/pdf/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:ruian",
++    "url": "https://linked.cuzk.cz/resource/ruian/katastralni-uzemi/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:ruian",
++    "url": "https://vdp.cuzk.cz/vdp/ruian/obce/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:ruian:building",
++    "url": "https://vdp.cuzk.cz/vdp/ruian/stavebniobjekty/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:ruian:street",
++    "url": "https://linked.cuzk.cz/resource/ruian/ulice/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:sandre",
++    "url": "http://www.sandre.eaufrance.fr/geo/CoursEau/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:UAI",
++    "url": "http://www.education.gouv.fr/pid24302/annuaire-resultat-recherche.html?lycee_name=$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:uscg",
++    "url": "https://wikidata-externalid-url.toolforge.org/?url=https%3A%2F%2Fmsi.nga.mil%2FqueryResults%3Fpublications%2Fuscgll%3Fvolume%3D%251%26featureNumber%3D%252%26includeRemovals%3Dfalse%26output%3Dhtml&exp=(%5Cd)-(.*)&id=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:vatin",
++    "url": "https://wikidata-externalid-url.toolforge.org/?p=3608&url_prefix=http://ec.europa.eu/taxation_customs/vies/vatResponse.html?memberStateCode=&id=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:whc",
++    "url": "http://www.worldheritagesite.org/sites/site.php?id=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:whc",
++    "url": "https://whc.unesco.org/en/list/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:whc",
++    "url": "https://whc.unesco.org/fr/list/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:wigos",
++    "url": "https://oscar.wmo.int/surface/#/search/station/stationReportDetails/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:woonplaatscode",
++    "url": "https://bag.basisregistraties.overheid.nl/bag/id/woonplaats/$1",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:ref:woonplaatscode",
++    "url": "https://bagviewer.kadaster.nl/lvbag/bag-viewer/index.html#?objectId=$1&detailsObjectId=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:ref:woonplaatscode",
++    "url": "https://brt.basisregistraties.overheid.nl/top10nl/doc/plaats/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:seamark:radio_station:mmsi",
++    "url": "https://www.marinetraffic.com/ais/details/ships/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:seamark:radio_station:mmsi",
++    "url": "http://sd.ic.gc.ca/pls/engdoc_anon/mmsi_search.Ship_Search_Single?inMMSI=$1&invesname=&inname=&oinmmsi=$1&incallsign=&invesid=&ininmarsat=",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:seamark:virtual_aton:mmsi",
++    "url": "https://www.marinetraffic.com/ais/details/ships/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:seamark:virtual_aton:mmsi",
++    "url": "http://sd.ic.gc.ca/pls/engdoc_anon/mmsi_search.Ship_Search_Single?inMMSI=$1&invesname=&inname=&oinmmsi=$1&incallsign=&invesid=&ininmarsat=",
++    "source": "wikidata:P1630",
++    "rank": "deprecated"
++  },
++  {
++    "key": "Key:twitter",
++    "url": "https://twitter.com/$1",
++    "source": "wikidata:P1630",
++    "rank": "preferred"
++  },
++  {
++    "key": "Key:twitter",
++    "url": "https://tools.wmflabs.org/scholia/twitter/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:twitter",
++    "url": "https://twitter.com/intent/user?screen_name=$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:website",
++    "url": "$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:website",
++    "url": "https://web.archive.org/web/*/$1/",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://inventaire.io/entity/wd:$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://osm.wikidata.link/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://taginfo.openstreetmap.org/tags/wikidata=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://tools.wmflabs.org/autodesc/?q=$1&links=wikipedia&lang=en&mode=long&format=html&redlinks=reasonator",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://tools.wmflabs.org/hub/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://tools.wmflabs.org/portal/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://tools.wmflabs.org/reasonator/?q=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://tools.wmflabs.org/scholia/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://tools.wmflabs.org/sqid/#/view?id=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://viaf.org/processed/WKP|$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://www.wikidata.org/w/index.php?title=Special:CiteThisPage&page=$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://www.wikidata.org/wiki/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikidata",
++    "url": "https://www.wikidata.org/wiki/Special:Nearby#/page/$1",
++    "source": "wikidata:P3303",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:wikimedia_commons",
++    "url": "https://commons.wikimedia.org/wiki/File:$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:woeid",
++    "url": "https://www.flickr.com/places/info/$1",
++    "source": "wikidata:P1630",
++    "rank": "normal"
++  },
++  {
++    "key": "Key:woeid",
++    "url": "https://www.flickr.com/places/info/$1",
++    "source": "osmwiki:P8",
++    "rank": "normal"
++  }
++]
+\ No newline at end of file
+--- a/src/org/openstreetmap/josm/tools/Tag2Link.java
++++ b/src/org/openstreetmap/josm/tools/Tag2Link.java
+@@ -4,6 +4,7 @@ package org.openstreetmap.josm.tools;
+ import static org.openstreetmap.josm.tools.I18n.tr;
+ import static org.openstreetmap.josm.tools.I18n.trn;
+ 
++import java.io.FileInputStream;
+ import java.io.IOException;
+ import java.io.InputStream;
+ import java.net.MalformedURLException;
+@@ -89,9 +90,9 @@ public final class Tag2Link {
+      * @throws IOException in case of I/O error
+      */
+     private static void initializeFromResources() throws IOException {
+-        final String resource = "META-INF/resources/webjars/tag2link/2020.5.16/index.json";
++        final String resource = "/usr/share/josm/webjars/tag2link/2020.5.16/index.json";
+         final JsonArray rules;
+-        try (InputStream inputStream = Tag2Link.class.getClassLoader().getResourceAsStream(resource);
++        try (InputStream inputStream = new FileInputStream(resource);
+              JsonReader jsonReader = Json.createReader(inputStream)) {
+             rules = jsonReader.readArray();
+         }



View it on GitLab: https://salsa.debian.org/debian-gis-team/josm/-/commit/0918c087ac0cdbafbf1ff25afd4549ae3585eea2

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/josm/-/commit/0918c087ac0cdbafbf1ff25afd4549ae3585eea2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200602/fec8ff0f/attachment-0001.html>


More information about the Pkg-grass-devel mailing list