From 34344ba75a9337dd4546a3e88fe5ee16e9e022d3 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 17 Nov 2025 20:28:13 +0000 Subject: [PATCH] Configure $wgLogos for mediawiki sites --- cookbooks/mediawiki/templates/default/LocalSettings.php.erb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index adc4cfba6..35db7dbfe 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -37,7 +37,10 @@ $wgStylePath = "$wgScriptPath/skins"; ## The relative URL path to the logo. Make sure you change this from the default, ## or else you'll overwrite your logo when you upgrade! $wgLogo = "<%= @mediawiki[:logo] %>"; - +$wgLogos = [ + "1x" => "<%= @mediawiki[:logo] %>" +]; + ## UPO means: this is also a user preference option $wgEnableEmail = true; -- 2.39.5