Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
632
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.29.2
  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 = "Электронные Лекции";
  22. $wgMetaNamespace = "Электронные_Лекции";
  23.  
  24. ## The URL base path to the directory containing the wiki;
  25. ## defaults for all runtime URL paths are based off of this.
  26. ## For more information on customizing the URLs
  27. ## (like /w/index.php/Page_title to /wiki/Page_title) please see:
  28. ## https://www.mediawiki.org/wiki/Manual:Short_URL
  29. $wgScriptPath = "";
  30.  
  31. ## The protocol and server name to use in fully-qualified URLs
  32. $wgServer = "http://93.157.235.194:9090";
  33.  
  34. ## The URL path to static resources (images, scripts, etc.)
  35. $wgResourceBasePath = $wgScriptPath;
  36.  
  37. ## The URL path to the logo. Make sure you change this from the default,
  38. ## or else you'll overwrite your logo when you upgrade!
  39. $wgLogo = "$wgResourceBasePath\resources\assets\wiki.png";
  40.  
  41. ## UPO means: this is also a user preference option
  42.  
  43. $wgEnableEmail = true;
  44. $wgEnableUserEmail = true; # UPO
  45.  
  46. $wgEmergencyContact = "apache@localhost";
  47. $wgPasswordSender = "apache@localhost";
  48.  
  49. $wgEnotifUserTalk = false; # UPO
  50. $wgEnotifWatchlist = false; # UPO
  51. $wgEmailAuthentication = true;
  52.  
  53. ## Database settings
  54. $wgDBtype = "mysql";
  55. $wgDBserver = "localhost";
  56. $wgDBname = "my_wiki";
  57. $wgDBuser = "root";
  58. $wgDBpassword = "66ty66";
  59.  
  60. # MySQL specific settings
  61. $wgDBprefix = "";
  62.  
  63. # MySQL table options to use during installation or update
  64. $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=utf8";
  65.  
  66. # Experimental charset support for MySQL 5.0.
  67. $wgDBmysql5 = false;
  68.  
  69. ## Shared memory settings
  70. $wgMainCacheType = CACHE_NONE;
  71. $wgMemCachedServers = [];
  72.  
  73. ## To enable image uploads, make sure the 'images' directory
  74. ## is writable, then set this to true:
  75. $wgEnableUploads = true;
  76. #$wgUseImageMagick = true;
  77. #$wgImageMagickConvertCommand = "/usr/bin/convert";
  78.  
  79. # InstantCommons allows wiki to use images from https://commons.wikimedia.org
  80. $wgUseInstantCommons = false;
  81.  
  82. # Periodically send a pingback to https://www.mediawiki.org/ with basic data
  83. # about this MediaWiki instance. The Wikimedia Foundation shares this data
  84. # with MediaWiki developers to help guide future development efforts.
  85. $wgPingback = true;
  86.  
  87. ## If you use ImageMagick (or any other shell command) on a
  88. ## Linux server, this will need to be set to the name of an
  89. ## available UTF-8 locale
  90. $wgShellLocale = "en_US.utf8";
  91.  
  92. ## Set $wgCacheDirectory to a writable directory on the web server
  93. ## to make your wiki go slightly faster. The directory should not
  94. ## be publically accessible from the web.
  95. #$wgCacheDirectory = "$IP/cache";
  96.  
  97. # Site language code, should be one of the list in ./languages/data/Names.php
  98. $wgLanguageCode = "ru";
  99.  
  100. $wgSecretKey = "69750698d5b823fdc3536611bc4bef530fdc667c918be5154b5cd72adb7fc70f";
  101.  
  102. # Changing this will log out all existing sessions.
  103. $wgAuthenticationTokenVersion = "1";
  104.  
  105. # Site upgrade key. Must be set to a string (default provided) to turn on the
  106. # web installer while LocalSettings.php is in place
  107. $wgUpgradeKey = "316aff0406273f70";
  108.  
  109. ## For attaching licensing metadata to pages, and displaying an
  110. ## appropriate copyright notice / icon. GNU Free Documentation
  111. ## License and Creative Commons licenses are supported so far.
  112. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  113. $wgRightsUrl = "";
  114. $wgRightsText = "";
  115. $wgRightsIcon = "";
  116. # Path to the GNU diff3 utility. Used for conflict resolution.
  117. $wgDiff3 = "";
  118. $wgGroupPermissions['group']['right'] = true /* или false */;
  119. $wgGroupPermissions['*']['createaccount'] = true;
  120. $wgGroupPermissions['*']['read'] = false;
  121. $wgGroupPermissions['user']['edit'] = false;
  122. $wgGroupPermissions['*']['createpage'] = false;
  123. $wgGroupPermissions['*']['createtalk'] = false;
  124. # Отключить для пользователей, у которых: По умолчанию в группа «пользователь» разрешена для редактирования, даже если в группе «*» - нет.
  125. $wgGroupPermissions['user']['edit'] = false;
  126. # Делает так, чтобы пользователи с подтвержденными адресами электронной почты находились в данной группе.
  127. $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
  128. # Скрывает группу в списке пользователей.
  129. $wgImplicitGroups[] = 'emailconfirmed';
  130. # Finally, set it to true for the desired group.
  131. $wgGroupPermissions['emailconfirmed']['edit'] = true;
  132. ## Default skin: you can change the default skin. Use the internal symbolic
  133. ## names, ie 'vector', 'monobook':
  134. $wgDefaultSkin = "vector";
  135.  
  136. # Enabled skins.
  137. # The following skins were automatically enabled:
  138. wfLoadSkin( 'CologneBlue' );
  139. wfLoadSkin( 'Modern' );
  140. wfLoadSkin( 'MonoBook' );
  141. wfLoadSkin( 'Vector' );
  142.  
  143.  
  144. # Enabled extensions. Most of the extensions are enabled by adding
  145. # wfLoadExtensions('ExtensionName');
  146. # to LocalSettings.php. Check specific extension documentation for more details.
  147. # The following extensions were automatically enabled:
  148. wfLoadExtension( 'WikiEditor' );
  149. # Prevent new user registrations except by sysops:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement