Lucas Werkmeister (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/386375 )

Change subject: Use HTTPS for openstreetmap.org links
......................................................................

Use HTTPS for openstreetmap.org links

openstreetmap.org does not yet redirect to HTTPS by default [1], but
they seem committed to support HTTPS for the time being, so we can link
to their domain using HTTPS and trust that the link should not break in
the near future.

For the tile servers, this also enables the use of HTTP/2 [2], which
reduces load on the OSM servers and speeds up downloads for the user.

[1]: https://github.com/openstreetmap/operations/issues/117
[2]: 
https://github.com/openstreetmap/operations/issues/117#issuecomment-258642954

Change-Id: I7513a7edd28a9f3c5f515c69634f1707cdb7e67e
---
M wikibase/queryService/ui/resultBrowser/CoordinateResultBrowser.js
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikidata/query/gui 
refs/changes/75/386375/1

diff --git a/wikibase/queryService/ui/resultBrowser/CoordinateResultBrowser.js 
b/wikibase/queryService/ui/resultBrowser/CoordinateResultBrowser.js
index ae6ae45..f790c03 100644
--- a/wikibase/queryService/ui/resultBrowser/CoordinateResultBrowser.js
+++ b/wikibase/queryService/ui/resultBrowser/CoordinateResultBrowser.js
@@ -37,13 +37,13 @@
                        url: 
'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png',
                        options: {
                                id: 'wikipedia-map-01',
-                               attribution: ' <a 
href="https://maps.wikimedia.org/";>Wikimedia</a> | &copy; <a 
href="http://www.openstreetmap.org/copyright";>OpenStreetMap</a> contributors'
+                               attribution: ' <a 
href="https://maps.wikimedia.org/";>Wikimedia</a> | &copy; <a 
href="https://www.openstreetmap.org/copyright";>OpenStreetMap</a> contributors'
                        }
                },
                osm: {
-                       url: 
'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
+                       url: 
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
                        options: {
-                               attribution: '&copy; <a 
href="http://www.openstreetmap.org/copyright";>OpenStreetMap</a> contributors'
+                               attribution: '&copy; <a 
href="https://www.openstreetmap.org/copyright";>OpenStreetMap</a> contributors'
                        }
                }
        };

-- 
To view, visit https://gerrit.wikimedia.org/r/386375
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7513a7edd28a9f3c5f515c69634f1707cdb7e67e
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/query/gui
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to