Advertisement
Guest User

Untitled

a guest
Aug 4th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.17 KB | None | 0 0
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.27.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. ## Uncomment this to disable output compression
  19. # $wgDisableOutputCompression = true;
  20.  
  21. $wgSitename = "MyWiki";
  22.  
  23. ## The URL base path to the directory containing the wiki;
  24. ## defaults for all runtime URL paths are based off of this.
  25. ## For more information on customizing the URLs
  26. ## (like /w/index.php/Page_title to /wiki/Page_title) please see:
  27. ## https://www.mediawiki.org/wiki/Manual:Short_URL
  28. $wgScriptPath = "/wiki";
  29.  
  30. ## The protocol and server name to use in fully-qualified URLs
  31. $wgServer = "http://127.0.0.1:8888";
  32.  
  33. ## The URL path to static resources (images, scripts, etc.)
  34. $wgResourceBasePath = $wgScriptPath;
  35.  
  36. ## The URL path to the logo. Make sure you change this from the default,
  37. ## or else you'll overwrite your logo when you upgrade!
  38. $wgLogo = "$wgResourceBasePath/resources/assets/wiki.png";
  39.  
  40. ## UPO means: this is also a user preference option
  41.  
  42. $wgEnableEmail = true;
  43. $wgEnableUserEmail = true; # UPO
  44.  
  45. $wgEmergencyContact = "apache@localhost";
  46. $wgPasswordSender = "apache@localhost";
  47.  
  48. $wgEnotifUserTalk = false; # UPO
  49. $wgEnotifWatchlist = false; # UPO
  50. $wgEmailAuthentication = true;
  51.  
  52. ## Database settings
  53. $wgDBtype = "mysql";
  54. $wgDBserver = "localhost:8888";
  55. $wgDBname = "my_wiki";
  56. $wgDBuser = "root";
  57. $wgDBpassword = "root";
  58.  
  59. # MySQL specific settings
  60. $wgDBprefix = "";
  61.  
  62. # MySQL table options to use during installation or update
  63. $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
  64.  
  65. # Experimental charset support for MySQL 5.0.
  66. $wgDBmysql5 = false;
  67.  
  68. ## Shared memory settings
  69. $wgMainCacheType = CACHE_NONE;
  70. $wgMemCachedServers = [];
  71.  
  72. ## To enable image uploads, make sure the 'images' directory
  73. ## is writable, then set this to true:
  74. $wgEnableUploads = false;
  75. #$wgUseImageMagick = true;
  76. #$wgImageMagickConvertCommand = "/usr/bin/convert";
  77.  
  78. # InstantCommons allows wiki to use images from https://commons.wikimedia.org
  79. $wgUseInstantCommons = false;
  80.  
  81. ## If you use ImageMagick (or any other shell command) on a
  82. ## Linux server, this will need to be set to the name of an
  83. ## available UTF-8 locale
  84. $wgShellLocale = "en_US.UTF-8";
  85.  
  86. ## Set $wgCacheDirectory to a writable directory on the web server
  87. ## to make your wiki go slightly faster. The directory should not
  88. ## be publically accessible from the web.
  89. #$wgCacheDirectory = "$IP/cache";
  90.  
  91. # Site language code, should be one of the list in ./languages/data/Names.php
  92. $wgLanguageCode = "en";
  93.  
  94. $wgSecretKey = "29a68f4450ae61b12e7ee0b8f9168a1a92c7b119d75ffafcde94eeec1f1eb57c";
  95.  
  96. # Changing this will log out all existing sessions.
  97. $wgAuthenticationTokenVersion = "1";
  98.  
  99. # Site upgrade key. Must be set to a string (default provided) to turn on the
  100. # web installer while LocalSettings.php is in place
  101. $wgUpgradeKey = "696847075190c02b";
  102.  
  103. ## For attaching licensing metadata to pages, and displaying an
  104. ## appropriate copyright notice / icon. GNU Free Documentation
  105. ## License and Creative Commons licenses are supported so far.
  106. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  107. $wgRightsUrl = "";
  108. $wgRightsText = "";
  109. $wgRightsIcon = "";
  110.  
  111. # Path to the GNU diff3 utility. Used for conflict resolution.
  112. $wgDiff3 = "/usr/bin/diff3";
  113.  
  114. ## Default skin: you can change the default skin. Use the internal symbolic
  115. ## names, ie 'vector', 'monobook':
  116. $wgDefaultSkin = "vector";
  117.  
  118. # Enabled skins.
  119. # The following skins were automatically enabled:
  120. wfLoadSkin( 'CologneBlue' );
  121. wfLoadSkin( 'Modern' );
  122. wfLoadSkin( 'MonoBook' );
  123. wfLoadSkin( 'Vector' );
  124.  
  125.  
  126. # End of automatically generated settings.
  127. # Add more configuration options below.
  128.  
  129. require_once( "$IP/extensions/CentralNotice/CentralNotice.php" );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement