Accumulated uncommitted infra changes: - Caddyfile: repoint HA/Zabbix to 192.168.1.4/.3, add ~20 new site routes - Immich: move media to /mnt/smsg, enable CUDA ML, mem limits, rewrite backup.sh - Add service stacks: agap-mcp, anki, family, freshrss, iperf3, kanboard, linkwarden, qbittorrent, radicale, syncthing, vikunja, windows - openwebui: enable API keys; ollama: drop CPU fallback - seafile/zabbix: extra_hosts entries; matrix: add user juris - Remove pihole stack and stale wiki/migrate.py - Ignore marketplace-mcp (standalone repo) and linkwarden runtime data Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
166 lines
5.1 KiB
PHP
166 lines
5.1 KiB
PHP
<?php
|
|
# This file was automatically generated by the MediaWiki 1.45.3
|
|
# installer. If you make manual changes, please keep track in case you
|
|
# need to recreate them later.
|
|
#
|
|
# See includes/MainConfigSchema.php for all configurable settings
|
|
# and their default values, but don't forget to make changes in _this_
|
|
# file, not there.
|
|
#
|
|
# Further documentation for configuration settings may be found at:
|
|
# https://www.mediawiki.org/wiki/Manual:Configuration_settings
|
|
|
|
# Protect against web entry
|
|
if ( !defined( 'MEDIAWIKI' ) ) {
|
|
exit;
|
|
}
|
|
|
|
|
|
|
|
|
|
## Uncomment this to disable output compression
|
|
# $wgDisableOutputCompression = true;
|
|
|
|
$wgSitename = "РодоВики";
|
|
|
|
## The URL base path to the directory containing the wiki;
|
|
## defaults for all runtime URL paths are based off of this.
|
|
## For more information on customizing the URLs
|
|
## (like /w/index.php/Page_title to /wiki/Page_title) please see:
|
|
## https://www.mediawiki.org/wiki/Manual:Short_URL
|
|
$wgScriptPath = "";
|
|
|
|
## The protocol and server name to use in fully-qualified URLs
|
|
$wgServer = "https://family.alogins.net";
|
|
|
|
## The URL path to static resources (images, scripts, etc.)
|
|
$wgResourceBasePath = $wgScriptPath;
|
|
|
|
## The URL paths to the logo. Make sure you change this from the default,
|
|
## or else you'll overwrite your logo when you upgrade!
|
|
$wgLogos = [
|
|
'1x' => "$wgResourceBasePath/images/logo.jpg",
|
|
'icon' => "$wgResourceBasePath/images/logo.jpg",
|
|
];
|
|
|
|
## UPO means: this is also a user preference option
|
|
|
|
$wgEnableEmail = true;
|
|
$wgEnableUserEmail = true; # UPO
|
|
|
|
$wgEmergencyContact = "";
|
|
$wgPasswordSender = "";
|
|
|
|
$wgEnotifUserTalk = false; # UPO
|
|
$wgEnotifWatchlist = false; # UPO
|
|
$wgEmailAuthentication = true;
|
|
|
|
## Database settings
|
|
$wgDBtype = "mysql";
|
|
$wgDBserver = "db";
|
|
$wgDBname = "mediawiki";
|
|
$wgDBuser = "mw_k7px2q";
|
|
$wgDBpassword = "Vt9#mLqR4wXn8bZ2";
|
|
|
|
# MySQL specific settings
|
|
$wgDBprefix = "fw";
|
|
$wgDBssl = false;
|
|
|
|
# MySQL table options to use during installation or update
|
|
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
|
|
|
|
# Shared database table
|
|
# This has no effect unless $wgSharedDB is also set.
|
|
$wgSharedTables[] = "actor";
|
|
|
|
## Shared memory settings
|
|
$wgMainCacheType = CACHE_ACCEL;
|
|
$wgMemCachedServers = [];
|
|
|
|
## To enable image uploads, make sure the 'images' directory
|
|
## is writable, then set this to true:
|
|
$wgEnableUploads = true;
|
|
$wgMaxUploadSize = 20 * 1024 * 1024; // 20MB
|
|
$wgFileExtensions = array_merge( $wgFileExtensions, [
|
|
'png', 'gif', 'jpg', 'jpeg', 'webp',
|
|
'mp4', 'webm', 'ogv',
|
|
'mp3', 'ogg', 'oga', 'wav', 'flac',
|
|
] );
|
|
$wgUseImageMagick = true;
|
|
$wgImageMagickConvertCommand = "/usr/bin/convert";
|
|
|
|
# InstantCommons allows wiki to use images from https://commons.wikimedia.org
|
|
$wgUseInstantCommons = false;
|
|
|
|
# Periodically send a pingback to https://www.mediawiki.org/ with basic data
|
|
# about this MediaWiki instance. The Wikimedia Foundation shares this data
|
|
# with MediaWiki developers to help guide future development efforts.
|
|
$wgPingback = true;
|
|
|
|
# Site language code, should be one of the list in ./includes/languages/data/Names.php
|
|
$wgLanguageCode = "ru";
|
|
|
|
# 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";
|
|
|
|
$wgSecretKey = "5156b70f5486793efade503a2301caf53b9fe241505868a90e33509814fb7d1f";
|
|
|
|
# Changing this will log out all existing sessions.
|
|
$wgAuthenticationTokenVersion = "1";
|
|
|
|
# Bust ResourceLoader CSS cache
|
|
$wgCacheEpoch = '20260403000001';
|
|
|
|
# Site upgrade key. Must be set to a string (default provided) to turn on the
|
|
# web installer while LocalSettings.php is in place
|
|
$wgUpgradeKey = "da11c2f2774f498f";
|
|
|
|
## For attaching licensing metadata to pages, and displaying an
|
|
## appropriate copyright notice / icon. GNU Free Documentation
|
|
## License and Creative Commons licenses are supported so far.
|
|
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
|
|
$wgRightsUrl = "";
|
|
$wgRightsText = "";
|
|
$wgRightsIcon = "";
|
|
|
|
# Path to the GNU diff3 utility. Used for conflict resolution.
|
|
$wgDiff3 = "/usr/bin/diff3";
|
|
|
|
## Default skin: you can change the default skin. Use the internal symbolic
|
|
## names, e.g. 'vector' or 'monobook':
|
|
$wgDefaultSkin = "vector-2022";
|
|
|
|
# Enabled skins.
|
|
# The following skins were automatically enabled:
|
|
wfLoadSkin( 'MinervaNeue' );
|
|
wfLoadSkin( 'MonoBook' );
|
|
wfLoadSkin( 'Timeless' );
|
|
wfLoadSkin( 'Vector' );
|
|
|
|
|
|
wfLoadExtension( 'Cite' );
|
|
wfLoadExtension( 'MultimediaViewer' );
|
|
wfLoadExtension( 'ParserFunctions' );
|
|
wfLoadExtension( 'VisualEditor' );
|
|
wfLoadExtension( 'TimedMediaHandler' );
|
|
|
|
$wgDefaultUserOptions['visualeditor-enable'] = 1;
|
|
$wgDefaultUserOptions['visualeditor-editor'] = 'visualeditor';
|
|
$wgVisualEditorParsoidAutoConfig = true;
|
|
|
|
# End of automatically generated settings.
|
|
# Add more configuration options below.
|
|
|
|
# Restrict all access to logged-in users only
|
|
$wgGroupPermissions['*']['read'] = false;
|
|
$wgGroupPermissions['*']['edit'] = false;
|
|
$wgGroupPermissions['*']['createaccount'] = false;
|
|
|
|
# Only admins can create accounts
|
|
$wgGroupPermissions['sysop']['createaccount'] = true;
|