From 2797169ca97f10f2d2a834fe4bc578dfc4b007b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 3 Sep 2023 22:27:02 +0200 Subject: [PATCH] Update LocalSettings.php to 1.40 --- conf/LocalSettings.php | 26 +++++++++++++++----------- scripts/install | 2 ++ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/conf/LocalSettings.php b/conf/LocalSettings.php index 38b3be3..702e110 100644 --- a/conf/LocalSettings.php +++ b/conf/LocalSettings.php @@ -1,9 +1,9 @@ "$wgResourceBasePath/resources/assets/wiki.png" ]; +$wgLogos = [ + '1x' => "$wgResourceBasePath/resources/assets/wiki.png", + 'icon' => "$wgResourceBasePath/resources/assets/change-your-logo-icon.svg", +]; ## UPO means: this is also a user preference option @@ -85,19 +89,17 @@ $wgUseInstantCommons = false; # with MediaWiki developers to help guide future development efforts. $wgPingback = false; -## If you use ImageMagick (or any other shell command) on a -## Linux server, this will need to be set to the name of an -## available UTF-8 locale -$wgShellLocale = "C.UTF-8"; +# Site language code, should be one of the list in ./includes/languages/data/Names.php +$wgLanguageCode = "__LANGUAGE__"; + +# Time zone +$wgLocaltimezone = "UTC"; ## Set $wgCacheDirectory to a writable directory on the web server ## to make your wiki go slightly faster. The directory should not ## be publicly accessible from the web. #$wgCacheDirectory = "$IP/cache"; -# Site language code, should be one of the list in ./languages/data/Names.php -$wgLanguageCode = "__LANGUAGE__"; - $wgSecretKey = "__SECRET__"; # Changing this will log out all existing sessions. @@ -119,15 +121,17 @@ $wgRightsIcon = ""; $wgDiff3 = "/usr/bin/diff3"; ## Default skin: you can change the default skin. Use the internal symbolic -## names, ie 'vector', 'monobook': +## names, e.g. 'vector' or 'monobook': $wgDefaultSkin = "vector"; # Enabled skins. # The following skins were automatically enabled: +wfLoadSkin( 'MinervaNeue' ); wfLoadSkin( 'MonoBook' ); wfLoadSkin( 'Timeless' ); wfLoadSkin( 'Vector' ); + # End of automatically generated settings. # Add more configuration options below. diff --git a/scripts/install b/scripts/install index b8b9f84..868fac1 100644 --- a/scripts/install +++ b/scripts/install @@ -66,6 +66,8 @@ else scriptpath=$path fi +wiki_name_underscorified="${wiki_name//[^a-zA-Z0-9]/_}" + "php$phpversion" "$install_dir/maintenance/install.php" --conf "$install_dir" \ --server "https://$domain" \ --scriptpath "$scriptpath" \