docs: finalize mediawiki kartographer snippet updates
This commit is contained in:
parent
0a5f6cd005
commit
6a20e311f4
3 changed files with 29 additions and 11 deletions
|
|
@ -19,8 +19,8 @@ $wgKartographerMapServer = 'https://TILE_SERVER_URL';
|
||||||
# Verfuegbare Kartenstile
|
# Verfuegbare Kartenstile
|
||||||
# Die Namen entsprechen den Style-Dateien in data/styles/
|
# Die Namen entsprechen den Style-Dateien in data/styles/
|
||||||
$wgKartographerStyles = [
|
$wgKartographerStyles = [
|
||||||
'osm-bright', # OpenStreetMap Vektorkarte (MapLibre GL)
|
'osm-bright', # OpenStreetMap Vektorkarte (MapLibre GL)
|
||||||
'satellite-hybrid', # Satellitenkarte
|
'satellite-hybrid', # Satellitenkarte
|
||||||
];
|
];
|
||||||
|
|
||||||
# Standard-Stil
|
# Standard-Stil
|
||||||
|
|
@ -30,16 +30,17 @@ $wgKartographerSrcsetScales = [ 1, 1.5, 2 ];
|
||||||
|
|
||||||
# Tile-Endpunkte (Martin-Format):
|
# Tile-Endpunkte (Martin-Format):
|
||||||
# Vektor-Tiles: https://TILE_SERVER_URL/osm/{z}/{x}/{y}
|
# Vektor-Tiles: https://TILE_SERVER_URL/osm/{z}/{x}/{y}
|
||||||
# Satellit: https://TILE_SERVER_URL/satellite/{z}/{x}/{y}
|
# Satellit: https://TILE_SERVER_URL/satellite/{z}/{x}/{y}
|
||||||
# Style-JSON: https://TILE_SERVER_URL/styles/osm-bright
|
# Style-JSON: https://TILE_SERVER_URL/styles/osm-bright
|
||||||
# Sources: https://TILE_SERVER_URL/catalog
|
# Sources: https://TILE_SERVER_URL/catalog
|
||||||
# Web-UI: https://TILE_SERVER_URL/
|
# Web-UI: https://TILE_SERVER_URL/
|
||||||
|
|
||||||
# Beispiel-Verwendung in einem Wiki-Artikel:
|
# Beispiel-Verwendung in einem Wiki-Artikel:
|
||||||
# <maplink zoom="12" latitude="48.137" longitude="11.576">
|
# <maplink zoom="12" latitude="48.137" longitude="11.576">
|
||||||
# {"type":"Feature","geometry":{"type":"Point","coordinates":[11.576,48.137]},
|
# {"type":"Feature","geometry":{"type":"Point","coordinates":[11.576,48.137]},
|
||||||
# "properties":{"title":"Muenchen","description":"Landeshauptstadt"}}
|
# "properties":{"title":"Muenchen","description":"Landeshauptstadt"}}
|
||||||
# </maplink>
|
# </maplink>
|
||||||
|
|
||||||
# Alternativ mit eingebetteter Karte:
|
# Alternativ mit eingebetteter Karte:
|
||||||
# <mapframe text="Muenchen" zoom="12" latitude="48.137" longitude="11.576" width="420" height="300" />
|
#
|
||||||
|
<mapframe text="Muenchen" zoom="12" latitude="48.137" longitude="11.576" width="420" height="300" />
|
||||||
|
|
@ -82,3 +82,19 @@ Branch: main
|
||||||
|
|
||||||
### Antwort 4
|
### Antwort 4
|
||||||
Bestaetigt: alle drei geaenderten Dateien werden in den Commit aufgenommen. Danach Wechsel in das MediaWiki-Repo und dortige Anpassungen mit eigenem Commit.
|
Bestaetigt: alle drei geaenderten Dateien werden in den Commit aufgenommen. Danach Wechsel in das MediaWiki-Repo und dortige Anpassungen mit eigenem Commit.
|
||||||
|
|
||||||
|
Ausgefuehrte Kommandos:
|
||||||
|
```bash
|
||||||
|
git add config/martin.yaml docker-compose.yml docs/mediawiki-config.php history/prompts/2026-06-10_tile-mediawiki-integration_session.md history/summary/PROJECT_CONTEXT.md
|
||||||
|
git commit -m "feat: enable martin webui and prep mediawiki integration"
|
||||||
|
git status --short
|
||||||
|
git show --name-only --oneline -1
|
||||||
|
git diff -- docs/mediawiki-config.php | sed -n '1,200p'
|
||||||
|
```
|
||||||
|
|
||||||
|
Relevante Outputs:
|
||||||
|
```text
|
||||||
|
[main 0a5f6cd] feat: enable martin webui and prep mediawiki integration
|
||||||
|
5 files changed, 114 insertions(+), 44 deletions(-)
|
||||||
|
M docs/mediawiki-config.php
|
||||||
|
```
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,8 @@ Nextcloud, Home Assistant und andere Dienste Vektorkarten bereitstellt.
|
||||||
|
|
||||||
### Git-Stand
|
### Git-Stand
|
||||||
- Branch: `main`
|
- Branch: `main`
|
||||||
- Uncommitted (vor diesem Update): `config/martin.yaml`, `docker-compose.yml`, `docs/mediawiki-config.php`
|
- Letzter Commit: `0a5f6cd` - WebUI aktiviert und MediaWiki-Integration vorbereitet
|
||||||
|
- Noch offen (lokal): `docs/mediawiki-config.php`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue