Updated settings for thunderforest tile server
This commit is contained in:
parent
9f96a91fbd
commit
78f14d712d
2 changed files with 30 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,7 +1,9 @@
|
|||
## Directories to ignore
|
||||
|
||||
mdbdata/
|
||||
wikidata/
|
||||
.DS_Store
|
||||
maps-data/maptiler-osm-2021-05-31-v3.12.1-planet.mbtiles
|
||||
.DS_Store
|
||||
wikidata/images
|
||||
wikidata/vendor
|
||||
wikidata
|
||||
|
|
|
|||
|
|
@ -314,8 +314,15 @@ $egMapsDefaultGeoService = 'nominatim';
|
|||
|
||||
# Kartographer as a subcategory
|
||||
wfLoadExtension( 'Kartographer' );
|
||||
|
||||
# Global OpenStreetmap tile Server
|
||||
# Open Streetmap Tile server does not serve @2x tiles
|
||||
#$wgKartographerMapServer = 'https://tile.openstreetmap.org';
|
||||
#$wgKartographerDfltStyle = '';
|
||||
|
||||
# Frensh tile severthat works with wiki out of the box
|
||||
#$wgKartographerMapServer = 'https://tile.openstreetmap.fr';
|
||||
#$wgKartographerDfltStyle = 'osmfr';
|
||||
|
||||
# Problem mit der Konfiguration von einem Externen Tile Server
|
||||
# MediaWiki implementiert nur seinen eigenen Tile Server mit einer Festen Syntax
|
||||
|
|
@ -325,11 +332,18 @@ wfLoadExtension( 'Kartographer' );
|
|||
# Dieser kann aber nicht mit Pins umgehen. (evtl. eigenen Tile server Bauen der das alles kann)
|
||||
# In der Zwischenzeit ist das meine Lösung:
|
||||
# Doppel slash kann von dem Deutschen Open Street Map Server ignoriert werden
|
||||
$wgKartographerMapServer = 'https://a.tile.openstreetmap.de/';
|
||||
$wgKartographerDfltStyle = '//';
|
||||
|
||||
# This works fine but would need to serve via https in order do be allowed on modern Browsers (Consol Log Mixed-Content error)
|
||||
#$wgKartographerMapServer = 'http://192.168.178.5:8091';
|
||||
#$wgKartographerDfltStyle = 'styles/klokantech-basic';
|
||||
|
||||
#######################################
|
||||
# Retina Bildschirme schicken noch ein @2x in der URL mit dies kann der Deutsche Tile Server auch noch nicht.
|
||||
|
||||
# Thunderforest Tile Service
|
||||
$wgKartographerMapServer = 'https://tile.thunderforest.com';
|
||||
$wgKartographerDfltStyle = 'landscape';
|
||||
|
||||
# Zusatz Variable für die MediaWiki eigene Variante wird aber hier nicht benötigt.
|
||||
#$wgKartographerStyles = ["osm-intl","osm"];
|
||||
|
||||
|
|
@ -352,3 +366,13 @@ $wgShellRestrictionMethod = 'firejail';
|
|||
wfLoadExtension( 'TimedMediaHandler' );
|
||||
#$wgFFmpegLocation = '/usr/bin/ffmpeg'; # already set under embedvideo
|
||||
#$wgMaxShellMemory = xxxx; # For performance issuse
|
||||
|
||||
|
||||
# Eventually fix for Issu: Parsoid/RESTbase: (curl error: 7) Couldn't connect to server
|
||||
# Restart OSX helped for me last time
|
||||
# MediaWiki Page: https://www.mediawiki.org/wiki/Topic:Uzwaxv6t2myhvf8o
|
||||
#if ( $_SERVER['REMOTE_ADDR'] == '127.0.0.1' ) {
|
||||
# $wgGroupPermissions['*']['read'] = true;
|
||||
# $wgGroupPermissions['*']['edit'] = true;
|
||||
# }
|
||||
#uri: 'http://localhost/api.php'
|
||||
Loading…
Add table
Reference in a new issue