From b37ad608a4dcec709f4763829e2bba95ac43ee15 Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sun, 7 Jan 2024 15:44:21 +0000 Subject: [PATCH] update mediawiki config (#91) * disable logging to /dev/stderr * fix upload path Reviewed-on: https://git.pub.solar/pub-solar/infra/pulls/91 Reviewed-by: b12f Co-authored-by: Hendrik Sokolowski Co-committed-by: Hendrik Sokolowski --- hosts/nachtigall/apps/mediawiki.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/nachtigall/apps/mediawiki.nix b/hosts/nachtigall/apps/mediawiki.nix index 3c65bccd..33844dde 100644 --- a/hosts/nachtigall/apps/mediawiki.nix +++ b/hosts/nachtigall/apps/mediawiki.nix @@ -15,8 +15,8 @@ # error_reporting( -1 ); # ini_set( 'display_errors', 1 ); # $wgShowExceptionDetails = true; - $wgDBerrorLog = '/dev/stderr'; - $wgDebugLogFile = "/dev/stderr"; + # $wgDBerrorLog = '/dev/stderr'; + # $wgDebugLogFile = "/dev/stderr"; $wgSitename = "pub.solar wiki"; $wgMetaNamespace = false; @@ -67,6 +67,7 @@ $wgEnableUploads = true; $wgUploadDirectory = "/var/www/html/uploads"; + $wgUploadPath = "/var/www/html/uploads"; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert";