Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 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 = "Blanked out";
  22. $wgMetaNamespace = "Blanked out";
  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. $wgScriptExtension = ".php";
  31.  
  32. ## The protocol and server name to use in fully-qualified URLs
  33. $wgServer = "Blanked out";
  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/v.png";
  41.  
  42. ## UPO means: this is also a user preference option
  43.  
  44. $wgEnableEmail = true;
  45. $wgEnableUserEmail = true; # UPO
  46.  
  47. $wgEmergencyContact = "Blanked out";
  48. $wgPasswordSender = "Blanked out";
  49.  
  50. $wgEnotifUserTalk = false; # UPO
  51. $wgEnotifWatchlist = true; # UPO
  52. $wgEmailAuthentication = true;
  53.  
  54. ## Database settings
  55. $wgDBtype = "mysql";
  56. $wgDBserver = "localhost";
  57. $wgDBname = "wikidb";
  58. $wgDBuser = "root";
  59. $wgDBpassword = "dbadmin01";
  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_ACCEL;
  72. $wgMemCachedServers = array();
  73. $wgMaxShellMemory = 0;
  74.  
  75.  
  76. ## To enable image uploads, make sure the 'images' directory
  77. ## is writable, then set this to true:
  78. $wgEnableUploads = true;
  79. $wgUseImageMagick = true;
  80. $wgImageMagickConvertCommand = "/usr/bin/convert";
  81. #$wgUseImageResize = true;
  82. $wgImageMagickTempDir = "$IP/images/tmp";
  83. #$wgCustomConvertCommand = "/usr/bin/convert -resize %wx%h %s %d";
  84. $wgUploadDirectory = "$IP/images";
  85. $wgUploadPath = "$wgScriptPath/images";
  86. $wgTmpDirectory = "$IP/images/tmp";
  87.  
  88. # InstantCommons allows wiki to use images from http://commons.wikimedia.org
  89. $wgUseInstantCommons = false;
  90.  
  91. ## If you use ImageMagick (or any other shell command) on a
  92. ## Linux server, this will need to be set to the name of an
  93. ## available UTF-8 locale
  94. $wgShellLocale = "en_US.utf8";
  95.  
  96. ## If you want to use image uploads under safe mode,
  97. ## create the directories images/archive, images/thumb and
  98. ## images/temp, and make them all writable. Then uncomment
  99. ## this, if it's not already uncommented:
  100. #$wgHashedUploadDirectory = false;
  101.  
  102. ## Set $wgCacheDirectory to a writable directory on the web server
  103. ## to make your wiki go slightly faster. The directory should not
  104. ## be publically accessible from the web.
  105. #$wgCacheDirectory = "$IP/cache";
  106.  
  107. # Site language code, should be one of the list in ./languages/Names.php
  108. $wgLanguageCode = "en";
  109.  
  110. $wgSecretKey = "Blanked out";
  111.  
  112. # Site upgrade key. Must be set to a string (default provided) to turn on the
  113. # web installer while LocalSettings.php is in place
  114. $wgUpgradeKey = "Blanked out";
  115.  
  116. ## Default skin: you can change the default skin. Use the internal symbolic
  117. ## names, ie 'cologneblue', 'monobook', 'vector':
  118. $wgDefaultSkin = "vector";
  119.  
  120. ## For attaching licensing metadata to pages, and displaying an
  121. ## appropriate copyright notice / icon. GNU Free Documentation
  122. ## License and Creative Commons licenses are supported so far.
  123. $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
  124. $wgRightsUrl = "";
  125. $wgRightsText = "";
  126. $wgRightsIcon = "";
  127.  
  128. # Path to the GNU diff3 utility. Used for conflict resolution.
  129. $wgDiff3 = "/usr/bin/diff3";
  130.  
  131. ## Remove footer icons
  132. unset( $wgFooterIcons['poweredby'] );
  133. unset ($wgFooterIcons['poweredby']['semanticmediawiki']);
  134. unset ($wgFooterIcons['poweredby']['bluespice']);
  135.  
  136. # The following permissions were set based on your choice in the installer
  137. $wgGroupPermissions['*']['createaccount'] = false;
  138. //$wgGroupPermissions['*']['edit'] = false;
  139. $wgGroupPermissions['*']['viewfiles'] = true;
  140.  
  141. ## Hide Various Tabs from Unregistered Users
  142. require_once ( "$IP/extensions/HideVariousTabsFromUnauthorizedUsers/HideVariousTabsFromUnauthorizedUsers.php" );
  143.  
  144. ## Disable anonymous talk
  145. $wgDisableAnonTalk = false;
  146.  
  147. # Enabled Extensions. Most extensions are enabled by including the base extension file here
  148. # but check specific extension documentation for more details
  149. # The following extensions were automatically enabled:
  150. require_once "$IP/extensions/ParserFunctions/ParserFunctions.php";
  151. require_once "$IP/extensions/InputBox/InputBox.php";
  152. require_once "$IP/extensions/PdfHandler/PdfHandler.php";
  153. require_once "$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php";
  154. # require_once "$IP/extensions/WikiEditor/WikiEditor.php";
  155. require_once "$IP/extensions/EmbedPDF.php";
  156. require_once "$IP/extensions/ApprovedRevs/ApprovedRevs.php";
  157. require_once "$IP/extensions/SemanticBundle/SemanticBundleSettings.php";
  158. require_once "$IP/extensions/Lingo/Lingo.php";
  159. require_once "$IP/extensions/SemanticGlossary/SemanticGlossary.php";
  160. require_once "$IP/extensions/LiquidThreads/LiquidThreads.php";
  161. require_once "$IP/extensions/ExpandTemplates/ExpandTemplates.php";
  162.  
  163. require_once("$IP/extensions/EmbedAll/EmbedAll.php");
  164.  
  165. require_once "$IP/extensions/Scribunto/Scribunto.php";
  166. $wgScribuntoDefaultEngine = 'luastandalone';
  167. $wgScribuntoEngineConf['luastandalone']['memoryLimit'] = 805306368;
  168. $wgMaxShellTime = 0;
  169. $wgMaxShellFileSize = 805306368;
  170.  
  171.  
  172. require_once "$IP/extensions/TemplateData/TemplateData.php";
  173. // Set this to true to enable the TemplateData GUI editor
  174. $wgTemplateDataUseGUI = false;
  175.  
  176.  
  177. # End of automatically generated settings.
  178. # Add more configuration options below.
  179.  
  180.  
  181. # ParserFunctions Config
  182. $wgPFEnableStringFunctions = true;
  183.  
  184.  
  185. // Add several file types to the default array
  186. // Add several file types to the default array
  187. $wgFileExtensions = array_merge(
  188. $wgFileExtensions, array(
  189. 'pdf', 'ppt', 'jp2', 'webp', 'doc','docx', 'xls', 'xlsx', 'vsd', 'pptx', 'gif', 'txt'
  190. )
  191. );
  192.  
  193.  
  194.  
  195. # WikiEditor Settings
  196. # Enables use of WikiEditor by default but still allow users to disable it in preferences
  197. # $wgDefaultUserOptions['usebetatoolbar'] = 1;
  198. # $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
  199.  
  200. # Displays the Preview and Changes tabs
  201. # $wgDefaultUserOptions['wikieditor-preview'] = 1;
  202.  
  203. # Displays the Publish and Cancel buttons on the top right side
  204. # $wgDefaultUserOptions['wikieditor-publish'] = 1;
  205.  
  206.  
  207. # Approved Revs Settings
  208. $wgGroupPermissions['*']['viewlinktolatest'] = false;
  209. $wgGroupPermissions['sysop']['viewlinktolatest'] = true;
  210.  
  211. # Disable for everyone.
  212. $wgGroupPermissions['*']['edit'] = false;
  213. # Disable for users, too: by default 'user' is allowed to edit, even if '*' is not.
  214. $wgGroupPermissions['user']['edit'] = false;
  215. # Make it so users with confirmed e-mail addresses are in the group.
  216. $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
  217. # Hide group from user list.
  218. $wgImplicitGroups[] = 'emailconfirmed';
  219. # Finally, set it to true for the desired group.
  220. $wgGroupPermissions['emailconfirmed']['edit'] = true;
  221. # Enable Admins to hide revisions and log items from users:
  222. $wgGroupPermissions['sysop']['deletelogentry'] = true;
  223. $wgGroupPermissions['sysop']['deleterevision'] = true;
  224.  
  225. $egApprovedRevsAutomaticApprovals = false;
  226.  
  227.  
  228. # Lingo settings
  229. $wgexLingoPage = 'Glossary';
  230.  
  231.  
  232. require_once("$IP/extensions/BlueSpiceDistribution/BlueSpiceDistribution.php");
  233. require_once("$IP/extensions/BlueSpiceFoundation/BlueSpiceFoundation.php");
  234. require_once("$IP/extensions/BlueSpiceExtensions/BlueSpiceExtensions.php");
  235. require_once("$IP/skins/BlueSpiceSkin/BlueSpiceSkin.php");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement