Guest User

Untitled

a guest
Oct 25th, 2020
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.75 KB | None | 0 0
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.35.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.  
  13. # Protect against web entry
  14. if ( !defined( 'MEDIAWIKI' ) ) {
  15. exit;
  16. }
  17.  
  18.  
  19. ## Uncomment this to disable output compression
  20. # $wgDisableOutputCompression = true;
  21.  
  22. $wgSitename = "Test Mediawiki";
  23. $wgMetaNamespace = "Test_Mediawiki";
  24.  
  25. ## The URL base path to the directory containing the wiki;
  26. ## defaults for all runtime URL paths are based off of this.
  27. ## For more information on customizing the URLs
  28. ## (like /w/index.php/Page_title to /wiki/Page_title) please see:
  29. ## https://www.mediawiki.org/wiki/Manual:Short_URL
  30. $wgScriptPath = "";
  31.  
  32. ## The protocol and server name to use in fully-qualified URLs
  33. $wgServer = "https://debian-guest.lan";
  34.  
  35. ## The URL path to static resources (images, scripts, etc.)
  36. $wgResourceBasePath = $wgScriptPath;
  37.  
  38. ## The URL paths to the logo. Make sure you change this from the default,
  39. ## or else you'll overwrite your logo when you upgrade!
  40. $wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/wiki.png" ];
  41.  
  42. ## UPO means: this is also a user preference option
  43.  
  44. $wgEnableEmail = true;
  45. $wgEnableUserEmail = true; # UPO
  46.  
  47. $wgEmergencyContact = "apache@🌻.invalid";
  48. $wgPasswordSender = "apache@🌻.invalid";
  49.  
  50. $wgEnotifUserTalk = false; # UPO
  51. $wgEnotifWatchlist = false; # UPO
  52. $wgEmailAuthentication = true;
  53.  
  54. ## Database settings
  55. $wgDBtype = "mysql";
  56. $wgDBserver = "localhost";
  57. $wgDBname = "my_wiki";
  58. $wgDBuser = "mediawiki";
  59. $wgDBpassword = "mediawiki";
  60.  
  61. # MySQL specific settings
  62. $wgDBprefix = "";
  63.  
  64. # MySQL table options to use during installation or update
  65. $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
  66.  
  67. ## Shared memory settings
  68. $wgMainCacheType = CACHE_ACCEL;
  69. $wgMemCachedServers = [];
  70.  
  71. ## To enable image uploads, make sure the 'images' directory
  72. ## is writable, then set this to true:
  73. $wgEnableUploads = true;
  74. $wgUseImageMagick = true;
  75. $wgImageMagickConvertCommand = "/usr/bin/convert";
  76.  
  77. # InstantCommons allows wiki to use images from https://commons.wikimedia.org
  78. $wgUseInstantCommons = false;
  79.  
  80. # Periodically send a pingback to https://www.mediawiki.org/ with basic data
  81. # about this MediaWiki instance. The Wikimedia Foundation shares this data
  82. # with MediaWiki developers to help guide future development efforts.
  83. $wgPingback = true;
  84.  
  85. ## If you use ImageMagick (or any other shell command) on a
  86. ## Linux server, this will need to be set to the name of an
  87. ## available UTF-8 locale
  88. $wgShellLocale = "C.UTF-8";
  89.  
  90. ## Set $wgCacheDirectory to a writable directory on the web server
  91. ## to make your wiki go slightly faster. The directory should not
  92. ## be publicly accessible from the web.
  93. #$wgCacheDirectory = "$IP/cache";
  94.  
  95. # Site language code, should be one of the list in ./languages/data/Names.php
  96. $wgLanguageCode = "en";
  97.  
  98. $wgSecretKey = "f82b145198d146301ee2d0089691a62a745cfa7df11b42d0b1635f4044962f23";
  99.  
  100. # Changing this will log out all existing sessions.
  101. $wgAuthenticationTokenVersion = "1";
  102.  
  103. # Site upgrade key. Must be set to a string (default provided) to turn on the
  104. # web installer while LocalSettings.php is in place
  105. $wgUpgradeKey = "ed906fec65dd6ad3";
  106.  
  107. ## For attaching licensing metadata to pages, and displaying an
  108. ## appropriate copyright notice / icon. GNU Free Documentation
  109. ## License and Creative Commons licenses are supported so far.
  110. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  111. $wgRightsUrl = "";
  112. $wgRightsText = "";
  113. $wgRightsIcon = "";
  114.  
  115. # Path to the GNU diff3 utility. Used for conflict resolution.
  116. $wgDiff3 = "/usr/bin/diff3";
  117.  
  118. ## Default skin: you can change the default skin. Use the internal symbolic
  119. ## names, ie 'vector', 'monobook':
  120. $wgDefaultSkin = "vector";
  121.  
  122. # Enabled skins.
  123. # The following skins were automatically enabled:
  124. wfLoadSkin( 'MonoBook' );
  125. wfLoadSkin( 'Timeless' );
  126. wfLoadSkin( 'Vector' );
  127.  
  128.  
  129. # Enabled extensions. Most of the extensions are enabled by adding
  130. # wfLoadExtension( 'ExtensionName' );
  131. # to LocalSettings.php. Check specific extension documentation for more details.
  132. # The following extensions were automatically enabled:
  133. wfLoadExtension( 'CodeEditor' );
  134. wfLoadExtension( 'SyntaxHighlight_GeSHi' );
  135. wfLoadExtension( 'VisualEditor' );
  136. wfLoadExtension( 'WikiEditor' );
  137.  
  138.  
  139. # End of automatically generated settings.
  140. # Add more configuration options below.
  141.  
  142. #$wgGroupPermissions['*']['writeapi'] = true;
Add Comment
Please, Sign In to add comment