| 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 | |
|---|
| 14 | if( defined( 'MW_INSTALL_PATH' ) ) { |
|---|
| 15 | $IP = MW_INSTALL_PATH; |
|---|
| 16 | } else { |
|---|
| 17 | $IP = dirname( __FILE__ ); |
|---|
| 18 | } |
|---|
| 19 | |
|---|
| 20 | $path = array( $IP, "$IP/includes", "$IP/languages" ); |
|---|
| 21 | set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() ); |
|---|
| 22 | |
|---|
| 23 | require_once( "$IP/includes/DefaultSettings.php" ); |
|---|
| 24 | |
|---|
| 25 | # If PHP's memory limit is very low, some operations may fail. |
|---|
| 26 | # ini_set( 'memory_limit', '20M' ); |
|---|
| 27 | |
|---|
| 28 | if ( $wgCommandLineMode ) { |
|---|
| 29 | if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { |
|---|
| 30 | die( "This script must be run from the command line\n" ); |
|---|
| 31 | } |
|---|
| 32 | } |
|---|
| 33 | ## Uncomment this to disable output compression |
|---|
| 34 | # $wgDisableOutputCompression = true; |
|---|
| 35 | |
|---|
| 36 | $wgSitename = "Flowserve Community Site Wiki"; |
|---|
| 37 | |
|---|
| 38 | ## The URL base path to the directory containing the wiki; |
|---|
| 39 | ## defaults for all runtime URL paths are based off of this. |
|---|
| 40 | $wgScriptPath = "http://kp-37kx3.flowserve.net/community/components/com_tinmw2"; |
|---|
| 41 | $wgScriptExtension = ".php"; |
|---|
| 42 | |
|---|
| 43 | ## For more information on customizing the URLs please see: |
|---|
| 44 | ## http://www.mediawiki.org/wiki/Manual:Short_URL |
|---|
| 45 | |
|---|
| 46 | $wgEnableEmail = true; |
|---|
| 47 | $wgEnableUserEmail = true; |
|---|
| 48 | |
|---|
| 49 | $wgEmergencyContact = "jlyon@flowserve.com"; |
|---|
| 50 | $wgPasswordSender = "jlyon@flowserve.com"; |
|---|
| 51 | |
|---|
| 52 | ## For a detailed description of the following switches see |
|---|
| 53 | ## http://www.mediawiki.org/wiki/Extension:Email_notification |
|---|
| 54 | ## and http://www.mediawiki.org/wiki/Extension:Email_notification |
|---|
| 55 | ## There are many more options for fine tuning available see |
|---|
| 56 | ## /includes/DefaultSettings.php |
|---|
| 57 | ## UPO means: this is also a user preference option |
|---|
| 58 | $wgEnotifUserTalk = true; # UPO |
|---|
| 59 | $wgEnotifWatchlist = true; # UPO |
|---|
| 60 | $wgEmailAuthentication = true; |
|---|
| 61 | |
|---|
| 62 | $wgDBtype = "mysql"; |
|---|
| 63 | $wgDBserver = $mosConfig_host; |
|---|
| 64 | $wgDBname = $mosConfig_db; |
|---|
| 65 | $wgDBuser = $mosConfig_user; |
|---|
| 66 | $wgDBpassword = $mosConfig_password; |
|---|
| 67 | |
|---|
| 68 | # MySQL specific settings |
|---|
| 69 | $wgDBprefix = $mosConfig_dbprefix . "mw_"; |
|---|
| 70 | |
|---|
| 71 | # MySQL table options to use during installation or update |
|---|
| 72 | $wgDBTableOptions = "TYPE=InnoDB"; |
|---|
| 73 | |
|---|
| 74 | # Experimental charset support for MySQL 4.1/5.0. |
|---|
| 75 | # TINMW: We do not have mysql5 support for Joomla, so there is none for this. |
|---|
| 76 | $wgDBmysql5 = false; |
|---|
| 77 | |
|---|
| 78 | ## Shared memory settings |
|---|
| 79 | $wgMainCacheType = CACHE_NONE; |
|---|
| 80 | $wgMemCachedServers = array(); |
|---|
| 81 | |
|---|
| 82 | ## To enable image uploads, make sure the 'images' directory |
|---|
| 83 | ## is writable, then set this to true: |
|---|
| 84 | $wgEnableUploads = true; |
|---|
| 85 | $wgUseImageResize = true; |
|---|
| 86 | $wgUseImageMagick = true; |
|---|
| 87 | $wgVerifyMimeType = false; |
|---|
| 88 | $wgImageMagickConvertCommand = "/usr/bin/convert"; |
|---|
| 89 | $wgThumbnailScriptPath = "{$wgScriptPath}/thumb.php"; |
|---|
| 90 | $wgMimeDetectorCommand= "file -bi"; |
|---|
| 91 | $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' , 'tar' , 'gz', 'tgz', 'bz2', 'rar', 'zip' , 'doc', 'pdf', 'ogg'); |
|---|
| 92 | |
|---|
| 93 | ## If you want to use image uploads under safe mode, |
|---|
| 94 | ## create the directories images/archive, images/thumb and |
|---|
| 95 | ## images/temp, and make them all writable. Then uncomment |
|---|
| 96 | ## this, if it's not already uncommented: |
|---|
| 97 | # $wgHashedUploadDirectory = false; |
|---|
| 98 | |
|---|
| 99 | ## If you have the appropriate support software installed |
|---|
| 100 | ## you can enable inline LaTeX equations: |
|---|
| 101 | $wgUseTeX = false; |
|---|
| 102 | |
|---|
| 103 | $wgLocalInterwiki = $wgSitename; |
|---|
| 104 | |
|---|
| 105 | $wgLanguageCode = "en"; |
|---|
| 106 | |
|---|
| 107 | $wgProxyKey = "4ac131777d138efa3288544938f5c67364cc21b2470571ce55bdd3361740bd"; |
|---|
| 108 | |
|---|
| 109 | ## Default skin: you can change the default skin. Use the internal symbolic |
|---|
| 110 | ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': |
|---|
| 111 | $wgDefaultSkin = 'nostalgia'; |
|---|
| 112 | |
|---|
| 113 | ## For attaching licensing metadata to pages, and displaying an |
|---|
| 114 | ## appropriate copyright notice / icon. GNU Free Documentation |
|---|
| 115 | ## License and Creative Commons licenses are supported so far. |
|---|
| 116 | # $wgEnableCreativeCommonsRdf = true; |
|---|
| 117 | $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright |
|---|
| 118 | $wgRightsUrl = ""; |
|---|
| 119 | $wgRightsText = ""; |
|---|
| 120 | $wgRightsIcon = ""; |
|---|
| 121 | # $wgRightsCode = ""; # Not yet used |
|---|
| 122 | |
|---|
| 123 | $wgDiff3 = ""; |
|---|
| 124 | |
|---|
| 125 | # When you make changes to this configuration file, this will make |
|---|
| 126 | # sure that cached pages are cleared. |
|---|
| 127 | $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); |
|---|
| 128 | $wgCacheEpoch = max( $wgCacheEpoch, $configdate ); |
|---|
| 129 | |
|---|
| 130 | $wgScript = '/community/index.php?option=' . $option . '&Itemid=106'; |
|---|
| 131 | $wgArticlePath = $wgScript . '&title=$1'; |
|---|
| 132 | $wgVariantArticlePath = $wgScript . '&title=$1&variant=$2'; |
|---|
| 133 | $wgRedirectScript = $wgScript . '&task=redirect'; |
|---|
| 134 | |
|---|
| 135 | # Setting up AJAX usage. |
|---|
| 136 | $wgUseAjax = true; |
|---|
| 137 | |
|---|
| 138 | # TINMW: Require the authentication mechanism |
|---|
| 139 | require_once( $IP . '/extensions/TinmwLogin.php' ); |
|---|
| 140 | $wgAuth = new TinmwLogin(); |
|---|
| 141 | |
|---|
| 142 | #### TinyMCE_MW.php: Easily implement Moxiecode's TinyMCE into MediaWiki |
|---|
| 143 | #$wgUseTinymce = true;#Init needed for clicking on a new article link |
|---|
| 144 | #$wgDefaultUserOptions ['showtoolbar'] = 0; #new users get this default or modify DefaultSetting.php |
|---|
| 145 | #$wgTinymceTheme = "jce"; #"simple", "advanced", "msword", else none -- JL Hack: JCE JOOMLA INTEGRATION: "jce" |
|---|
| 146 | #$wgMyWikiURL = "http://kp-37kx3.flowserve.net/community/"; |
|---|
| 147 | #$wgExt_valid_elements = "data[table|template],repeat[table|sort],categorytree[mode|depth],inputbox[type|bgcolor|width|default|preload|editintro|buttonlabel|searchbuttonlabel|break], big"; |
|---|
| 148 | #require_once("$IP/extensions/TinyMCE_MW.php"); |
|---|
| 149 | |
|---|
| 150 | |
|---|
| 151 | #### FCKEditor: Required to user FCKEditor on Mediawiki |
|---|
| 152 | require_once $IP . "/extensions/FCKeditor/FCKeditor.php"; |
|---|