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
|
||||
# Die Namen entsprechen den Style-Dateien in data/styles/
|
||||
$wgKartographerStyles = [
|
||||
'osm-bright', # OpenStreetMap Vektorkarte (MapLibre GL)
|
||||
'satellite-hybrid', # Satellitenkarte
|
||||
'osm-bright', # OpenStreetMap Vektorkarte (MapLibre GL)
|
||||
'satellite-hybrid', # Satellitenkarte
|
||||
];
|
||||
|
||||
# Standard-Stil
|
||||
|
|
@ -37,9 +37,10 @@ $wgKartographerSrcsetScales = [ 1, 1.5, 2 ];
|
|||
|
||||
# Beispiel-Verwendung in einem Wiki-Artikel:
|
||||
# <maplink zoom="12" latitude="48.137" longitude="11.576">
|
||||
# {"type":"Feature","geometry":{"type":"Point","coordinates":[11.576,48.137]},
|
||||
# "properties":{"title":"Muenchen","description":"Landeshauptstadt"}}
|
||||
# </maplink>
|
||||
# {"type":"Feature","geometry":{"type":"Point","coordinates":[11.576,48.137]},
|
||||
# "properties":{"title":"Muenchen","description":"Landeshauptstadt"}}
|
||||
# </maplink>
|
||||
|
||||
# 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
|
||||
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
|
||||
- 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