'bastion', # "port" => '25' #); ## For a detailed description of the following switches see ## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent ## There are many more options for fine tuning available see ## /includes/DefaultSettings.php ## UPO means: this is also a user preference option $wgEnotifUserTalk = true; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = false; $wgDBtype = "mysql"; $wgDBserver = "db05"; $wgDBname = "fpo-mediawiki"; $wgDBuser = "fpo-mw-user"; $wgDBpassword = "{{ fpoPassword }}"; $wgDBport = "5432"; $wgDBprefix = "en_"; # MySQL table options to use during installation or update $wgDBTableOptions = "TYPE=InnoDB"; # Schemas for Postgres $wgDBmwschema = "mediawiki"; $wgDBts2schema = "public"; # Experimental charset support for MySQL 4.1/5.0. $wgDBmysql5 = false; ## Shared memory settings $wgMainCacheType = CACHE_MEMCACHED; $wgParserCacheType = CACHE_MEMCACHED; $wgMessageCacheType = CACHE_MEMCACHED; $wgSessionsInMemcached = true; $wgMemCachedServers = array ( 0 => 'memcached01:11211', ); ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = true; $wgUseImageMagick = false; #$wgUseImageMagick = true; #$wgImageMagickConvertCommand = "/usr/bin/convert"; ## 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; ## If you have the appropriate support software installed ## you can enable inline LaTeX equations: $wgUseTeX = false; $wgLocalInterwiki = $wgSitename; $wgLanguageCode = "en"; $wgProxyKey = "b957b9365f724d22f666998b751507c551c66484bf75b1cc33802a67e92b0827"; ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': $wgDefaultSkin = 'fedora'; ## 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. $wgEnableCreativeCommonsRdf = false; $wgRightsPage = "Legal:Main"; # Set to the title of a wiki page that describes your license/copyright $wgRightsUrl = "http://creativecommons.org/licenses/by-sa/3.0/"; $wgRightsText = "Attribution-Share Alike 3.0 Unported"; $wgRightsIcon = ""; # $wgRightsCode = "[license_code]"; # Not yet used $wgDiff3 = "/usr/bin/diff3"; # When you make changes to this configuration file, this will make # sure that cached pages are cleared. $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); $wgCacheEpoch = max( $wgCacheEpoch, $configdate ); define("NS_ARCHIVE", 100); define("NS_ARCHIVE_TALK",101); define("NS_MEETING",102); define("NS_MEETING_TALK",103); define("NS_QA",104); define("NS_QA_TALK",105); define("NS_LEGAL", 106); define("NS_LEGAL_TALK", 107); define("NS_LICENSING", 108); define("NS_LICENSING_TALK", 109); define("NS_PACKAGING", 110); define("NS_PACKAGING_TALK", 111); define("NS_FUDCON", 112); define("NS_FUDCON_TALK", 113); define("NS_TEST_DAY", 114); define("NS_TEST_DAY_TALK", 115); define("NS_TEST_RESULTS", 116); define("NS_TEST_RESULTS_TALK", 117); $wgExtraNamespaces[NS_ARCHIVE] = "Archive"; $wgExtraNamespaces[NS_ARCHIVE_TALK] = "Archive_talk"; $wgExtraNamespaces[NS_MEETING] = "Meeting"; $wgExtraNamespaces[NS_MEETING_TALK] = "Meeting_talk"; $wgExtraNamespaces[NS_QA] = "QA"; $wgExtraNamespaces[NS_QA_TALK] = "QA_talk"; $wgExtraNamespaces[NS_LEGAL] = "Legal"; $wgExtraNamespaces[NS_LEGAL_TALK] = "Legal_talk"; $wgExtraNamespaces[NS_LICENSING] = "Licensing"; $wgExtraNamespaces[NS_LICENSING_TALK] = "Licensing_talk"; $wgExtraNamespaces[NS_PACKAGING] = "Packaging"; $wgExtraNamespaces[NS_PACKAGING_TALK] = "Packaging_talk"; $wgExtraNamespaces[NS_FUDCON] = "FUDCon"; $wgExtraNamespaces[NS_FUDCON_TALK] = "FUDCon_talk"; $wgExtraNamespaces[NS_TEST_DAY] = "Test_Day"; $wgExtraNamespaces[NS_TEST_DAY_TALK] = "Test_Day_talk"; $wgExtraNamespaces[NS_TEST_RESULTS] = "Test_Results"; $wgExtraNamespaces[NS_TEST_RESULTS_TALK] = "Test_Results_talk"; $wgNamespacesWithSubpages = array( NS_MAIN => true, NS_TALK => true, NS_USER => true, NS_USER_TALK => true, NS_PROJECT_TALK => true, NS_IMAGE_TALK => true, NS_MEDIAWIKI_TALK => true, NS_TEMPLATE_TALK => true, NS_HELP_TALK => true, NS_CATEGORY_TALK => true, NS_ARCHIVE => true, NS_ARCHIVE_TALK => true, NS_MEETING => true, NS_MEETING_TALK => true, NS_QA => true, NS_QA_TALK => true, NS_LEGAL => true, NS_LEGAL_TALK => true, NS_LICENSING => true, NS_LICENSING_TALK => true, NS_PACKAGING => true, NS_PACKAGING_TALK => true, NS_FUDCON => true, NS_FUDCON_TALK => true, NS_TEST_DAY => true, NS_TEST_DAY_TALK => true, NS_TEST_RESULTS => true, NS_TEST_RESULTS_TALK => true ); $wgNamespacesToBeSearchedDefault = array( NS_MAIN => true, NS_TALK => false, NS_USER => false, NS_USER_TALK => false, NS_PROJECT => true, NS_PROJECT_TALK => false, NS_IMAGE => true, NS_IMAGE_TALK => false, NS_MEDIAWIKI => false, NS_MEDIAWIKI_TALK => false, NS_TEMPLATE => false, NS_TEMPLATE_TALK => false, NS_HELP => true, NS_HELP_TALK => false, NS_CATEGORY => true, NS_CATEGORY_TALK => false, NS_ARCHIVE => false, NS_ARCHIVE_TALK => false, NS_MEETING => false, NS_MEETING_TALK => false, NS_QA => false, NS_QA_TALK => false, NS_LEGAL => true, NS_LEGAL_TALK => false, NS_LICENSING => true, NS_LICENSING_TALK => false, NS_PACKAGING => true, NS_PACKAGING_TALK => false, NS_FUDCON => true, NS_FUDCON_TALK => false, NS_TEST_DAY => true, NS_TEST_DAY_TALK => false, NS_TEST_RESULTS => true, NS_TEST_RESULTS_TALK => false ); #require_once "$IP/extensions/OpenID/OpenID.setup.php"; #require 'extensions/StubManager/StubManager.php'; #require 'extensions/HNP/HNP.php'; require_once "$IP/extensions/ParserFunctions/ParserFunctions.php"; require_once "$IP/extensions/Interwiki/Interwiki.php"; require_once "$IP/extensions/Cite/Cite.php"; require_once "$IP/extensions/Auth_FAS.php"; $wgAuth = new Auth_FAS(); require_once "$IP/extensions/fedmsg-emit.php"; require_once "$IP/extensions/HTTP302Found/HTTP302Found.php"; require_once "$IP/extensions/intersection/DynamicPageList.php"; require_once "$IP/extensions/RSS/RSS.php"; $wgShowExceptionDetails = true; $wgSkipSkins = array("chick", "cologneblue", "monobook", "myskin", "nostalgia", "simple", "standard"); $wgSVGConverter = 'rsvg'; # This series of settings is used for reverse proxies $wgUseSquid = true; # The SquidNoPurge setting is used to determine reverse proxies $wgSquidServersNoPurge = array( {% if environment == "staging" %} # proxy01.stg "10.5.126.88", {% else %} # proxy01 "10.5.126.52", "192.168.1.11", # proxy02 "85.236.55.6", "2001:4178:2:1269::fed2", "192.168.1.12", # proxy03 "66.35.62.162", "192.168.1.7", # proxy04 "152.19.134.142", "2610:28:3090:3001:dead:beef:cafe:fed3", "192.168.1.14", # proxy05 "5.175.150.50", "2a00:d1a0:1::131", "192.168.1.25", # proxy06 "140.211.169.196", "192.168.1.63", # proxy07 "213.175.193.206", "192.168.1.52", # proxy08 "67.203.2.67", "2607:f188::dead:beef:cafe:fed1", "192.168.1.78", # proxy09 "66.135.62.187", "192.168.1.15", # proxy10 "10.5.126.51", "192.168.1.17", # proxy11 "67.219.144.68", "2604:1580:fe00:0:5054:ff:feae:702c", "192.168.1.37", {% endif %} ); # This setting is used to send PURGE requests to varnish on reverse proxies upon page changes $wgSquidServers = array( {% if environment == "staging" %} # proxy01.stg "10.5.126.88:6081", {% else %} # proxy01 "10.5.126.52:6081", # proxy02 "192.168.1.12:6081", # proxy03 "192.168.1.7:6081", # proxy04 "192.168.1.14:6081", # proxy05 "192.168.1.25:6081", # proxy06 "192.168.1.63:6081", # proxy07 "192.168.1.52:6081", # proxy08 "192.168.1.78:6081", # proxy09 "192.168.1.15:6081", # proxy10 "10.5.126.51:6081", # proxy11 "192.168.1.37:6081", {% endif %} ); $wgSquidMaxage = 432000; # Don't add rel="nofollow" $wgNoFollowLinks = false; # This can be an array in version 1.14 and above. $wgAllowExternalImagesFrom = array("http://fedoraproject.org/", "http://docs.fedoraproject.org", "http://fedorahosted.org/", "http://fedorapeople.org", "http://planet.fedoraproject.org"); $wgAllowUserCss = true; $wgAllowUserJs = true; $wgEnableWriteAPI = true; $wgLogo = "http://fedoraproject.org/static/images/fedora-logo.png"; ### LOCKDOWN PERMISSIONS ### $wgGroupPermissions['Legal']['read'] = true; $wgGroupPermissions['Packaging']['read'] = true; require_once( "$IP/extensions/Lockdown/Lockdown.php" ); $wgSpecialPageLockdown['Export'] = array('*'); $wgNamespacePermissionLockdown['*']['edit'] = array('user'); $wgNamespacePermissionLockdown[NS_FUDCON]['edit'] = array('user'); $wgNamespacePermissionLockdown[NS_TEST_DAY]['edit'] = array('*'); $wgNamespacePermissionLockdown[NS_TEST_RESULTS]['edit'] = array('*'); $wgNamespacePermissionLockdown[NS_LEGAL]['edit'] = array('Legal'); $wgNamespacePermissionLockdown[NS_LICENSING]['edit'] = array('Legal'); $wgNamespacePermissionLockdown[NS_PACKAGING]['edit'] = array('Packaging'); $wgNamespacePermissionLockdown['*']['move'] = array('user'); $wgNamespacePermissionLockdown[NS_LEGAL]['move'] = array('Legal'); $wgNamespacePermissionLockdown[NS_LICENSING]['move'] = array('Legal'); $wgNamespacePermissionLockdown[NS_PACKAGING]['move'] = array('Packaging'); ### END LOCKDOWN PERMISSIONS ### # Experimentation - Added by nigelj 30/Dec/2008 $wgSearchType = "SearchMySQL"; # page_counter is known to be slow, disabled for performance reasons $wgDisableCounters = true; #$wgReadOnly = "Wiki Maintenance In Progress - ETA: 15 August 08 04:00 UTC"; $wgStyleVersion = '273'; # Fedora Badges Extension require_once( "$IP/extensions/FedoraBadges/FedoraBadges.php" );