Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- # This file was automatically generated by the MediaWiki 1.17.0
- # installer. If you make manual changes, please keep track in case you
- # need to recreate them later.
- #
- # See includes/DefaultSettings.php for all configurable settings
- # and their default values, but don't forget to make changes in _this_
- # file, not there.
- #
- # Further documentation for configuration settings may be found at:
- # http://www.mediawiki.org/wiki/Manual:Configuration_settings
- # Protect against web entry
- if ( !defined( 'MEDIAWIKI' ) ) {
- exit;
- }
- ## Uncomment this to disable output compression
- # $wgDisableOutputCompression = true;
- $wgSitename = "TestWiki";
- ## The URL base path to the directory containing the wiki;
- ## defaults for all runtime URL paths are based off of this.
- ## For more information on customizing the URLs please see:
- ## http://www.mediawiki.org/wiki/Manual:Short_URL
- $wgScriptPath = "";
- $wgScriptExtension = ".php";
- ## The relative URL path to the skins directory
- $wgStylePath = "$wgScriptPath/skins";
- ## The relative URL path to the logo. Make sure you change this from the default,
- ## or else you'll overwrite your logo when you upgrade!
- $wgLogo = "$wgStylePath/common/images/wiki.png";
- ## UPO means: this is also a user preference option
- $wgEnableEmail = true;
- $wgEnableUserEmail = true; # UPO
- $wgEmergencyContact = "clarkcj@cox.net";
- $wgPasswordSender = "clarkcj@cox.net";
- $wgEnotifUserTalk = false; # UPO
- $wgEnotifWatchlist = false; # UPO
- $wgEmailAuthentication = true;
- ## Database settings
- $wgDBtype = "mysql";
- $wgDBserver = "localhost";
- $wgDBname = "my_wiki";
- $wgDBuser = "root";
- $wgDBpassword = "";
- # MySQL specific settings
- $wgDBprefix = "wiki_";
- # MySQL table options to use during installation or update
- $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
- # Experimental charset support for MySQL 4.1/5.0.
- $wgDBmysql5 = false;
- ## Shared memory settings
- $wgMainCacheType = CACHE_NONE;
- $wgMemCachedServers = array();
- ## To enable image uploads, make sure the 'images' directory
- ## is writable, then set this to true:
- $wgEnableUploads = true;
- #$wgUseImageMagick = true;
- #$wgImageMagickConvertCommand = "/usr/bin/convert";
- #Other Site Customizations
- $wgUniversalEditButton = true;
- $wgEnableMWSuggest = true;
- $wgAllowUserJs = true;
- $wgAllowUserCss = true;
- // Add one filetype to the default array
- $wgFileExtensions[] = 'pdf';
- // Add several file types to the default array
- $wgFileExtensions = array_merge( $wgFileExtensions, array( 'pdf', 'ppt' ) );
- // Override the default with a bundle of filetypes:
- $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ppt', 'pdf', 'psd', 'mp3', 'xls', 'xlsx', 'swf', 'doc','docx', 'odt', 'odc', 'odp', 'odg', 'ogg', 'mpp');
- # InstantCommons allows wiki to use images from http://commons.wikimedia.org
- $wgUseInstantCommons = true;
- ## If you use ImageMagick (or any other shell command) on a
- ## Linux server, this will need to be set to the name of an
- ## available UTF-8 locale
- $wgShellLocale = "en_US.utf8";
- ## If you want to use image uploads under safe mode,
- ## create the directories images/archive, images/thumb and
- ## images/temp, and make them all writable. Then uncomment
- ## this, if it's not already uncommented:
- #$wgHashedUploadDirectory = false;
- ## If you have the appropriate support software installed
- ## you can enable inline LaTeX equations:
- $wgUseTeX = false;
- ## Set $wgCacheDirectory to a writable directory on the web server
- ## to make your wiki go slightly faster. The directory should not
- ## be publically accessible from the web.
- #$wgCacheDirectory = "$IP/cache";
- # Site language code, should be one of ./languages/Language(.*).php
- $wgLanguageCode = "en";
- $wgSecretKey = "212d1bd01563393d4aad9a25c31d6624024d1572dff03974707a3e24c5d7cc";
- # Site upgrade key. Must be set to a string (default provided) to turn on the
- # web installer while LocalSettings.php is in place
- $wgUpgradeKey = "76757581fca59d7";
- #$wgReadOnly = 'Installing Extensions';
- ## Default skin: you can change the default skin. Use the internal symbolic
- ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector':
- $wgDefaultSkin = "vector";
- ## For attaching licensing metadata to pages, and displaying an
- ## appropriate copyright notice / icon. GNU Free Documentation
- ## License and Creative Commons licenses are supported so far.
- $wgEnableCreativeCommonsRdf = true;
- $wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
- $wgRightsUrl = "http://creativecommons.org/licenses/by-nc-sa/3.0/";
- $wgRightsText = "a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License";
- $wgRightsIcon = "http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png";
- # $wgRightsCode = ""; # Not yet used
- # Path to the GNU diff3 utility. Used for conflict resolution.
- $wgDiff3 = "";
- # Query string length limit for ResourceLoader. You should only set this if
- # your web server has a query string length limit (then set it to that limit),
- # or if you have suhosin.get.max_value_length set in php.ini (then set it to
- # that value)
- $wgResourceLoaderMaxQueryLength = -1;
- # End of automatically generated settings.
- # Add more configuration options below
- #TimeZone
- $wgLocaltimezone = 'EST'; ## -6 hrs instead of -5
- #Extentension
- require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
- $wgPFEnableStringFunctions = true;
- include_once("$IP/extensions/AdminLinks/AdminLinks.php");
- require_once( "$IP/extensions/Babel/Babel.php" );
- require_once("$IP/extensions/Cite/Cite.php");
- require_once("$IP/extensions/Cite/SpecialCite.php");
- $wgUseAjax = true;
- require_once("{$IP}/extensions/CategoryTree/CategoryTree.php");
- require_once("$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php");
- #require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
- require_once( "$IP/extensions/Nuke/Nuke.php" );
- require_once( "$IP/extensions/Nuke/SpecialNuke.php" );
- require_once( "$IP/extensions/InputBox/InputBox.php" );
- require_once("$IP/extensions/Renameuser/SpecialRenameuser.php");
- require_once("$IP/extensions/ImageMap/ImageMap.php");
- #require_once("$IP/extensions/Interwiki2/Interwiki.php");
- require_once("$IP/extensions/InterWiki/InterWiki.php");
- require_once( "$IP/extensions/Vector/Vector.php" );
- require_once($IP.'/extensions/Poem/Poem.php');
- require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
- require_once( "$IP/extensions/Gadgets/Gadgets.php" );
- require_once("$IP/extensions/StockCharts/StockCharts.php");
- require_once("$IP/extensions/CharInsert/CharInsert.php");
- # Enable subpages in all namespaces
- $wgNamespacesWithSubpages = array_fill(0, 200, true);
- #Namespaces
- $wgExtraNamespaces[500] = "Portal";
- $wgExtraNamespaces[501] = "Portal_talk";
- #Vector Extension Options
- $wgVectorFeatures['collapsibletabs']['user'] = true;
- $wgVectorFeatures['collapsiblenav']['user'] = true;
- $wgVectorUseSimpleSearch = true;
- $wgVectorFeatures['expandablesearch']['global'] = false;
- $wgVectorFeatures['expandablesearch']['user'] = false;
- #WikiEditor Options
- $wgDefaultUserOptions['usebetatoolbar'] = 1;
- $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
- $wgDefaultUserOptions['wikieditor-preview'] = 1;
- #User Rights
- $wgGroupPermissions['sysop']['renameuser'] = true;
- #Other Options
- $wgVectorUseIconWatch = true;
- $wgAjaxLicensePreview = true;
- $wgUseCopyrightUpload = true;
- $wgGroupPermissions['autoconfirmed']['upload_by_url'] = true;
- $wgAllowCopyUploads = true;
- $wgDocType = "-//W3C//DTD XHTML 1.0 Transitional//EN";
- $wgHtml5 = false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement