<?php # This file was automatically generated by the MediaWiki 1.21.2 # installer. If you make manual changes, please keep track in case you # need to recreate them later. # # See includes/DefaultSettings.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: # http://www.mediawiki.org/wiki/Manual:Configuration_settings # Protect against web entry if ( !defined( 'MEDIAWIKI' ) ) { exit; } ## Uncomment this to disable output compression # $wgDisableOutputCompression = true; $wgSitename = "Pathway Docs"; $wgMetaNamespace = "Pathway"; ## 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: ## http://www.mediawiki.org/wiki/Manual:Short_URL $wgScriptPath = "/mediawiki"; $wgScriptExtension = ".php"; ## The protocol and server name to use in fully-qualified URLs $wgServer = "http://docs.pathcom.com"; ## The relative URL path to the skins directory $wgStylePath = "$wgScriptPath/skins"; ## The relative URL path to the logo. Make sure you change this from the default, ## or else you'll overwrite your logo when you upgrade! //$wgLogo = "/wiki/skins/common/images/wiki.png"; $wgLogo = "{$wgScriptPath}/skins/common/images/Pathway_Logo_wiki.png"; ## UPO means: this is also a user preference option $wgEnableEmail = true; $wgEnableUserEmail = true; # UPO $wgEmergencyContact = "apache@docs.pathcom.com"; $wgPasswordSender = "apache@docs.pathcom.com"; $wgEnotifUserTalk = false; # UPO $wgEnotifWatchlist = false; # UPO $wgEmailAuthentication = true; ## Database settings $wgDBtype = "mysql"; $wgDBserver = "localhost"; $wgDBname = "ispcfg_wiki"; $wgDBuser = "root"; $wgDBpassword = "pwadmin"; # MySQL specific settings $wgDBprefix = "mw_"; # MySQL table options to use during installation or update $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=utf8"; # Experimental charset support for MySQL 5.0. $wgDBmysql5 = false; ## Shared memory settings #$wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array(); $wgMainCacheType = CACHE_ACCEL; ## 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 = true; ## 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_US.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 = "71a913f5e424832c9fdef8b8f24c9d454da087a3d7020a211797178ce50d339d"; # Site upgrade key. Must be set to a string (default provided) to turn on the # web installer while LocalSettings.php is in place $wgUpgradeKey = "d4085e27ff0a4327"; ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector': #$wgDefaultSkin = "vector"; #$wgDefaultSkin = "erudite"; $wgDefaultSkin = "bluespice"; $wgEruditeBannerImg = "{$wgScriptPath}/skins/common/images/Pathway_Logo_wiki.png"; ## 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"; # Query string length limit for ResourceLoader. You should only set this if # your web server has a query string length limit (then set it to that limit), # or if you have suhosin.get.max_value_length set in php.ini (then set it to # that value) $wgResourceLoaderMaxQueryLength = -1; # End of automatically generated settings. # Add more configuration options below. require_once( "$IP/skins/erudite/erudite.php" ); require_once("$IP/extensions/WYSIWYG/WYSIWYG.php"); $wgGroupPermissions['registered_users']['wysiwyg']=true; //$wgGroupPermissions['*']['wysiwyg']=true; $wgGroupPermissions['group']['right'] = true /* or false */; # Disable for everyone. #--$wgGroupPermissions['*']['edit'] = false; # Prevent new user registrations by anyone $wgGroupPermissions['*']['createaccount'] = false; #--$wgGroupPermissions['sysop']['createaccount'] = true; function efLoginFormMessage( &$template ) { $template->set( 'header', "(For an account to edit articles with, contact Oliver Bush, oliver.bush[at]pathcom.com )"); return true; } $wgHooks['UserLoginForm'][]='efLoginFormMessage'; $wgForceUIMsgAsContentMsg = array( 'mainpage-url', 'portal-url', 'mapfeatures-url', 'helppage' ); require_once("$IP/extensions/HeaderFooter/HeaderFooter.php"); # Disable anonymous editing $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['viewfiles'] = true; $wgGroupPermissions['sysop']['edit'] = true; // Allow sysop to edit non-protected articles #$wgGroupPermissions['sysop']['editarticles'] = true; // Allow sysop to edit protected articles $wgGroupPermissions['sysop']['createpage'] = true; $wgGroupPermissions['sysop']['createtalk'] = true; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['*']['createtalk'] = false; $wgGroupPermissions['*']['writeapi'] = false; ## No bots! $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['user']['reupload-shared'] = false; $wgGroupPermissions['user']['movefile'] = false; $wgGroupPermissions['user']['upload'] = false; $wgGroupPermissions['user']['reupload'] = false; $wgGroupPermissions['user']['move'] = false; $wgGroupPermissions['user']['move-rootuserpages'] = false; $wgGroupPermissions['user']['move-subpages'] = false; $wgGroupPermissions['user']['writeapi'] = false; ## No bots! $wgGroupPermissions['user']['createpage'] = false; $wgGroupPermissions['user']['createtalk'] = false; $wgGroupPermissions['user']['minoredit'] = false; $wgGroupPermissions['user']['sendemail'] = false; #For BreadCrumbs # Whether to provide breadcrumbs to users by default $wgDefaultUserOptions['breadcrumbs-showcrumbs'] = true; # Delimiter string between BreadCrumbs $wgDefaultUserOptions['breadcrumbs-delimiter'] = '>'; # Number of breadcrumbs to show $wgDefaultUserOptions['breadcrumbs-numberofcrumbs'] = 3; # Whether to show the breadcrumbs' namespaces $wgDefaultUserOptions['breadcrumbs-namespaces'] = true; # Whether to ignore pages that are already in breadcrumbs $wgDefaultUserOptions['breadcrumbs-filter-duplicates'] = true; # Text to appear before breadcrumbs $wgDefaultUserOptions['breadcrumbs-preceding-text'] = ''; # Whether to ignore page refreshes $wgBreadCrumbsIgnoreRefreshes = false; # Whether to provide the links also for anonymous users $wgBreadCrumbsShowAnons = false; # Whether users should be allowed to configure BreadCrumbs Options $wgBreadCrumbsAllowUPOs = false; $wgGroupPermissions['sysop']['replacetext'] = true; #For Bluespice require_once("$IP/extensions/BlueSpiceDistribution/BlueSpiceDistribution.php"); require_once("$IP/extensions/BlueSpiceFoundation/BlueSpiceFoundation.php"); require_once("$IP/extensions/BlueSpiceExtensions/BlueSpiceExtensions.php"); require_once("$IP/skins/BlueSpiceSkin/BlueSpiceSkin.php"); require_once( "$IP/extensions/ReplaceText/ReplaceText.php" ); #Dynamic Tab #require_once("$IP/extensions/DynamicTabs/DynamicTabs.php"); #Extensions #enableSemantics( 'docs.pathcom.com' ); require_once('extensions/WYSIWYG/WYSIWYG.php'); require_once "$IP/extensions/ExtensionInstaller/ExtensionInstaller.php"; require_once "$IP/extensions/ExtensionInstaller/ExtensionInstaller-master/ExtensionInstaller.php"; require_once "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php"; #require_once( 'extensions/BreadCrumbs/BreadCrumbs.php' ); require_once "$IP/extensions/BreadCrumbs/BreadCrumbs.php"; #Configure Plugin require_once "$IP/extensions/Configure/Configure.php"; efConfigureSetup(); #$wgConfigureEditableSettings = array(); $wgShowExceptionDetails = true;