Advertisement
sekala

mediawiki localsettings.php

Aug 8th, 2013
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.69 KB | None | 0 0
  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. # Further documentation for configuration settings may be found at:
  12. # http://www.mediawiki.org/wiki/Manual:Configuration_settings
  13.  
  14. # If you customize your file layout, set $IP to the directory that contains
  15. # the other MediaWiki files. It will be used as a base to locate files.
  16. if( defined( 'MW_INSTALL_PATH' ) ) {
  17.     $IP = MW_INSTALL_PATH;
  18. } else {
  19.     $IP = dirname( __FILE__ );
  20. }
  21.  
  22. $path = array( $IP, "$IP/includes", "$IP/languages" );
  23. set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );
  24.  
  25. require_once( "$IP/includes/DefaultSettings.php" );
  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. }
  32. ## Uncomment this to disable output compression
  33. # $wgDisableOutputCompression = true;
  34.  
  35. $wgSitename         = "Edge of Forever";
  36.  
  37. ## The URL base path to the directory containing the wiki;
  38. ## defaults for all runtime URL paths are based off of this.
  39. ## For more information on customizing the URLs please see:
  40. ## http://www.mediawiki.org/wiki/Manual:Short_URL
  41. $wgScriptPath       = "/wiki";
  42. $wgScriptExtension  = ".php";
  43.  
  44. ## The relative URL path to the skins directory
  45. $wgStylePath        = "$wgScriptPath/skins";
  46.  
  47. ## The relative URL path to the logo.  Make sure you change this from the default,
  48. ## or else you'll overwrite your logo when you upgrade!
  49. $wgLogo             = 'http://edgeofforever.dreamhosters.com/eoflogo.jpg';
  50.  
  51. ## UPO means: this is also a user preference option
  52.  
  53. $wgEnableEmail      = true;
  54. $wgEnableUserEmail  = true; # UPO
  55.  
  56. $wgEmergencyContact = "[email protected]";
  57. $wgPasswordSender = "[email protected]";
  58.  
  59. $wgEnotifUserTalk = true; # UPO
  60. $wgEnotifWatchlist = true; # UPO
  61. $wgEmailAuthentication = true;
  62.  
  63. ## Database settings
  64.  
  65. # MySQL specific settings
  66. $wgDBprefix         = "wiki_";
  67.  
  68. # MySQL table options to use during installation or update
  69. $wgDBTableOptions   = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
  70.  
  71. # Experimental charset support for MySQL 4.1/5.0.
  72. $wgDBmysql5 = true;
  73.  
  74. ## Shared memory settings
  75. $wgMainCacheType = CACHE_NONE;
  76. $wgMemCachedServers = array();
  77.  
  78. ## To enable image uploads, make sure the 'images' directory
  79. ## is writable, then set this to true:
  80. $wgEnableUploads       = true;
  81. $wgUseImageMagick = true;
  82. $wgImageMagickConvertCommand = "/usr/bin/convert";
  83.  
  84. ## If you use ImageMagick (or any other shell command) on a
  85. ## Linux server, this will need to be set to the name of an
  86. ## available UTF-8 locale
  87. $wgShellLocale = "en_US.utf8";
  88.  
  89. ## If you want to use image uploads under safe mode,
  90. ## create the directories images/archive, images/thumb and
  91. ## images/temp, and make them all writable. Then uncomment
  92. ## this, if it's not already uncommented:
  93. # $wgHashedUploadDirectory = false;
  94.  
  95. ## If you have the appropriate support software installed
  96. ## you can enable inline LaTeX equations:
  97. $wgUseTeX           = false;
  98.  
  99. ## Set $wgCacheDirectory to a writable directory on the web server
  100. ## to make your wiki go slightly faster. The directory should not
  101. ## be publically accessible from the web.
  102. #$wgCacheDirectory = "$IP/cache";
  103.  
  104. $wgLocalInterwiki   = strtolower( $wgSitename );
  105.  
  106. $wgLanguageCode = "en";
  107.  
  108. #key
  109.  
  110. # Prevent new user registrations except by sysops
  111. $wgGroupPermissions['*']['createaccount'] = false;
  112.  
  113. # Prevent anonymous editing, requires account
  114. $wgGroupPermissions['*']['edit'] = false;
  115.  
  116. ## Default skin: you can change the default skin. Use the internal symbolic
  117. ## names, ie 'vector', 'monobook':
  118. $wgDefaultSkin = 'monobook';
  119.  
  120. ## For attaching licensing metadata to pages, and displaying an
  121. ## appropriate copyright notice / icon. GNU Free Documentation
  122. ## License and Creative Commons licenses are supported so far.
  123. # $wgEnableCreativeCommonsRdf = true;
  124. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  125. $wgRightsUrl = "";
  126. $wgRightsText = "";
  127. $wgRightsIcon = "";
  128. # $wgRightsCode = ""; # Not yet used
  129.  
  130. $wgDiff3 = "/usr/bin/diff3";
  131.  
  132. # When you make changes to this configuration file, this will make
  133. # sure that cached pages are cleared.
  134. $wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );
  135.  
  136. require_once("$IP/extensions/GoogleCalendar.php");
  137. require_once("$IP/extensions/Widgets/Widgets.php");
  138. require_once("$IP/extensions/UserAdmin/UserAdmin.php");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement