mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
Update LocalSettings.php to 1.40
This commit is contained in:
parent
075d84e2f7
commit
2797169ca9
2 changed files with 17 additions and 11 deletions
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
# This file was automatically generated by the MediaWiki 1.35.0
|
# This file was automatically generated by the MediaWiki 1.40.0
|
||||||
# installer. If you make manual changes, please keep track in case you
|
# installer. If you make manual changes, please keep track in case you
|
||||||
# need to recreate them later.
|
# need to recreate them later.
|
||||||
#
|
#
|
||||||
# See includes/DefaultSettings.php for all configurable settings
|
# See includes/MainConfigSchema.php for all configurable settings
|
||||||
# and their default values, but don't forget to make changes in _this_
|
# and their default values, but don't forget to make changes in _this_
|
||||||
# file, not there.
|
# file, not there.
|
||||||
#
|
#
|
||||||
|
@ -20,6 +20,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
||||||
# $wgDisableOutputCompression = true;
|
# $wgDisableOutputCompression = true;
|
||||||
|
|
||||||
$wgSitename = "__WIKI_NAME__";
|
$wgSitename = "__WIKI_NAME__";
|
||||||
|
$wgMetaNamespace = "__WIKI_NAME_UNDERSCORIFIED__";
|
||||||
|
|
||||||
## The URL base path to the directory containing the wiki;
|
## The URL base path to the directory containing the wiki;
|
||||||
## defaults for all runtime URL paths are based off of this.
|
## defaults for all runtime URL paths are based off of this.
|
||||||
|
@ -36,7 +37,10 @@ $wgResourceBasePath = $wgScriptPath;
|
||||||
|
|
||||||
## The URL paths to the logo. Make sure you change this from the default,
|
## The URL paths to the logo. Make sure you change this from the default,
|
||||||
## or else you'll overwrite your logo when you upgrade!
|
## or else you'll overwrite your logo when you upgrade!
|
||||||
$wgLogos = [ '1x' => "$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
|
## UPO means: this is also a user preference option
|
||||||
|
|
||||||
|
@ -85,19 +89,17 @@ $wgUseInstantCommons = false;
|
||||||
# with MediaWiki developers to help guide future development efforts.
|
# with MediaWiki developers to help guide future development efforts.
|
||||||
$wgPingback = false;
|
$wgPingback = false;
|
||||||
|
|
||||||
## If you use ImageMagick (or any other shell command) on a
|
# Site language code, should be one of the list in ./includes/languages/data/Names.php
|
||||||
## Linux server, this will need to be set to the name of an
|
$wgLanguageCode = "__LANGUAGE__";
|
||||||
## available UTF-8 locale
|
|
||||||
$wgShellLocale = "C.UTF-8";
|
# Time zone
|
||||||
|
$wgLocaltimezone = "UTC";
|
||||||
|
|
||||||
## Set $wgCacheDirectory to a writable directory on the web server
|
## Set $wgCacheDirectory to a writable directory on the web server
|
||||||
## to make your wiki go slightly faster. The directory should not
|
## to make your wiki go slightly faster. The directory should not
|
||||||
## be publicly accessible from the web.
|
## be publicly accessible from the web.
|
||||||
#$wgCacheDirectory = "$IP/cache";
|
#$wgCacheDirectory = "$IP/cache";
|
||||||
|
|
||||||
# Site language code, should be one of the list in ./languages/data/Names.php
|
|
||||||
$wgLanguageCode = "__LANGUAGE__";
|
|
||||||
|
|
||||||
$wgSecretKey = "__SECRET__";
|
$wgSecretKey = "__SECRET__";
|
||||||
|
|
||||||
# Changing this will log out all existing sessions.
|
# Changing this will log out all existing sessions.
|
||||||
|
@ -119,15 +121,17 @@ $wgRightsIcon = "";
|
||||||
$wgDiff3 = "/usr/bin/diff3";
|
$wgDiff3 = "/usr/bin/diff3";
|
||||||
|
|
||||||
## Default skin: you can change the default skin. Use the internal symbolic
|
## Default skin: you can change the default skin. Use the internal symbolic
|
||||||
## names, ie 'vector', 'monobook':
|
## names, e.g. 'vector' or 'monobook':
|
||||||
$wgDefaultSkin = "vector";
|
$wgDefaultSkin = "vector";
|
||||||
|
|
||||||
# Enabled skins.
|
# Enabled skins.
|
||||||
# The following skins were automatically enabled:
|
# The following skins were automatically enabled:
|
||||||
|
wfLoadSkin( 'MinervaNeue' );
|
||||||
wfLoadSkin( 'MonoBook' );
|
wfLoadSkin( 'MonoBook' );
|
||||||
wfLoadSkin( 'Timeless' );
|
wfLoadSkin( 'Timeless' );
|
||||||
wfLoadSkin( 'Vector' );
|
wfLoadSkin( 'Vector' );
|
||||||
|
|
||||||
|
|
||||||
# End of automatically generated settings.
|
# End of automatically generated settings.
|
||||||
# Add more configuration options below.
|
# Add more configuration options below.
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,8 @@ else
|
||||||
scriptpath=$path
|
scriptpath=$path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
wiki_name_underscorified="${wiki_name//[^a-zA-Z0-9]/_}"
|
||||||
|
|
||||||
"php$phpversion" "$install_dir/maintenance/install.php" --conf "$install_dir" \
|
"php$phpversion" "$install_dir/maintenance/install.php" --conf "$install_dir" \
|
||||||
--server "https://$domain" \
|
--server "https://$domain" \
|
||||||
--scriptpath "$scriptpath" \
|
--scriptpath "$scriptpath" \
|
||||||
|
|
Loading…
Reference in a new issue