"mail.example.com", 'IDHost' => "example.com", 'port' => 25, 'auth' => false ); $wgEmergencyContact = "wikiadmin@example.com"; $wgPasswordSender = "wikiadmin@example.com"; $wgEnotifUserTalk = false; # UPO $wgEnotifWatchlist = false; # UPO $wgEmailAuthentication = true; ## Database settings $wgDBtype = "mysql"; $wgDBserver = "localhost"; $wgDBname = "wikidb"; $wgDBuser = "wikiuser"; $wgDBpassword = "SEE KEEPASS"; # MySQL specific settings $wgDBprefix = ""; # MySQL table options to use during installation or update $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary"; # Experimental charset support for MySQL 5.0. $wgDBmysql5 = false; ## Shared memory settings $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array(); ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; # InstantCommons allows wiki to use images from http://commons.wikimedia.org $wgUseInstantCommons = 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 = "en_GB.utf8"; ## If you want to use image uploads under safe mode, ## create the directories images/archive, images/thumb and ## images/temp, and make them all writable. Then uncomment ## this, if it's not already uncommented: #$wgHashedUploadDirectory = false; ## Set $wgCacheDirectory to a writable directory on the web server ## to make your wiki go slightly faster. The directory should not ## be publically accessible from the web. #$wgCacheDirectory = "$IP/cache"; # Site language code, should be one of the list in ./languages/Names.php $wgLanguageCode = "en"; $wgSecretKey = "SET BY THE INSTALLER"; # Site upgrade key. Must be set to a string (default provided) to turn on the # web installer while LocalSettings.php is in place $wgUpgradeKey = "SET BY THE INSTALLER"; ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'cologneblue', 'monobook', 'vector': $wgDefaultSkin = "vector"; ## 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"; # We need this to allow users to upload *.doc files and the like $wgAllowJavaUploads = true; # End of automatically generated settings. # Add more configuration options below. date_default_timezone_set('Europe/London'); $wgFileExtensions = array('gif','png','jpg','jpeg','svg','vsd','vss','vst','vsw','vdx','vsx','vtx','vsdx','vsdm','vssx','vssm','vstx','vstm','vsl','oft','mhtml','html','htm','edx','mht','xls','doc','xlt','pdf','dot','jpeg','pdn','vbs','docx','docm','dotx','dotm','xlsx','xlsm','xltx','xltm','ppt','pot','pps','pptx','pptm','potx','potm','ppam','ppsx','ppsm','sldx','sldm'); $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['*']['upload'] = false; $wgGroupPermissions['user']['createpage'] = true; $wgGroupPermissions['user']['edit'] = true; $wgGroupPermissions['user']['read'] = true; $wgGroupPermissions['user']['upload'] = true; $wgGroupPermissions['read']['createpage'] = true; $wgGroupPermissions['read']['edit'] = true; $wgGroupPermissions['read']['read'] = true; $wgGroupPermissions['read']['upload'] = true; $wgGroupPermissions['write']['createpage'] = true; $wgGroupPermissions['write']['edit'] = true; $wgGroupPermissions['write']['read'] = true; $wgGroupPermissions['write']['upload'] = true; $wgUrlProtocols = array( 'http://', 'https://', 'mailto:', 'file://', '//', // for protocol-relative URLs ); require_once "$IP/extensions/WikiEditor/WikiEditor.php"; $wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1; $wgDefaultUserOptions['wikieditor-preview'] = 1; require_once "$IP/extensions/FileProtocolLinks/FileProtocolLinks.php"; require_once("$IP/extensions/PdfHandler/PdfHandler.php"); $wgPdfProcessor = 'gs'; $wgPdfPostProcessor = $wgImageMagickConvertCommand; $wgPdfInfo = 'pdfinfo'; # Disable cache - otherwise graphs are not updated properly $wgCachePages = false; $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis' ) ); # Include libraries require_once("$IP/extensions/flowchartwiki/flowchartwiki.php"); $fchw['GraphvizDot'] = "/usr/bin/dot"; require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); $wgPFEnableStringFunctions = true; require_once("$IP/extensions/CSS/CSS.php"); $wgCollectionMWServeURL = 'localhost:8899/'; $wgCollectionFormats = array( 'rl' => 'PDF', 'odf' => 'ODT' ); require_once("$IP/extensions/Collection/Collection.php"); require_once( "$IP/extensions/pChart4mw/pChart4mw.php" );