LocalSettings.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.34.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 = "Penny's Pages";
  19. $wgMetaNamespace = "Penny's_Pages";
  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.neozones.club";
  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 = true;
  35. $wgEnableUserEmail = true; # UPO
  36. $wgEmergencyContact = "dontreply@neozones.club";
  37. $wgPasswordSender = "dontreply@neozones.club";
  38. $wgEnotifUserTalk = false; # UPO
  39. $wgEnotifWatchlist = false; # UPO
  40. $wgEmailAuthentication = true;
  41. ## Database settings
  42. $wgDBtype = "mysql";
  43. $wgDBserver = "localhost";
  44. $wgDBname = "pennyspages";
  45. $wgDBuser = "pennyspages";
  46. $wgDBpassword = "xxCapy1sAWhor3xx";
  47. # MySQL specific settings
  48. $wgDBprefix = "";
  49. # MySQL table options to use during installation or update
  50. $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
  51. ## Shared memory settings
  52. $wgMainCacheType = CACHE_NONE;
  53. $wgMemCachedServers = [];
  54. ## To enable image uploads, make sure the 'images' directory
  55. ## is writable, then set this to true:
  56. $wgEnableUploads = true;
  57. #$wgUseImageMagick = true;
  58. #$wgImageMagickConvertCommand = "/usr/bin/convert";
  59. # InstantCommons allows wiki to use images from https://commons.wikimedia.org
  60. $wgUseInstantCommons = false;
  61. # Periodically send a pingback to https://www.mediawiki.org/ with basic data
  62. # about this MediaWiki instance. The Wikimedia Foundation shares this data
  63. # with MediaWiki developers to help guide future development efforts.
  64. $wgPingback = false;
  65. ## If you use ImageMagick (or any other shell command) on a
  66. ## Linux server, this will need to be set to the name of an
  67. ## available UTF-8 locale
  68. $wgShellLocale = "C.UTF-8";
  69. ## Set $wgCacheDirectory to a writable directory on the web server
  70. ## to make your wiki go slightly faster. The directory should not
  71. ## be publicly accessible from the web.
  72. #$wgCacheDirectory = "$IP/cache";
  73. # Site language code, should be one of the list in ./languages/data/Names.php
  74. $wgLanguageCode = "en";
  75. $wgSecretKey = "2a2288477fec9407030ead5698b5439fee4bb158e3f65ad624ed247695a9a340";
  76. # Changing this will log out all existing sessions.
  77. $wgAuthenticationTokenVersion = "1";
  78. # Site upgrade key. Must be set to a string (default provided) to turn on the
  79. # web installer while LocalSettings.php is in place
  80. $wgUpgradeKey = "a23ce3a9b6abe265";
  81. ## For attaching licensing metadata to pages, and displaying an
  82. ## appropriate copyright notice / icon. GNU Free Documentation
  83. ## License and Creative Commons licenses are supported so far.
  84. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  85. $wgRightsUrl = "https://creativecommons.org/licenses/by-nc-sa/4.0/";
  86. $wgRightsText = "Creative Commons Attribution-NonCommercial-ShareAlike";
  87. $wgRightsIcon = "$wgResourceBasePath/resources/assets/licenses/cc-by-nc-sa.png";
  88. # Path to the GNU diff3 utility. Used for conflict resolution.
  89. $wgDiff3 = "/usr/bin/diff3";
  90. # The following permissions were set based on your choice in the installer
  91. $wgGroupPermissions['*']['edit'] = false;
  92. ## Default skin: you can change the default skin. Use the internal symbolic
  93. ## names, ie 'vector', 'monobook':
  94. $wgDefaultSkin = "monobook";
  95. # Enabled skins.
  96. # The following skins were automatically enabled:
  97. wfLoadSkin( 'MonoBook' );
  98. wfLoadSkin( 'Timeless' );
  99. wfLoadSkin( 'Vector' );
  100. # Enabled extensions. Most of the extensions are enabled by adding
  101. # wfLoadExtensions('ExtensionName');
  102. # to LocalSettings.php. Check specific extension documentation for more details.
  103. # The following extensions were automatically enabled:
  104. wfLoadExtension( 'Cite' );
  105. wfLoadExtension( 'ConfirmEdit' );
  106. wfLoadExtension( 'LocalisationUpdate' );
  107. wfLoadExtension( 'MultimediaViewer' );
  108. wfLoadExtension( 'Nuke' );
  109. wfLoadExtension( 'OATHAuth' );
  110. wfLoadExtension( 'PageImages' );
  111. wfLoadExtension( 'PdfHandler' );
  112. wfLoadExtension( 'SpamBlacklist' );
  113. wfLoadExtension( 'SyntaxHighlight_GeSHi' );
  114. wfLoadExtension( 'TitleBlacklist' );
  115. wfLoadExtension( 'WikiEditor' );
  116. wfLoadExtension( 'EmbedVideo' );
  117. wfLoadExtension( 'Discord' );
  118. wfLoadExtension( 'Matomo' );
  119. # End of automatically generated settings.
  120. # Add more configuration options below.
  121. $wgFavicon = "$wgResourceBasePath/resources/assets/favicon.ico";
  122. $wgDiscordWebhookURL = [ 'https://ptb.discordapp.com/api/webhooks/705245456468410440/as7Lj8pXwGImiOgAqgkHTHX6Wpicw9UOT0HS8N7kCfdIrcsM7m0F2iBkjmVcmfpKBnbW' ];
  123. $wgMatomoURL = "//analytics.neozones.club/";
  124. $wgMatomoIDSite = "2";
  125. //$wgMaxUploadSize = 131072000; //125mb in binary use this website to convert https://www.gbmb.org/mb-to-bytes
  126. wfLoadExtensions([ 'ConfirmEdit', 'ConfirmEdit/ReCaptchaNoCaptcha' ]);
  127. $wgCaptchaClass = 'ReCaptchaNoCaptcha';
  128. $wgReCaptchaSiteKey = '6Ld0iaMZAAAAAIJEfKLD36EXqqYuYe52xPYTfmd-';
  129. $wgReCaptchaSecretKey = '6Ld0iaMZAAAAALbwCNDkzeqzWtNHexin0unoRd_y';