MediaWiki deployment for rd13 – a self-hosted wiki running in Docker, served via a reverse proxy, with a MariaDB backend.
Find a file
Conrad Schulz 48c0d525f7
All checks were successful
Docker Build & Push / build (push) Successful in 1m59s
fix: Kartographer tile server und srcset scales dokumentiert
- MapServer jetzt auf /styles endpoint konfiguriert
- SrcsetScales auf [1] gesetzt um @2x requests zu vermeiden
- bracketDevicePixelRatio in Map.js hart auf 1x gesetzt

Diese Änderungen verhindern 404-Fehler bei @2x tile requests auf tile.openstreetmap.org und setzen auf 1x raster tiles.
2026-06-13 09:30:21 +00:00
.forgejo/workflows ci: fix dockerfile path, insecure registry output, use local registry 2026-06-08 13:54:42 +00:00
.github ci: replace Woodpecker with Forgejo Actions (act_runner) 2026-05-31 06:57:13 +00:00
.vscode chore: add GitHub Copilot AI config (instructions, prompts, vscode settings) 2026-05-30 10:55:16 +00:00
Logos Update repo added logos to the repo 2022-03-14 11:52:09 +01:00
.gitignore Update repo added logos to the repo 2022-03-14 11:52:09 +01:00
docker-compose.yml ci: fix dockerfile path, insecure registry output, use local registry 2026-06-08 13:54:42 +00:00
dockerfile downgrade to 1.35 latest 2023-01-02 15:43:47 +01:00
example.LocalSettings.php fix: Kartographer auf tileserver-gl (osm-intl) umgestellt 2026-06-13 06:27:14 +00:00
example.uploads.ini Added .gitignore and switched to docker-compose with bind mounts for data persistance and changed file upload limit to 100MB 2021-01-02 10:03:34 +01:00
README.md fix: Kartographer tile server und srcset scales dokumentiert 2026-06-13 09:30:21 +00:00
stack.yml Added .gitignore and switched to docker-compose with bind mounts for data persistance and changed file upload limit to 100MB 2021-01-02 10:03:34 +01:00

Install Instructions

$ sudo docker-compose up -d

CI/CD

Dieses Repo nutzt Woodpecker CI (via .woodpecker.yml) für automatische Docker-Builds.

Event Aktion
Push auf main Build + Push → 192.168.178.6:8083/cschulz/rd13_media_wiki:latest
Pull Request auf main Build only (dry-run, kein Push)

Forgejo Actions ist deaktiviert ([actions] ENABLED = false in app.ini).
Der "waiting"-Status im Forgejo-Actions-Tab kann ignoriert werden Woodpecker übernimmt alle CI-Aufgaben.

Benötigte Woodpecker-Secrets:

  • RD13_MW_DOCKER_BUILD_TOKEN Forgejo Access Token mit write:packages Scope

Setup and use our own Tile Server

This is needed to use maps in extensions.

Dieses Repo ist auf einen externen Martin Tile Server ausgelegt.

Voraussetzung

  • Martin ist erreichbar (z. B. https://tiles.rd13server.de)
  • Martin liefert Styles unter /styles/osm-bright und /styles/satellite-hybrid

LocalSettings Konfiguration

In LocalSettings.php:

wfLoadExtension( 'Kartographer' );
$wgKartographerMapServer = 'https://tiles.rd13server.de/styles';
$wgKartographerStyles = [
	'osm-bright',
	'satellite-hybrid',
];
$wgKartographerDfltStyle = 'osm-bright';
$wgKartographerSrcsetScales = [ 1 ];

Schnelltest im Wiki

<mapframe text="Muenchen" zoom="12" latitude="48.137" longitude="11.576" width="420" height="300" />

Update of Media Wiki

Update of the MediaWiki Core

Um ein neues Docker-Image mit der neusten Version zu bauen, kann man entweder einen neuen Commit auf main pushen (Woodpecker CI baut und pushed das Image automatisch), oder den Build-Workflow händisch in Woodpecker über die UI auslösen.

Nach dem das neue Images gebaut ist, kann es mit gepulled und gestartet werden. Hierfür kann man folgende Kommandos nehmen.

$ sudo docker-compose down
$ sudo docker-compose pull
$ sudo docker-compose up -d

Tried to update to 1.39 from 1.35.5 did not work. Maybe a step by step update is needed now from 1.35.9

Update of Plugins

This is in the best case done with composer.

How to bring Plugins into the composer workflow