diff --git a/aqua/entrypoint_mediawiki.sh b/aqua/entrypoint_mediawiki.sh index 55d510f..55bce83 100755 --- a/aqua/entrypoint_mediawiki.sh +++ b/aqua/entrypoint_mediawiki.sh @@ -3,7 +3,7 @@ MW_DIR=/var/www/html if [ -f /backup/LocalSettings.php ]; then if [ ! -L $MW_DIR/LocalSettings.php ]; then - ln -s /backup/LocalSettings.php $MW_DIR/LocalSettings.php + echo -e ' $MW_DIR/LocalSettings.php fi fi diff --git a/aqua/install_pkc.sh b/aqua/install_pkc.sh index 9857760..c572ef1 100755 --- a/aqua/install_pkc.sh +++ b/aqua/install_pkc.sh @@ -110,6 +110,8 @@ disable_extension() { #disable_extension VisualEditor disable_extension ConfirmEdit disable_extension SpamBlacklist +# Dependency issues in MW 1.39. Also, since PKC is not public, not needed +disable_extension AbuseFilter # Enable file upload sed -i "s/wgEnableUploads = false;/wgEnableUploads = true;/" LocalSettings.php @@ -182,4 +184,6 @@ fi # Move the actual LocalSettings.php file to a backup folder that persists after a # docker compose down. mv $MW_DIR/LocalSettings.php /backup/LocalSettings.php -ln -s /backup/LocalSettings.php $MW_DIR/LocalSettings.php +# Symlinks dont seem to work +# ln -s /backup/LocalSettings.php $MW_DIR/LocalSettings.php +echo -e ' $MW_DIR/LocalSettings.php \ No newline at end of file