mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 14:58:03 +08:00
* [bitnami/mediawiki] write server conf at runtime instead of build we need the `RewriteRule` in the vhost to match `wgArticlePath` in the application `LocalSettings.php`, which requires that it be modified at startup in order to respect custom values of `MEDIAWIKI_WIKI_PREFIX`. Signed-off-by: alexandra catalina <git@garbage.world> * [bitnami/mediawiki] rm unused web_server_update_app_configuration Signed-off-by: alexandra catalina <git@garbage.world> * [bitnami/mediawiki] add MEDIAWIKI_SCRIPT_PATH Signed-off-by: alexandra catalina <git@garbage.world> * [bitnami/mediawiki] use MEDIAWIKI_HOST for canonical, not wgServer setting $wgServer to the hostname results in all generated links using that host, instead of being relative URLs. this breaks deployments run behind a reverse proxy if the proxy port/path differs from MediaWiki's. Signed-off-by: alexandra catalina <git@garbage.world> * Revert "[bitnami/mediawiki] rm unused web_server_update_app_configuration" This reverts commit bc404152d8797caed24c9933a2131272f3b7ab3a. Signed-off-by: alexandra catalina <git@garbage.world> * [bitnami/mediawiki] add back web_server_update_app_configuration Signed-off-by: alexandra catalina <git@garbage.world> * [bitnami/mediawiki] remove vhost test this file is now generated at run-time Signed-off-by: alexandra catalina <git@garbage.world> * [bitnami/mediawiki] default MEDIAWIKI_SCRIPT_PATH to `/` That matches the current behavior and avoids breaking existing installations Signed-off-by: alexandra catalina <git@garbage.world> --------- Signed-off-by: alexandra catalina <git@garbage.world>