LocalSettings.php.erb 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. # This file was automatically generated by Chef.
  3. #
  4. # See includes/DefaultSettings.php for all configurable settings
  5. # and their default values, but don't forget to make changes in _this_
  6. # file, not there.
  7. #
  8. # Further documentation for configuration settings may be found at:
  9. # http://www.mediawiki.org/wiki/Manual:Configuration_settings
  10. # Protect against web entry
  11. if ( !defined( 'MEDIAWIKI' ) ) {
  12. exit;
  13. }
  14. ## Uncomment this to disable output compression
  15. # $wgDisableOutputCompression = true;
  16. ## Basics
  17. $IP = "<%= @path %>";
  18. ## The URL base path to the directory containing the wiki;
  19. ## defaults for all runtime URL paths are based off of this.
  20. ## For more information on customizing the URLs please see:
  21. ## http://www.mediawiki.org/wiki/Manual:Short_URL
  22. $wgScriptPath = "";
  23. $wgScriptExtension = ".php";
  24. ## The relative URL path to the skins directory
  25. $wgStylePath = "$wgScriptPath/skins";
  26. $wgLogo ="http://chef-quick-starts.s3.amazonaws.com/mediawiki_opscode.png";
  27. ## Database settings
  28. $wgDBtype = "<%= @database['adapter'] %>";
  29. $wgDBserver = "<%= @host %>";
  30. $wgDBname = "<%= @database['database'] %>";
  31. $wgDBuser = "<%= @database['username'] %>";
  32. $wgDBpassword = "<%= @database['password'] %>";
  33. ## Shared memory settings
  34. $wgMainCacheType = CACHE_NONE;
  35. $wgMemCachedServers = array();
  36. ## To enable image uploads, make sure the 'images' directory
  37. ## is writable, then set this to true:
  38. $wgEnableUploads = false;
  39. $wgUseImageMagick = true;
  40. $wgImageMagickConvertCommand = "/usr/bin/convert";
  41. # InstantCommons allows wiki to use images from http://commons.wikimedia.org
  42. $wgUseInstantCommons = false;
  43. ## If you use ImageMagick (or any other shell command) on a
  44. ## Linux server, this will need to be set to the name of an
  45. ## available UTF-8 locale
  46. $wgShellLocale = "en_US.utf8";
  47. ## If you want to use image uploads under safe mode,
  48. ## create the directories images/archive, images/thumb and
  49. ## images/temp, and make them all writable. Then uncomment
  50. ## this, if it's not already uncommented:
  51. #$wgHashedUploadDirectory = false;
  52. ## If you have the appropriate support software installed
  53. ## you can enable inline LaTeX equations:
  54. $wgUseTeX = false;
  55. ## Set $wgCacheDirectory to a writable directory on the web server
  56. ## to make your wiki go slightly faster. The directory should not
  57. ## be publically accessible from the web.
  58. #$wgCacheDirectory = "$IP/cache";
  59. # Site language code, should be one of ./languages/Language(.*).php
  60. $wgLanguageCode = "en";
  61. $wgSecretKey = "5bcf0c2322863d3ad09a001528c4a14492859a623bf574cdc773cd75ed7ce055";
  62. # Site upgrade key. Must be set to a string (default provided) to turn on the
  63. # web installer while LocalSettings.php is in place
  64. $wgUpgradeKey = "db81965ebefdff41";
  65. ## Default skin: you can change the default skin. Use the internal symbolic
  66. ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector':
  67. $wgDefaultSkin = "vector";
  68. ## For attaching licensing metadata to pages, and displaying an
  69. ## appropriate copyright notice / icon. GNU Free Documentation
  70. ## License and Creative Commons licenses are supported so far.
  71. #$wgEnableCreativeCommonsRdf = true;
  72. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  73. $wgRightsUrl = "";
  74. $wgRightsText = "";
  75. $wgRightsIcon = "";
  76. # $wgRightsCode = ""; # Not yet used
  77. # Path to the GNU diff3 utility. Used for conflict resolution.
  78. $wgDiff3 = "/usr/bin/diff3";
  79. # Enabled Extensions. Most extensions are enabled by including the base extension file here
  80. # but check specific extension documentation for more details