Advertisement
Guest User

LocalSettings.php

a guest
Dec 28th, 2016
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.29.0-alpha
  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 = "WikiPestia";
  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 = "/pestawiki";
  29.  
  30. ## The protocol and server name to use in fully-qualified URLs
  31. $wgServer = "https://www.boneko.de";
  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/pest.png";
  39.  
  40. ## UPO means: this is also a user preference option
  41.  
  42. $wgEnableEmail = true;
  43. $wgEnableUserEmail = true; # UPO
  44.  
  45. $wgEmergencyContact = "webmaster@boneko.de";
  46. $wgPasswordSender = "webmaster@boneko.de";
  47.  
  48. $wgEnotifUserTalk = true; # UPO
  49. $wgEnotifWatchlist = true; # UPO
  50. $wgEmailAuthentication = true;
  51.  
  52. ## Database settings
  53. $wgDBtype = "mysql";
  54. $wgDBserver = "localhost";
  55. $wgDBname = "pesta";
  56. $wgDBuser = "root";
  57. $wgDBpassword = "boSoyhcw!33";
  58.  
  59. # MySQL specific settings
  60. $wgDBprefix = "pesta";
  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_ACCEL;
  70. #$wgMemCachedServers = [];
  71.  
  72. ## To enable image uploads, make sure the 'images' directory
  73. ## is writable, then set this to true:
  74. $wgEnableUploads = true;
  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. # Periodically send a pingback to https://www.mediawiki.org/ with basic data
  82. # about this MediaWiki instance. The Wikimedia Foundation shares this data
  83. # with MediaWiki developers to help guide future development efforts.
  84. $wgPingback = true;
  85.  
  86. ## If you use ImageMagick (or any other shell command) on a
  87. ## Linux server, this will need to be set to the name of an
  88. ## available UTF-8 locale
  89. $wgShellLocale = "en_US.utf8";
  90.  
  91. ## Set $wgCacheDirectory to a writable directory on the web server
  92. ## to make your wiki go slightly faster. The directory should not
  93. ## be publically accessible from the web.
  94. #$wgCacheDirectory = "$IP/cache";
  95.  
  96. # Site language code, should be one of the list in ./languages/data/Names.php
  97. $wgLanguageCode = "de";
  98.  
  99. $wgSecretKey = "e37b5f1c914f905cab5bac7d92d775858dd2ca601e603349dbee47171fe18bc9";
  100.  
  101. # Changing this will log out all existing sessions.
  102. $wgAuthenticationTokenVersion = "1";
  103.  
  104. # Site upgrade key. Must be set to a string (default provided) to turn on the
  105. # web installer while LocalSettings.php is in place
  106. $wgUpgradeKey = "b94faaf20799d432";
  107.  
  108. ## For attaching licensing metadata to pages, and displaying an
  109. ## appropriate copyright notice / icon. GNU Free Documentation
  110. ## License and Creative Commons licenses are supported so far.
  111. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  112. $wgRightsUrl = "";
  113. $wgRightsText = "";
  114. $wgRightsIcon = "";
  115.  
  116. # Path to the GNU diff3 utility. Used for conflict resolution.
  117. $wgDiff3 = "/usr/bin/diff3";
  118.  
  119. # The following permissions were set based on your choice in the installer
  120. $wgGroupPermissions['*']['createaccount'] = false;
  121. $wgGroupPermissions['*']['edit'] = false;
  122. $wgGroupPermissions['*']['read'] = true;
  123.  
  124. ## Default skin: you can change the default skin. Use the internal symbolic
  125. ## names, ie 'vector', 'monobook':
  126. wfLoadSkin( 'Vector' );
  127. $wgDefaultSkin = "vector";
  128. $wgVectorUseSimpleSearch = true;
  129. $wgVectorUseIconWatch = true;
  130.  
  131. # End of automatically generated settings.
  132. # Add more configuration options below.
  133.  
  134. # Einbindung parsoid lt. www.mediawiki.org/wiki/Extension:VisualEditor#Download
  135.  
  136. $wgVirtualRestConfig['modules']['parsoid'] = array(
  137. // URL to the Parsoid instance
  138. // Use port 8142 if you use the Debian package
  139. 'url' => 'http://localhost:8142',
  140. // Parsoid "domain", see below (optional)
  141. // 'domain' => 'boneko.de',
  142. // Parsoid "prefix", see below (optional)
  143. // 'prefix' => 'pestawiki'
  144. );
  145.  
  146. # Einbindung VisualEditor lt. www.mediawiki.org/wiki/Extension:VisualEditor#Download
  147. wfLoadExtension( 'VisualEditor' );
  148.  
  149. # Enable by default for everybody
  150. $wgDefaultUserOptions['visualeditor-enable'] = 1;
  151.  
  152. # Optional: Set VisualEditor as the default for anonymous users
  153. # otherwise they will have to switch to VE
  154. $wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";
  155.  
  156. # Don't allow users to disable it
  157. $wgHiddenPrefs[] = 'visualeditor-enable';
  158.  
  159. # OPTIONAL: Enable VisualEditor's experimental code features
  160. #$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement