Kevin Veen-Birkenbach
58c17bf043
web-app-mediawiki: template-driven LocalSettings.php + admin automation; compose & config tweaks
Config & features:
- roles/web-app-mediawiki/config/main.yml:
- Add sitename ('Wiki on {{ PRIMARY_DOMAIN | upper }}') and meta_namespace ('Meta')
- Enable central_database feature and database service
- Move volumes under docker.volumes (correct indentation)
Tasks & automation:
- roles/web-app-mediawiki/tasks/main.yml:
- Avoid immediate compose handler flush (docker_compose_flush_handlers: false), then explicit meta: flush_handlers
- Deploy templated LocalSettings.php to host path
- Create admin via maintenance/createAndPromote.php (docker exec, idempotent changed_when/failed_when)
Templates:
- roles/web-app-mediawiki/templates/LocalSettings.php.j2:
- Set $wgSitename, $wgMetaNamespace, $wgServer from MEDIAWIKI_*
- DB settings (mysql, host:port, name, user, password)
- Mail settings (EmergencyContact/PasswordSender)
- Default skin: vector
- Load basic extensions (ParserFunctions, Cite)
- roles/web-app-mediawiki/templates/docker-compose.yml.j2:
- Switch to MEDIAWIKI_* vars, mount LocalSettings.php (ro)
- Use container_port, include curl healthcheck
- Fix volumes name to MEDIAWIKI_VOLUME
Vars:
- roles/web-app-mediawiki/vars/main.yml:
- Restructure with MEDIAWIKI_* (sitename, meta_namespace, URL, image/version/container/volume)
- Define SETTINGS host/dock paths, container_port, default user (www-data)
- Admin bootstrap vars (name/password/email)
Misc:
- Add empty schema/main.yml placeholder for future validation
Refs: ChatGPT conversation (2025-08-28, Europe/Berlin). Link: https://chatgpt.com/share/68b0ace6-f8f4-800f-b7a7-a51a6c5260f1
2025-08-28 21:28:47 +02:00
..
2025-08-14 14:39:18 +02:00
2025-08-20 08:54:17 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 08:54:17 +02:00
2025-08-18 13:35:43 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-26 20:44:05 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-28 11:25:35 +02:00
2025-08-15 17:59:09 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-19 19:02:52 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 08:54:17 +02:00
2025-08-26 22:35:41 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-27 16:19:57 +02:00
2025-08-20 15:56:32 +02:00
2025-08-27 20:58:00 +02:00
2025-08-19 19:06:58 +02:00
2025-08-21 21:04:21 +02:00
2025-08-15 21:35:45 +02:00
2025-08-14 14:39:18 +02:00
2025-08-28 10:15:48 +02:00
2025-08-28 11:25:35 +02:00
2025-08-14 14:39:18 +02:00
2025-08-18 22:24:33 +02:00
2025-08-18 21:22:16 +02:00
2025-08-19 15:00:44 +02:00
2025-08-19 15:00:44 +02:00
2025-08-19 21:50:55 +02:00
2025-08-18 13:35:43 +02:00
2025-08-19 19:02:52 +02:00
2025-08-18 13:35:43 +02:00
2025-08-18 13:35:43 +02:00
2025-08-14 14:39:18 +02:00
2025-08-20 01:20:06 +02:00
2025-08-20 15:17:04 +02:00
2025-08-20 15:17:04 +02:00
2025-08-21 21:04:21 +02:00
2025-08-26 19:23:47 +02:00
2025-08-19 15:00:44 +02:00
2025-08-19 15:00:44 +02:00
2025-08-21 18:43:17 +02:00
2025-08-22 09:23:40 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 04:46:27 +02:00
2025-08-20 04:12:42 +02:00
2025-08-26 10:15:35 +02:00
2025-08-27 17:34:59 +02:00
2025-08-20 04:12:42 +02:00
2025-08-26 20:44:05 +02:00
2025-08-20 05:02:16 +02:00
2025-08-20 08:54:17 +02:00
2025-08-27 17:34:59 +02:00
2025-08-26 19:10:41 +02:00
2025-08-26 18:25:25 +02:00
2025-08-26 18:48:45 +02:00
2025-08-19 19:02:52 +02:00
2025-08-19 19:02:52 +02:00
2025-08-14 14:39:18 +02:00
2025-08-18 23:54:23 +02:00
2025-08-14 14:39:18 +02:00
2025-08-28 21:16:04 +02:00
2025-08-26 20:44:05 +02:00
2025-08-26 20:44:05 +02:00
2025-08-26 11:35:22 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-14 14:39:18 +02:00
2025-08-16 21:43:01 +02:00
2025-08-20 08:54:17 +02:00
2025-08-18 21:22:16 +02:00
2025-08-22 14:48:50 +02:00
2025-08-18 13:35:43 +02:00
2025-08-27 18:12:49 +02:00
2025-08-14 14:39:18 +02:00
2025-08-19 19:02:52 +02:00
2025-08-19 15:00:44 +02:00
2025-08-14 14:39:18 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 06:07:33 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-15 15:15:48 +02:00
2025-08-19 19:02:52 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-26 11:35:22 +02:00
2025-08-28 11:25:35 +02:00
2025-08-27 12:27:55 +02:00
2025-08-27 11:19:59 +02:00
2025-08-28 10:15:48 +02:00
2025-08-28 11:25:35 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-28 11:25:35 +02:00
2025-08-28 10:15:48 +02:00
2025-08-28 11:25:35 +02:00
2025-08-28 10:15:48 +02:00
2025-08-28 10:15:48 +02:00
2025-08-28 10:15:48 +02:00
2025-08-28 10:15:48 +02:00
2025-08-28 10:15:48 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 01:01:32 +02:00
2025-08-28 21:15:07 +02:00
2025-08-28 10:15:48 +02:00
2025-08-28 10:15:48 +02:00
2025-08-20 05:49:35 +02:00
2025-08-27 16:19:57 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 15:35:08 +02:00
2025-08-27 21:57:04 +02:00
2025-08-28 21:28:47 +02:00
2025-08-28 11:25:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-28 11:25:35 +02:00
2025-08-20 08:54:17 +02:00
2025-08-28 11:25:35 +02:00
2025-08-28 11:25:35 +02:00
2025-08-20 15:56:32 +02:00
2025-08-28 11:25:35 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 01:01:32 +02:00
2025-08-28 10:15:48 +02:00
2025-08-20 01:01:32 +02:00
2025-08-27 21:57:04 +02:00
2025-08-14 14:39:18 +02:00
2025-08-15 15:15:48 +02:00
2025-08-28 11:25:35 +02:00
2025-08-28 10:15:48 +02:00
2025-08-14 14:39:18 +02:00
2025-08-28 11:25:35 +02:00
2025-08-20 17:51:17 +02:00
2025-08-27 23:58:37 +02:00
2025-08-28 11:25:35 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 08:54:17 +02:00
2025-08-21 16:48:37 +02:00
2025-08-20 05:00:24 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 05:00:24 +02:00
2025-08-28 11:25:35 +02:00
2025-08-28 11:25:35 +02:00
2025-08-20 05:00:24 +02:00
2025-07-04 08:03:27 +02:00
2025-03-20 17:00:07 +01:00
2025-08-18 21:22:16 +02:00
2025-07-10 15:36:40 +02:00
2025-07-12 17:52:36 +02:00
2025-07-29 16:35:42 +02:00