Advertisement
Guest User

Untitled

a guest
Mar 31st, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.06 KB | None | 0 0
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.32.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 = "The Sinful City";
  23. $wgMetaNamespace = "The_Sinful_City";
  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 = "/w";
  31.  
  32. ## The protocol and server name to use in fully-qualified URLs
  33. $wgServer = "http://35.170.179.239";
  34.  
  35. ## The URL path to static resources (images, scripts, etc.)
  36. $wgResourceBasePath = $wgScriptPath;
  37.  
  38. ## The URL path to the logo.  Make sure you change this from the default,
  39. ## or else you'll overwrite your logo when you upgrade!
  40. $wgLogo = "$wgResourceBasePath/resources/assets/wiki.png";
  41.  
  42. ## UPO means: this is also a user preference option
  43.  
  44. $wgEnableEmail = false;
  45. $wgEnableUserEmail = true; # UPO
  46.  
  47. $wgEmergencyContact = "apache@35.170.179.239";
  48. $wgPasswordSender = "apache@35.170.179.239";
  49.  
  50. $wgEnotifUserTalk = false; # UPO
  51. $wgEnotifWatchlist = false; # UPO
  52. $wgEmailAuthentication = true;
  53.  
  54. ## Database settings
  55. $wgDBtype = "mysql";
  56. $wgDBserver = "localhost";
  57. $wgDBname = "wikidb";
  58. $wgDBuser = "wikiuser";
  59. $wgDBpassword = "BjcOm9T4L2bf8C0";
  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_NONE;
  69. $wgMemCachedServers = [];
  70.  
  71. ##upload path
  72. $wgUploadPath       = "$wgScriptPath/images";      ## Wiki 1.5 defaults to /images, but allows more than just images
  73. $wgUploadDirectory  = "$IP/images";                ## Wiki 1.5 defaults to /images, but allows more than just images
  74.  
  75.  
  76. ## To enable image uploads, make sure the 'images' directory
  77. ## is writable, then set this to true:
  78. $wgEnableUploads = true;
  79. $wgUseImageMagick = true;
  80. $wgImageMagickConvertCommand = "/usr/bin/convert";
  81.  
  82. # InstantCommons allows wiki to use images from https://commons.wikimedia.org
  83. $wgUseInstantCommons = false;
  84.  
  85. # Periodically send a pingback to https://www.mediawiki.org/ with basic data
  86. # about this MediaWiki instance. The Wikimedia Foundation shares this data
  87. # with MediaWiki developers to help guide future development efforts.
  88. $wgPingback = false;
  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 = "C.UTF-8";
  94.  
  95. ## Set $wgCacheDirectory to a writable directory on the web server
  96. ## to make your wiki go slightly faster. The directory should not
  97. ## be publically accessible from the web.
  98. #$wgCacheDirectory = "$IP/cache";
  99.  
  100. # Site language code, should be one of the list in ./languages/data/Names.php
  101. $wgLanguageCode = "en";
  102.  
  103. $wgSecretKey = "25d01a6c6aa9af026aa4ebc121e1cc063e97dd96a2514e50d0ebe9922f532640";
  104.  
  105. # Changing this will log out all existing sessions.
  106. $wgAuthenticationTokenVersion = "1";
  107.  
  108. # Site upgrade key. Must be set to a string (default provided) to turn on the
  109. # web installer while LocalSettings.php is in place
  110. $wgUpgradeKey = "f45f5d09b4f99b44";
  111.  
  112. ## For attaching licensing metadata to pages, and displaying an
  113. ## appropriate copyright notice / icon. GNU Free Documentation
  114. ## License and Creative Commons licenses are supported so far.
  115. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  116. $wgRightsUrl = "";
  117. $wgRightsText = "";
  118. $wgRightsIcon = "";
  119.  
  120. # Path to the GNU diff3 utility. Used for conflict resolution.
  121. $wgDiff3 = "/usr/bin/diff3";
  122.  
  123. # The following permissions were set based on your choice in the installer
  124. $wgGroupPermissions['*']['edit'] = false;
  125.  
  126. ## Default skin: you can change the default skin. Use the internal symbolic
  127. ## names, ie 'vector', 'monobook':
  128. $wgDefaultSkin = "vector";
  129.  
  130. # Enabled skins.
  131. # The following skins were automatically enabled:
  132. wfLoadSkin( 'MonoBook' );
  133. wfLoadSkin( 'Timeless' );
  134. wfLoadSkin( 'Vector' );
  135.  
  136.  
  137. # Enabled extensions. Most of the extensions are enabled by adding
  138. # wfLoadExtensions('ExtensionName');
  139. # to LocalSettings.php. Check specific extension documentation for more details.
  140. # The following extensions were automatically enabled:
  141. wfLoadExtension( 'ConfirmEdit' );
  142. wfLoadExtension( 'SpamBlacklist' );
  143. wfLoadExtension( 'TitleBlacklist' );
  144. wfLoadExtension( 'WikiEditor' );
  145.  
  146.  
  147. # End of automatically generated settings.
  148. # Add more configuration options below.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement