mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	refactor(web-app-mediawiki): unify debug & oidc handling via _ensure_require, introduce host-side prep, switch to bind mounts
- Removed obsolete Installation.md, TODO.md, 02_debug.yml, 05_oidc.yml and legacy debug enable/disable tasks - Added 01_prep.yml to render debug.php/oidc.php on host side before container start - Introduced _ensure_require.yml for generic require_once management in LocalSettings.php - Renamed 01_install.yml -> 02_install.yml to align with new numbering - Updated docker-compose.yml.j2 to bind-mount mw-local into /opt/mw-local - Adjusted vars/main.yml to define MEDIAWIKI_LOCAL_MOUNT_DIR and MEDIAWIKI_LOCAL_PATH - Templates debug.php.j2 and oidc.php.j2 now gated by MODE_DEBUG and MEDIAWIKI_OIDC_ENABLED - main.yml now orchestrates prep, install, debug, extensions, oidc require, admin consistently Ref: https://chatgpt.com/share/68b57db2-efcc-800f-a733-aca952298437
This commit is contained in:
		| @@ -10,7 +10,9 @@ MEDIAWIKI_URL:                    "{{ domains | get_url(application_id, WEB_PROT | ||||
| ## Folders | ||||
| MEDIAWIKI_HTML_DIR:               "/var/www/html" | ||||
| MEDIAWIKI_CONFIG_DIR:             "{{ docker_compose.directories.config }}" | ||||
| MEDIAWIKI_OIDC_FILE:              "{{ docker_compose.directories.config }}/oidc.php" | ||||
| MEDIAWIKI_VOLUMES_DIR:            "{{ docker_compose.directories.volumes }}" | ||||
| MEDIAWIKI_LOCAL_MOUNT_DIR:        "{{ MEDIAWIKI_VOLUMES_DIR }}/mw-local" | ||||
| MEDIAWIKI_LOCAL_PATH:             "/opt/mw-local" | ||||
|  | ||||
| ## Docker | ||||
| MEDIAWIKI_VERSION:                "{{ applications | get_app_conf(application_id, 'docker.services.mediawiki.version') }}" | ||||
| @@ -32,10 +34,10 @@ MEDIAWIKI_OIDC_ISSUER:            "{{ OIDC.CLIENT.ISSUER_URL }}" | ||||
| MEDIAWIKI_OIDC_BUTTON_TEXT:       "{{ OIDC.BUTTON_TEXT }}" | ||||
|  | ||||
| # Extensions | ||||
| MEDIAWIKI_EXT_BRANCH:   "REL1_44"                                   # passend zu MediaWiki 1.44 | ||||
| MEDIAWIKI_EXT_BRANCH:   "REL1_44" | ||||
| MEDIAWIKI_EXT_CFG_BASE: "{{ MEDIAWIKI_CONFIG_DIR }}/mwext/{{ MEDIAWIKI_EXT_BRANCH }}" | ||||
| MEDIAWIKI_EXT_LIST: | ||||
|   - name: "PluggableAuth" | ||||
|     url: "https://codeload.github.com/wikimedia/mediawiki-extensions-PluggableAuth/tar.gz/refs/heads/{{ MEDIAWIKI_EXT_BRANCH }}" | ||||
|   - name: "OpenIDConnect" | ||||
|     url: "https://codeload.github.com/wikimedia/mediawiki-extensions-OpenIDConnect/tar.gz/refs/heads/{{ MEDIAWIKI_EXT_BRANCH }}" | ||||
|     url: "https://codeload.github.com/wikimedia/mediawiki-extensions-OpenIDConnect/tar.gz/refs/heads/{{ MEDIAWIKI_EXT_BRANCH }}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user