gplx/mediawiki/LocalSettings.production.ex...

80 lines
2.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
# LocalSettings.php Produktionskonfiguration
# Lege diese Datei als LocalSettings.php auf dem Server ab.
# NICHT ins Git-Repository einchecken (.gitignore beachten).
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
$wgSitename = "GxPlex";
$wgScriptPath = "";
# Subdomain deiner Bitpalast-Instanz (https empfohlen)
$wgServer = "https://DEINE-SUBDOMAIN.bitpalast.de";
$wgResourceBasePath = $wgScriptPath;
$wgLogos = [
'1x' => "$wgResourceBasePath/resources/assets/regulatory_wiki_icon_medical.svg",
'icon' => "$wgResourceBasePath/resources/assets/regulatory_wiki_icon_medical.svg",
];
# E-Mail (Zugangsdaten deines Mailservers eintragen)
$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgEmergencyContact = "admin@deine-domain.de";
$wgPasswordSender = "wiki@deine-domain.de";
$wgEnotifUserTalk = false;
$wgEnotifWatchlist = false;
$wgEmailAuthentication = true;
# Datenbankverbindung (Zugangsdaten von Bitpalast-Kundencenter)
$wgDBtype = "mysql";
$wgDBserver = "localhost";
$wgDBname = "DATENBANKNAME";
$wgDBuser = "DATENBANKBENUTZER";
$wgDBpassword = "DATENBANKPASSWORT";
$wgDBprefix = "";
$wgDBssl = false;
# Cache
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = [];
# Uploads
$wgEnableUploads = true;
$wgUseInstantCommons = false;
$wgPingback = false;
$wgLanguageCode = "en";
$wgLocaltimezone = "Europe/Berlin";
# Neuen Secret Key generieren: php maintenance/run.php generateSecretKey
$wgSecretKey = "NEUEN_KEY_GENERIEREN";
$wgAuthenticationTokenVersion = "1";
$wgUpgradeKey = "NEUEN_UPGRADE_KEY_GENERIEREN";
# Rechte
$wgRightsPage = "";
$wgRightsUrl = "https://creativecommons.org/licenses/by/4.0/";
$wgRightsText = "Creative Commons Attribution";
$wgRightsIcon = "$wgResourceBasePath/resources/assets/licenses/cc-by.png";
$wgDiff3 = "";
# Skin
$wgDefaultSkin = "Cavendish";
wfLoadSkin( 'Cavendish' );
# Fehlerdetails in Produktion deaktivieren
$wgShowExceptionDetails = false;
# === CUSTOM CONFIGURATION ===
# Ab hier: identisch mit lokaler LocalSettings.php (Hooks, Permissions, SMW etc.)
# Den Abschnitt ab "// === Approved Revisions Configuration ===" aus der
# lokalen LocalSettings.php hierher kopieren.
#
# Wichtig: enableSemantics() muss die Produktions-URL verwenden:
# enableSemantics( 'DEINE-SUBDOMAIN.bitpalast.de' );