| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | # This file was automatically generated by the MediaWiki installer. |
|---|
| 4 | # If you make manual changes, please keep track in case you need to |
|---|
| 5 | # recreate them later. |
|---|
| 6 | # |
|---|
| 7 | # See includes/DefaultSettings.php for all configurable settings |
|---|
| 8 | # and their default values, but don't forget to make changes in _this_ |
|---|
| 9 | # file, not there. |
|---|
| 10 | |
|---|
| 11 | # If you customize your file layout, set $IP to the directory that contains |
|---|
| 12 | # the other MediaWiki files. It will be used as a base to locate files. |
|---|
| 13 | if( defined( 'MW_INSTALL_PATH' ) ) { |
|---|
| 14 | $IP = MW_INSTALL_PATH; |
|---|
| 15 | } else { |
|---|
| 16 | $IP = dirname( __FILE__ ); |
|---|
| 17 | } |
|---|
| 18 | |
|---|
| 19 | $path = array( $IP, "$IP/includes", "$IP/languages" ); |
|---|
| 20 | set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() ); |
|---|
| 21 | |
|---|
| 22 | require_once( "includes/DefaultSettings.php" ); |
|---|
| 23 | |
|---|
| 24 | # If PHP's memory limit is very low, some operations may fail. |
|---|
| 25 | # ini_set( 'memory_limit', '20M' ); |
|---|
| 26 | |
|---|
| 27 | if ( $wgCommandLineMode ) { |
|---|
| 28 | if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { |
|---|
| 29 | die( "This script must be run from the command line\n" ); |
|---|
| 30 | } |
|---|
| 31 | } elseif ( empty( $wgNoOutputBuffer ) ) { |
|---|
| 32 | ## Compress output if the browser supports it |
|---|
| 33 | # if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' ); |
|---|
| 34 | } |
|---|
| 35 | |
|---|
| 36 | # Geshi added by SW 2006.10.25 |
|---|
| 37 | include_once( 'extensions/geshihighlight.php' ); |
|---|
| 38 | |
|---|
| 39 | # SyntaxHighlight_GeSHi added by SW 2010.01.22 |
|---|
| 40 | #require_once("extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php"); |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | $wgSitename = "Wiki"; |
|---|
| 44 | |
|---|
| 45 | $wgScriptPath = "/wiki"; |
|---|
| 46 | $wgScript = "$wgScriptPath/index.php"; |
|---|
| 47 | $wgRedirectScript = "$wgScriptPath/redirect.php"; |
|---|
| 48 | |
|---|
| 49 | ## For more information on customizing the URLs please see: |
|---|
| 50 | ## http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url |
|---|
| 51 | ## If using PHP as a CGI module, the ?title= style usually must be used. |
|---|
| 52 | $wgArticlePath = "$wgScript/$1"; |
|---|
| 53 | # $wgArticlePath = "$wgScript?title=$1"; |
|---|
| 54 | |
|---|
| 55 | $wgStylePath = "$wgScriptPath/skins"; |
|---|
| 56 | $wgStyleDirectory = "$IP/skins"; |
|---|
| 57 | #$wgLogo = "$wgStylePath/common/images/wiki.png"; |
|---|
| 58 | $wgLogo = "/common/images/logo_intranet.gif"; |
|---|
| 59 | $wgUploadPath = "$wgScriptPath/images"; |
|---|
| 60 | $wgUploadDirectory = "$IP/images"; |
|---|
| 61 | |
|---|
| 62 | $wgEnableEmail = true; |
|---|
| 63 | $wgEnableUserEmail = true; |
|---|
| 64 | |
|---|
| 65 | $wgEmergencyContact = "webmaster@.com"; |
|---|
| 66 | $wgPasswordSender = "webmaster@.com"; |
|---|
| 67 | |
|---|
| 68 | ## For a detailed description of the following switches see |
|---|
| 69 | ## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent |
|---|
| 70 | ## There are many more options for fine tuning available see |
|---|
| 71 | ## /includes/DefaultSettings.php |
|---|
| 72 | ## UPO means: this is also a user preference option |
|---|
| 73 | $wgEnotifUserTalk = true; # UPO |
|---|
| 74 | $wgEnotifWatchlist = true; # UPO |
|---|
| 75 | $wgEmailAuthentication = true; |
|---|
| 76 | |
|---|
| 77 | $wgDBserver = "stoker"; |
|---|
| 78 | #$wgDBuser = "wikiuser"; |
|---|
| 79 | #$wgDBpassword = "wiki2006"; |
|---|
| 80 | $wgDBuser = "gnosis"; |
|---|
| 81 | $wgDBpassword = "gno2002"; |
|---|
| 82 | $wgDBprefix = ""; |
|---|
| 83 | $wgDBtype = "mysql"; |
|---|
| 84 | $wgDBport = "5432"; |
|---|
| 85 | |
|---|
| 86 | # Experimental charset support for MySQL 4.1/5.0. |
|---|
| 87 | $wgDBmysql5 = false; |
|---|
| 88 | |
|---|
| 89 | ## Shared memory settings |
|---|
| 90 | $wgMainCacheType = CACHE_NONE; |
|---|
| 91 | $wgMemCachedServers = array(); |
|---|
| 92 | ## To enable image uploads, make sure the 'images' directory |
|---|
| 93 | ## is writable, then set this to true: |
|---|
| 94 | $wgEnableUploads = true; |
|---|
| 95 | $wgUseImageResize = true; |
|---|
| 96 | $wgUseImageMagick = true; |
|---|
| 97 | $wgImageMagickConvertCommand = "/usr/bin/convert"; |
|---|
| 98 | |
|---|
| 99 | /** Whether to allow inline image pointing to other websites */ |
|---|
| 100 | $wgAllowExternalImages = true; |
|---|
| 101 | |
|---|
| 102 | /** If the above is false, you can specify an exception here. Image URLs |
|---|
| 103 | * that start with this string are then rendered, while all others are not. |
|---|
| 104 | * You can use this to set up a trusted, simple repository of images. |
|---|
| 105 | * |
|---|
| 106 | * Example: |
|---|
| 107 | * $wgAllowExternalImagesFrom = 'http://127.0.0.1/'; |
|---|
| 108 | */ |
|---|
| 109 | $wgAllowExternalImagesFrom = ''; |
|---|
| 110 | |
|---|
| 111 | ## If you want to use image uploads under safe mode, |
|---|
| 112 | ## create the directories images/archive, images/thumb and |
|---|
| 113 | ## images/temp, and make them all writable. Then uncomment |
|---|
| 114 | ## this, if it's not already uncommented: |
|---|
| 115 | # $wgHashedUploadDirectory = false; |
|---|
| 116 | |
|---|
| 117 | ## If you have the appropriate support software installed |
|---|
| 118 | ## you can enable inline LaTeX equations: |
|---|
| 119 | $wgUseTeX = false; |
|---|
| 120 | #$wgUseTeX = true; |
|---|
| 121 | $wgMathPath = "{$wgUploadPath}/math"; |
|---|
| 122 | $wgMathDirectory = "{$wgUploadDirectory}/math"; |
|---|
| 123 | $wgTmpDirectory = "{$wgUploadDirectory}/tmp"; |
|---|
| 124 | |
|---|
| 125 | $wgLocalInterwiki = $wgSitename; |
|---|
| 126 | |
|---|
| 127 | $wgLanguageCode = "en"; |
|---|
| 128 | |
|---|
| 129 | $wgProxyKey = "ad72539e3e5a715d5d775292e49c0a8aca720a43886e454507688a90641de458"; |
|---|
| 130 | |
|---|
| 131 | ## Default skin: you can change the default skin. Use the internal symbolic |
|---|
| 132 | ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': |
|---|
| 133 | $wgDefaultSkin = 'monobook'; |
|---|
| 134 | |
|---|
| 135 | ## For attaching licensing metadata to pages, and displaying an |
|---|
| 136 | ## appropriate copyright notice / icon. GNU Free Documentation |
|---|
| 137 | ## License and Creative Commons licenses are supported so far. |
|---|
| 138 | # $wgEnableCreativeCommonsRdf = true; |
|---|
| 139 | $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright |
|---|
| 140 | $wgRightsUrl = ""; |
|---|
| 141 | $wgRightsText = ""; |
|---|
| 142 | $wgRightsIcon = ""; |
|---|
| 143 | # $wgRightsCode = ""; # Not yet used |
|---|
| 144 | |
|---|
| 145 | $wgDiff3 = "/usr/local/bin/diff3"; |
|---|
| 146 | |
|---|
| 147 | # When you make changes to this configuration file, this will make |
|---|
| 148 | # sure that cached pages are cleared. |
|---|
| 149 | $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); |
|---|
| 150 | $wgCacheEpoch = max( $wgCacheEpoch, $configdate ); |
|---|
| 151 | |
|---|
| 152 | # added by sw 2006.07.28 |
|---|
| 153 | require_once('extensions/Auth_remoteuser.php'); |
|---|
| 154 | $wgAuth = new Auth_remoteuser(); |
|---|
| 155 | |
|---|
| 156 | /** |
|---|
| 157 | * The external URL protocols |
|---|
| 158 | */ |
|---|
| 159 | $wgUrlProtocols = array( |
|---|
| 160 | 'http://', |
|---|
| 161 | 'https://', |
|---|
| 162 | 'ftp://', |
|---|
| 163 | 'file://', |
|---|
| 164 | 'irc://', |
|---|
| 165 | 'gopher://', |
|---|
| 166 | 'telnet://', // Well if we're going to support the above.. -\303\246var |
|---|
| 167 | 'nntp://', // @bug 3808 RFC 1738 |
|---|
| 168 | 'worldwind://', |
|---|
| 169 | 'mailto:', |
|---|
| 170 | 'sscm:', |
|---|
| 171 | 'news:' |
|---|
| 172 | ); |
|---|
| 173 | |
|---|
| 174 | # Geshi added by SW 2006.10.25 |
|---|
| 175 | #include_once( 'extensions/GeSHiHighlight.php' ); |
|---|
| 176 | |
|---|
| 177 | /** |
|---|
| 178 | * The debug log file should be not be publicly accessible if it is used, as it |
|---|
| 179 | * may contain private data. */ |
|---|
| 180 | #$wgDebugLogFile = '/tmp/wikidebug.log'; |
|---|
| 181 | |
|---|
| 182 | /** |
|---|
| 183 | * Write SQL queries to the debug log |
|---|
| 184 | */ |
|---|
| 185 | #$wgDebugDumpSql = true; |
|---|
| 186 | |
|---|
| 187 | # added 2007.10.10 to protect against possible HTML/XSS injection vector |
|---|
| 188 | $wgEnableAPI = false; |
|---|
| 189 | |
|---|
| 190 | # added 2008.08.12 to support StringFunctions |
|---|
| 191 | require_once ("$IP/extensions/StringFunctions/StringFunctions.php"); |
|---|
| 192 | |
|---|
| 193 | # added 2009.04.02 for PdfBook extension |
|---|
| 194 | require_once( "$IP/extensions/PdfBook/PdfBook.php" ); |
|---|
| 195 | |
|---|
| 196 | # added 2010.02.15 requested by BG |
|---|
| 197 | require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); |
|---|
| 198 | require_once( "$IP/extensions/PipeEscape/PipeEscape.php" ); |
|---|
| 199 | $wgUseTidy = true; |
|---|
| 200 | |
|---|
| 201 | # added 2010.05.11 requested by GB |
|---|
| 202 | require_once( "$IP/extensions/FCKeditor/FCKeditor.php" ); |
|---|
| 203 | $wgUseAjax = true; |
|---|
| 204 | ?> |
|---|