<?php
# Sequence if wiki initialization:
#   1. basic_config.inc - bare minimum of defitionitions to allow the following steps 
#   2. <wiki>/config.inc - wiki specific configuration, also defined wanted extensions
#   3. final_config.inc - final, system wide and farm-related configuration
#   4. extensions_config.inc - configure individual extensions and enable them as wanted
#


# very global settings
$wgLocaltimezone = "Europe/Berlin";
$codeDir = "$sitesDir/$wgSitename/code";
$wgScriptPath       = $codeDir;


# SInce 1.24 skins are no longer automatically found. We need to declare them here
# $wgVersion is like "1.24.2"
$mwVersion = explode(".", $wgVersion);
if ($mwVersion[1] >= 24)
{
	#require_once "$IP/skins/CologneBlue/CologneBlue.php";
	#require_once "$IP/skins/Infoserver/Infoserver.php";
	#require_once "$IP/skins/Modern/Modern.php";
	#require_once "$IP/skins/MonoBook/MonoBook.php";
	#require_once "$IP/skins/Vector/Vector.php";
	#wfLoadSkin( 'Infoserver' );
	wfLoadSkin( 'Vector' );
	wfLoadSkin( 'CologneBlue' );
	wfLoadSkin( 'MonoBook' );
}

# settings which can be overwritten by the local wiki setup
$wgDefaultSkin = "monobook";
$wgDefaultSkin = "vector";


# enable crash messages (DEBUG only)
if (false)
{
	$wgDebugLogFile = "/var/log/apache2/{$wgSitename}-debug_log.txt";
	$wgShowExceptionDetails = true;
	$wgDebugComments = true;
}


# enable Java
$wgAllowUserJs = true;
$wgUseSiteJs = true;


# Define default for extension loading
$wfLMSLdapExtension = true;
$wfLMSLdapAutoAuthentication = false;
$wfLMSContentRefreshHook = true;
$wfLMSForumExtension = false;
$wfLMSSimpleCalendar = false;
$wfLMSCalendar = false;
$wfLMSSpecialEvents = false;

$wfLMSFormExtension = false;
$wfLMSCategoryTreeExtension = true;
$wfLMSSemantikiMediaWikiExtension = false;
$wfLMSSemanticFormsExtension = false;
$wfLMSSemantikDrilldownExtension = false;

$wfLMSCSO_iFrameExtension = false;
$wfLMSPollExtension = false;

$wfLMSSendNotificationOnEveryChange = false;

$wfLMSParserFunctions = true;
$wfLMSRealnames = true;
$wfLMSMsUpload = false;

# allow crawler access
#$wgNoFollowLinks = false;

?>
