Advertisement
Clarkcj

LocalSettings1

Jan 19th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.58 KB | None | 0 0
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.17.0
  3. # installer. If you make manual changes, please keep track in case you
  4. # need to recreate them later.
  5. #
  6. # See includes/DefaultSettings.php for all configurable settings
  7. # and their default values, but don't forget to make changes in _this_
  8. # file, not there.
  9. #
  10. # Further documentation for configuration settings may be found at:
  11. # http://www.mediawiki.org/wiki/Manual:Configuration_settings
  12.  
  13. # Protect against web entry
  14. if ( !defined( 'MEDIAWIKI' ) ) {
  15.     exit;
  16. }
  17.  
  18. ## Uncomment this to disable output compression
  19. # $wgDisableOutputCompression = true;
  20. $wgSitename      = "TestWiki";
  21.  
  22. ## The URL base path to the directory containing the wiki;
  23. ## defaults for all runtime URL paths are based off of this.
  24. ## For more information on customizing the URLs please see:
  25. ## http://www.mediawiki.org/wiki/Manual:Short_URL
  26. $wgScriptPath       = "";
  27. $wgScriptExtension  = ".php";
  28.  
  29. ## The relative URL path to the skins directory
  30. $wgStylePath        = "$wgScriptPath/skins";
  31.  
  32. ## The relative URL path to the logo.  Make sure you change this from the default,
  33. ## or else you'll overwrite your logo when you upgrade!
  34. $wgLogo             = "$wgStylePath/common/images/wiki.png";
  35.  
  36. ## UPO means: this is also a user preference option
  37.  
  38. $wgEnableEmail      = true;
  39. $wgEnableUserEmail  = true; # UPO
  40.  
  41. $wgEmergencyContact = "clarkcj@cox.net";
  42. $wgPasswordSender   = "clarkcj@cox.net";
  43.  
  44. $wgEnotifUserTalk      = false; # UPO
  45. $wgEnotifWatchlist     = false; # UPO
  46. $wgEmailAuthentication = true;
  47.  
  48. ## Database settings
  49. $wgDBtype           = "mysql";
  50. $wgDBserver         = "localhost";
  51. $wgDBname           = "my_wiki";
  52. $wgDBuser           = "root";
  53. $wgDBpassword       = "";
  54.  
  55. # MySQL specific settings
  56. $wgDBprefix         = "wiki_";
  57.  
  58. # MySQL table options to use during installation or update
  59. $wgDBTableOptions   = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
  60.  
  61. # Experimental charset support for MySQL 4.1/5.0.
  62. $wgDBmysql5 = false;
  63.  
  64. ## Shared memory settings
  65. $wgMainCacheType    = CACHE_NONE;
  66. $wgMemCachedServers = array();
  67.  
  68. ## To enable image uploads, make sure the 'images' directory
  69. ## is writable, then set this to true:
  70. $wgEnableUploads  = true;
  71. #$wgUseImageMagick = true;
  72. #$wgImageMagickConvertCommand = "/usr/bin/convert";
  73.  
  74. #Other Site Customizations
  75. $wgUniversalEditButton = true;
  76. $wgEnableMWSuggest = true;
  77. $wgAllowUserJs = true;
  78. $wgAllowUserCss = true;
  79. // Add one filetype to the default array
  80. $wgFileExtensions[] = 'pdf';
  81.  
  82. // Add several file types to the default array
  83. $wgFileExtensions = array_merge( $wgFileExtensions, array( 'pdf', 'ppt' ) );
  84.  
  85. // Override the default with a bundle of filetypes:
  86. $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ppt', 'pdf', 'psd', 'mp3', 'xls', 'xlsx', 'swf', 'doc','docx', 'odt', 'odc', 'odp', 'odg', 'ogg', 'mpp');
  87. # InstantCommons allows wiki to use images from http://commons.wikimedia.org
  88. $wgUseInstantCommons  = true;
  89.  
  90. ## If you use ImageMagick (or any other shell command) on a
  91. ## Linux server, this will need to be set to the name of an
  92. ## available UTF-8 locale
  93. $wgShellLocale = "en_US.utf8";
  94.  
  95. ## If you want to use image uploads under safe mode,
  96. ## create the directories images/archive, images/thumb and
  97. ## images/temp, and make them all writable. Then uncomment
  98. ## this, if it's not already uncommented:
  99. #$wgHashedUploadDirectory = false;
  100.  
  101. ## If you have the appropriate support software installed
  102. ## you can enable inline LaTeX equations:
  103. $wgUseTeX           = false;
  104.  
  105. ## Set $wgCacheDirectory to a writable directory on the web server
  106. ## to make your wiki go slightly faster. The directory should not
  107. ## be publically accessible from the web.
  108. #$wgCacheDirectory = "$IP/cache";
  109.  
  110. # Site language code, should be one of ./languages/Language(.*).php
  111. $wgLanguageCode = "en";
  112.  
  113. $wgSecretKey = "212d1bd01563393d4aad9a25c31d6624024d1572dff03974707a3e24c5d7cc";
  114.  
  115. # Site upgrade key. Must be set to a string (default provided) to turn on the
  116. # web installer while LocalSettings.php is in place
  117. $wgUpgradeKey = "76757581fca59d7";
  118. #$wgReadOnly = 'Installing Extensions';
  119. ## Default skin: you can change the default skin. Use the internal symbolic
  120. ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector':
  121. $wgDefaultSkin = "vector";
  122.  
  123. ## For attaching licensing metadata to pages, and displaying an
  124. ## appropriate copyright notice / icon. GNU Free Documentation
  125. ## License and Creative Commons licenses are supported so far.
  126. $wgEnableCreativeCommonsRdf = true;
  127. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  128. $wgRightsUrl  = "http://creativecommons.org/licenses/by-nc-sa/3.0/";
  129. $wgRightsText = "a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License";
  130. $wgRightsIcon = "http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png";
  131. # $wgRightsCode = ""; # Not yet used
  132.  
  133. # Path to the GNU diff3 utility. Used for conflict resolution.
  134. $wgDiff3 = "";
  135.  
  136. # Query string length limit for ResourceLoader. You should only set this if
  137. # your web server has a query string length limit (then set it to that limit),
  138. # or if you have suhosin.get.max_value_length set in php.ini (then set it to
  139. # that value)
  140. $wgResourceLoaderMaxQueryLength = -1;
  141.  
  142. # End of automatically generated settings.
  143. # Add more configuration options below
  144. #TimeZone
  145. $wgLocaltimezone = 'EST'; ## -6 hrs instead of -5
  146.  
  147. #Extentension
  148. require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
  149. $wgPFEnableStringFunctions = true;
  150. include_once("$IP/extensions/AdminLinks/AdminLinks.php");
  151. require_once( "$IP/extensions/Babel/Babel.php" );
  152. require_once("$IP/extensions/Cite/Cite.php");
  153. require_once("$IP/extensions/Cite/SpecialCite.php");
  154. $wgUseAjax = true;
  155. require_once("{$IP}/extensions/CategoryTree/CategoryTree.php");
  156. require_once("$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php");
  157. #require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
  158. require_once( "$IP/extensions/Nuke/Nuke.php" );
  159. require_once( "$IP/extensions/Nuke/SpecialNuke.php" );
  160. require_once( "$IP/extensions/InputBox/InputBox.php" );
  161. require_once("$IP/extensions/Renameuser/SpecialRenameuser.php");
  162. require_once("$IP/extensions/ImageMap/ImageMap.php");
  163. #require_once("$IP/extensions/Interwiki2/Interwiki.php");
  164. require_once("$IP/extensions/InterWiki/InterWiki.php");
  165. require_once( "$IP/extensions/Vector/Vector.php" );
  166. require_once($IP.'/extensions/Poem/Poem.php');
  167. require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
  168. require_once( "$IP/extensions/Gadgets/Gadgets.php" );
  169. require_once("$IP/extensions/StockCharts/StockCharts.php");
  170. require_once("$IP/extensions/CharInsert/CharInsert.php");
  171.  
  172. # Enable subpages in all namespaces
  173. $wgNamespacesWithSubpages = array_fill(0, 200, true);
  174. #Namespaces
  175. $wgExtraNamespaces[500] = "Portal";
  176. $wgExtraNamespaces[501] = "Portal_talk";
  177.  
  178. #Vector Extension Options
  179. $wgVectorFeatures['collapsibletabs']['user'] = true;
  180. $wgVectorFeatures['collapsiblenav']['user'] = true;
  181. $wgVectorUseSimpleSearch = true;
  182. $wgVectorFeatures['expandablesearch']['global'] = false;
  183. $wgVectorFeatures['expandablesearch']['user'] = false;
  184.  
  185. #WikiEditor Options
  186. $wgDefaultUserOptions['usebetatoolbar'] = 1;
  187. $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
  188. $wgDefaultUserOptions['wikieditor-preview'] = 1;
  189. #User Rights
  190. $wgGroupPermissions['sysop']['renameuser'] = true;
  191.  
  192. #Other Options
  193. $wgVectorUseIconWatch = true;
  194. $wgAjaxLicensePreview = true;
  195. $wgUseCopyrightUpload = true;
  196. $wgGroupPermissions['autoconfirmed']['upload_by_url'] = true;
  197. $wgAllowCopyUploads = true;
  198. $wgDocType = "-//W3C//DTD XHTML 1.0 Transitional//EN";
  199. $wgHtml5 = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement