diff --git a/.gitignore b/.gitignore index c4d6564..6cf0ea1 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/example.LocalSettings.php b/example.LocalSettings.php index 90fbd5c..42d6193 100644 --- a/example.LocalSettings.php +++ b/example.LocalSettings.php @@ -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"]; @@ -351,4 +365,14 @@ $wgShellRestrictionMethod = 'firejail'; # Timedmedia Extension needed for Score and Video Support wfLoadExtension( 'TimedMediaHandler' ); #$wgFFmpegLocation = '/usr/bin/ffmpeg'; # already set under embedvideo -#$wgMaxShellMemory = xxxx; # For performance issuse \ No newline at end of file +#$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' \ No newline at end of file