LocalSettings.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.33.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. # https://www.mediawiki.org/wiki/Manual:Configuration_settings
  12. # Protect against web entry
  13. if ( !defined( 'MEDIAWIKI' ) ) {
  14. exit;
  15. }
  16. ## Uncomment this to disable output compression
  17. # $wgDisableOutputCompression = true;
  18. $wgSitename = "Asset Bot";
  19. $wgMetaNamespace = "Ab";
  20. ## The URL base path to the directory containing the wiki;
  21. ## defaults for all runtime URL paths are based off of this.
  22. ## For more information on customizing the URLs
  23. ## (like /w/index.php/Page_title to /wiki/Page_title) please see:
  24. ## https://www.mediawiki.org/wiki/Manual:Short_URL
  25. $wgScriptPath = "";
  26. ## The protocol and server name to use in fully-qualified URLs
  27. $wgServer = "https://wiki.jovian-hersemeule.eu";
  28. ## The URL path to static resources (images, scripts, etc.)
  29. $wgResourceBasePath = $wgScriptPath;
  30. ## The URL path to the logo. Make sure you change this from the default,
  31. ## or else you'll overwrite your logo when you upgrade!
  32. $wgLogo = "$wgResourceBasePath/resources/assets/wiki.png";
  33. ## UPO means: this is also a user preference option
  34. $wgEnableEmail = false;
  35. $wgEnableUserEmail = true; # UPO
  36. $wgEmergencyContact = "apache@wiki.jovian-hersemeule.eu";
  37. $wgPasswordSender = "apache@wiki.jovian-hersemeule.eu";
  38. $wgEnotifUserTalk = false; # UPO
  39. $wgEnotifWatchlist = false; # UPO
  40. $wgEmailAuthentication = true;
  41. ## Database settings
  42. $wgDBtype = "postgres";
  43. $wgDBserver = "localhost";
  44. $wgDBname = "wiki_db";
  45. $wgDBuser = "wiki_app";
  46. $wgDBpassword = "52w7maa";
  47. # Postgres specific settings
  48. $wgDBport = "5432";
  49. $wgDBmwschema = "assetbot";
  50. ## Shared memory settings
  51. $wgMainCacheType = CACHE_ACCEL;
  52. $wgMemCachedServers = [];
  53. ## To enable image uploads, make sure the 'images' directory
  54. ## is writable, then set this to true:
  55. $wgEnableUploads = true;
  56. #$wgUseImageMagick = true;
  57. #$wgImageMagickConvertCommand = "/usr/bin/convert";
  58. # InstantCommons allows wiki to use images from https://commons.wikimedia.org
  59. $wgUseInstantCommons = false;
  60. # Periodically send a pingback to https://www.mediawiki.org/ with basic data
  61. # about this MediaWiki instance. The Wikimedia Foundation shares this data
  62. # with MediaWiki developers to help guide future development efforts.
  63. $wgPingback = true;
  64. ## If you use ImageMagick (or any other shell command) on a
  65. ## Linux server, this will need to be set to the name of an
  66. ## available UTF-8 locale
  67. $wgShellLocale = "C.UTF-8";
  68. ## Set $wgCacheDirectory to a writable directory on the web server
  69. ## to make your wiki go slightly faster. The directory should not
  70. ## be publicly accessible from the web.
  71. #$wgCacheDirectory = "$IP/cache";
  72. # Site language code, should be one of the list in ./languages/data/Names.php
  73. $wgLanguageCode = "en";
  74. $wgSecretKey = "68a7abfecbaa6c5f05b00188a21a5e2f969e4ba07a817a6e251ebeacd12fbfd9";
  75. # Changing this will log out all existing sessions.
  76. $wgAuthenticationTokenVersion = "1";
  77. # Site upgrade key. Must be set to a string (default provided) to turn on the
  78. # web installer while LocalSettings.php is in place
  79. $wgUpgradeKey = "bb32c88168ddd07e";
  80. ## For attaching licensing metadata to pages, and displaying an
  81. ## appropriate copyright notice / icon. GNU Free Documentation
  82. ## License and Creative Commons licenses are supported so far.
  83. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  84. $wgRightsUrl = "";
  85. $wgRightsText = "";
  86. $wgRightsIcon = "";
  87. # Path to the GNU diff3 utility. Used for conflict resolution.
  88. $wgDiff3 = "/usr/bin/diff3";
  89. # The following permissions were set based on your choice in the installer
  90. $wgGroupPermissions['*']['createaccount'] = false;
  91. $wgGroupPermissions['*']['edit'] = false;
  92. $wgGroupPermissions['*']['read'] = false;
  93. ## Default skin: you can change the default skin. Use the internal symbolic
  94. ## names, ie 'vector', 'monobook':
  95. $wgDefaultSkin = "timeless";
  96. # Enabled skins.
  97. # The following skins were automatically enabled:
  98. wfLoadSkin( 'MonoBook' );
  99. wfLoadSkin( 'Timeless' );
  100. wfLoadSkin( 'Vector' );
  101. # Enabled extensions. Most of the extensions are enabled by adding
  102. # wfLoadExtensions('ExtensionName');
  103. # to LocalSettings.php. Check specific extension documentation for more details.
  104. # The following extensions were automatically enabled:
  105. wfLoadExtension( 'CategoryTree' );
  106. wfLoadExtension( 'Cite' );
  107. wfLoadExtension( 'CodeEditor' );
  108. wfLoadExtension( 'Gadgets' );
  109. wfLoadExtension( 'ImageMap' );
  110. wfLoadExtension( 'InputBox' );
  111. wfLoadExtension( 'MultimediaViewer' );
  112. wfLoadExtension( 'PdfHandler' );
  113. wfLoadExtension( 'WikiEditor' );
  114. # End of automatically generated settings.
  115. # Add more configuration options below.
  116. # Fix login error
  117. $wgSessionCacheType = CACHE_DB;
  118. # Add file extensions
  119. $wgFileExtensions = array('ppt', 'pptx', 'pdf', 'doc', 'docx', 'odt', 'odp', 'xml', 'json', 'jpg', 'png', 'jpeg', 'svg', 'xls', 'xlsx', 'xlsm');
  120. # Enable extensions
  121. require_once "$IP/extensions/DrawioEditor/DrawioEditor.php";
  122. require_once "$IP/extensions/NativeSvgHandler/NativesSvgHandler.php";
  123. # Set logo
  124. $wgLogo = "http://logo.jovian-hersemeule.eu/botfactory/k7d0.png";
  125. # Uncomment to see errors
  126. #$wgShowExceptionDetails = true;