Advertisement
Guest User

Untitled

a guest
Aug 27th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.09 KB | None | 0 0
  1. <?php
  2. # This file was automatically generated by the MediaWiki 1.23.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 = "solutointernalwiki";
  22. $wgMetaNamespace = "Solutointernalwiki";
  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 = "/mediawiki-1.23.2";
  30. $wgScriptExtension = ".php";
  31.  
  32. ## The protocol and server name to use in fully-qualified URLs
  33. $wgServer = "http://internalwiki.cloudapp.net";
  34.  
  35. ## The relative URL path to the skins directory
  36. $wgStylePath = "$wgScriptPath/skins";
  37.  
  38. ## The relative 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 = "$wgStylePath/common/images/wiki.png";
  41.  
  42. ## UPO means: this is also a user preference option
  43.  
  44. $wgEnableEmail = true;
  45. $wgEnableUserEmail = true; # UPO
  46.  
  47. $wgEmergencyContact = "apache@internalwiki.cloudapp.net";
  48. $wgPasswordSender = "apache@internalwiki.cloudapp.net";
  49.  
  50. $wgEnotifUserTalk = false; # UPO
  51. $wgEnotifWatchlist = false; # UPO
  52. $wgEmailAuthentication = true;
  53.  
  54. ## Database settings
  55. $wgDBtype = "mysql";
  56. $wgDBserver = "localhost";
  57. $wgDBname = "my_wiki";
  58. $wgDBuser = "root";
  59. $wgDBpassword = "po09!@QW";
  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. # Experimental charset support for MySQL 5.0.
  68. $wgDBmysql5 = false;
  69.  
  70. ## Shared memory settings
  71. $wgMainCacheType = CACHE_NONE;
  72. $wgMemCachedServers = array();
  73.  
  74. ## To enable image uploads, make sure the 'images' directory
  75. ## is writable, then set this to true:
  76. $wgEnableUploads = true;
  77. #$wgUseImageMagick = true;
  78. #$wgImageMagickConvertCommand = "/usr/bin/convert";
  79.  
  80. # InstantCommons allows wiki to use images from http://commons.wikimedia.org
  81. $wgUseInstantCommons = false;
  82.  
  83. ## If you use ImageMagick (or any other shell command) on a
  84. ## Linux server, this will need to be set to the name of an
  85. ## available UTF-8 locale
  86. $wgShellLocale = "en_US.utf8";
  87.  
  88. ## If you want to use image uploads under safe mode,
  89. ## create the directories images/archive, images/thumb and
  90. ## images/temp, and make them all writable. Then uncomment
  91. ## this, if it's not already uncommented:
  92. #$wgHashedUploadDirectory = false;
  93.  
  94. ## Set $wgCacheDirectory to a writable directory on the web server
  95. ## to make your wiki go slightly faster. The directory should not
  96. ## be publically accessible from the web.
  97. #$wgCacheDirectory = "$IP/cache";
  98.  
  99. # Site language code, should be one of the list in ./languages/Names.php
  100. $wgLanguageCode = "en";
  101.  
  102. $wgSecretKey = "2cdf9866a9a1482857a1cbec593b06f98d710f6c8f371c982f187145abda2fe1";
  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 = "353c44ad6bc2b08e";
  107.  
  108. ## Default skin: you can change the default skin. Use the internal symbolic
  109. ## names, ie 'cologneblue', 'monobook', 'vector':
  110. $wgDefaultSkin = "vector";
  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['*']['createaccount'] = false;
  125. $wgGroupPermissions['*']['edit'] = false;
  126. $wgGroupPermissions['*']['read'] = false;
  127.  
  128.  
  129. # End of automatically generated settings.
  130. # Add more configuration options below.
  131.  
  132. $wgFileExtensions = array('pdf','png','jpg','jpeg','ogg','doc','xls','ppt','mp3','sxc','nse');
  133.  
  134. require_once "$IP/extensions/VisualEditor/VisualEditor.php";
  135.  
  136. // Enable by default for everybody
  137. $wgDefaultUserOptions['visualeditor-enable'] = 1;
  138.  
  139. // Don't allow users to disable it
  140. $wgHiddenPrefs[] = 'visualeditor-enable';
  141.  
  142. // OPTIONAL: Enable VisualEditor's experimental code features
  143. #$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1;
  144.  
  145. // URL to the Parsoid instance
  146. // MUST NOT end in a slash due to Parsoid bug
  147. // Use port 8142 if you use the Debian package
  148. $wgVisualEditorParsoidURL = 'http://localhost:8142';
  149.  
  150. // Interwiki prefix to pass to the Parsoid instance
  151. // Parsoid will be called as $url/$prefix/$pagename
  152. $wgVisualEditorParsoidPrefix = 'localhost';
  153.  
  154. require_once "$IP/extensions/Parsoid/Parsoid.php";
  155.  
  156. // Forward users' Cookie: headers to Parsoid. Required for private wikis (login required to read).
  157. // If the wiki is not private (i.e. $wgGroupPermissions['*']['read'] is true) this configuration
  158. // variable will be ignored.
  159. //
  160. // This feature requires a non-locking session store. The default session store will not work and
  161. // will cause deadlocks when trying to use this feature. If you experience deadlock issues, enable
  162. // $wgSessionsInObjectCache like this:
  163. $wgSessionsInObjectCache = true;
  164. //
  165. // WARNING: ONLY enable this on private wikis and ONLY IF you understand the SECURITY IMPLICATIONS
  166. // of sending Cookie headers to Parsoid over HTTP. For security reasons, it is strongly recommended
  167. // that $wgVisualEditorParsoidURL be pointed to localhost if this setting is enabled.
  168. $wgVisualEditorParsoidForwardCookies = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement