Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- # This file was automatically generated by the MediaWiki 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;
- }
- # If PHP's memory limit is very low, some operations may fail.
- # ini_set( 'memory_limit', '20M' );
- if ( $wgCommandLineMode ) {
- if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
- die( "This script must be run from the command line\n" );
- }
- } elseif ( empty( $wgNoOutputBuffer ) ) {
- ## Compress output if the browser supports it
- if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' );
- }
- $wgDebugLogFile = "/tmp/debug-beta.log";
- ## Uncomment this to disable output compression
- # $wgDisableOutputCompression = true;
- ## Override server timezone displayed in signatures
- $wgLocaltimezone = "UTC";
- $wgSitename = ;
- $wgMetaNamespace = ;
- ## 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 = "/w";
- $wgArticlePath = "/wiki/$1";
- $wgUsePathInfo = true;
- $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!
- $wgFavicon = ;
- $wgLogo = ;
- ## UPO means: this is also a user preference option
- $wgEnableEmail = true;
- $wgEnableUserEmail = true; # UPO
- $wgEmergencyContact = ;
- $wgPasswordSender = ;
- $wgEnotifUserTalk = true; # UPO
- $wgEnotifWatchlist = true; # UPO
- $wgEmailAuthentication = true;
- ## Database settings
- require_once "$IP/../../configs/db-configs.beta.php";
- # MySQL specific settings
- $wgDBprefix = ;
- # MySQL table options to use during installation or update
- $wgDBTableOptions = "TYPE=InnoDB";
- # Experimental charset support for MySQL 4.1/5.0.
- $wgDBmysql5 = false;
- ## Shared memory settings
- $wgMainCacheType = CACHE_ACCEL;
- $wgMemCachedServers = array();
- $wgUseSquid = true;
- $wgSquidServers = array( '127.0.0.1' );
- $wgUsePrivateIPs = true;
- ## To enable image uploads, make sure the 'images' directory
- ## is writable, then set this to true:
- $wgEnableUploads = true;
- $wgAllowCopyUploads = true;
- $wgCopyUploadsFromSpecialUpload = true;
- $wgMimeDetectorCommand = "file -bi";
- $wgUploadPath = ;
- $wgUploadDirectory = "$IP/images/beta";
- $wgStrictFileExtensions = false;
- $wgFileExtensions = array(
- 'gif', 'png', 'jpg', 'jpeg', 'ogg', 'doc', 'xls',
- 'ppt', 'mp3', 'sxc', 'pdf', 'map', 'mov', 'svg'
- );
- $wgUseImageMagick = true;
- $wgMaxShellMemory = 128000;
- $wgImageMagickConvertCommand = "/usr/bin/convert";
- # InstantCommons allows wiki to use images from http://commons.wikimedia.org
- $wgUseInstantCommons = false;
- ## Define SVG converter
- $wgSVGConverters = array( 'rsvg' => '/usr/bin/rsvg-convert -w $width -h $height -o $output $input' );
- $wgSVGConverter = "rsvg" ;
- $wgSVGConverterPath = "/usr/bin/";
- ## 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.UTF-8";
- ## 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 = true;
- ## 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/beta";
- //$wgUseFileCache = true;
- //$wgFileCacheDirectory = "{$wgCacheDirectory}/html";
- $wgShowIPinHeader = false;
- # Site language code, should be one of ./languages/Language(.*).php
- $wgLanguageCode = "en";
- ## Default skin: you can change the default skin. Use the internal symbolic
- ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
- $wgDefaultSkin = 'dolphin';
- wfLoadSkin( 'CologneBlue' );
- wfLoadSkin( 'Modern' );
- wfLoadSkin( 'MonoBook' );
- wfLoadSkin( 'Vector' );
- require_once( "$IP/skins/BlueCloud/BlueCloud.php" );
- require_once( "$IP/skins/Dolphin/Dolphin.php" );
- require_once( "$IP/skins/Power/Power.php" );
- require_once( "$IP/skins/QuantumLeap/QuantumLeap.php" );
- require_once( "$IP/skins/Whale/Whale.php" );
- require_once( "$IP/skins/Dolphin/resources.php" );
- ## 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-sa/3.0/";
- $wgRightsText = "Attribution-Share Alike 3.0 Unported";
- $wgRightsIcon = "http://i.creativecommons.org/l/by-sa/3.0/88x31.png";
- # $wgRightsCode = "[license_code]"; # Not yet used
- # Path to the GNU diff3 utility. Used for conflict resolution.
- $wgDiff3 = "/usr/bin/diff3";
- # 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;
- $wgEnableMWSuggest = true;
- ## Fix ParserFunctions HTML
- $wgUseTidy = true;
- $wgTidyBin = '/usr/bin/tidy';
- ## Enable subpages
- $wgNamespacesWithSubpages = array_fill(0, 200, true);
- $wgAllowUserJs = true;
- $wgAllowUserCss = true;
- ## Autoconfirmed minimum requirements
- $wgAutoConfirmAge = 3600*24*4; // four days
- $wgAutoConfirmCount = 10; // 10 edits
- $wgBlockAllowsUTEdit = true;
- $wgResourceLoaderDebug = true;
- $wgShowExceptionDetails = true;
- $wgForeignFileRepos[] = array(
- 'class' => 'ForeignAPIRepo',
- 'name' => ,
- 'apibase' => ,
- 'fetchDescription' => true, // Optional
- 'descriptionCacheExpiry' => 43200, // 12 hours, optional (values are seconds)
- 'apiThumbCacheExpiry' => 43200, // 12 hours, optional, but required for local thumb caching
- );
- // User permissions
- // From http://www.mediawiki.org/wiki/Manual:User_rights
- $wgGroupPermissions['*' ]['interwiki'] = false;
- $wgGroupPermissions['*' ]['writeapi'] = false;
- $wgGroupPermissions['user' ]['createaccount'] = false;
- $wgGroupPermissions['user' ]['move'] = false;
- $wgGroupPermissions['user' ]['move-subpages'] = false;
- $wgGroupPermissions['user' ]['reupload-shared'] = false;
- $wgGroupPermissions['user' ]['skipcaptcha'] = false;
- $wgGroupPermissions['user' ]['writeapi'] = false;
- $wgGroupPermissions['autoconfirmed']['move'] = true;
- $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;
- $wgGroupPermissions['autoconfirmed']['writeapi'] = true;
- $wgGroupPermissions['rollback' ]['forcepreviewexempt'] = true;
- $wgGroupPermissions['rollback' ]['autopatrol'] = true;
- $wgGroupPermissions['rollback' ]['patrolmarks'] = true;
- $wgGroupPermissions['rollback' ]['rollback'] = true;
- $wgGroupPermissions['sysop' ]['forcepreviewexempt'] = true;
- $wgGroupPermissions['sysop' ]['deleterevision'] = true;
- $wgGroupPermissions['sysop' ]['mergehistory'] = true;
- $wgGroupPermissions['sysop' ]['upload_by_url'] = true;
- $wgGroupPermissions['bureaucrat' ]['interwiki'] = true;
- $wgGroupPermissions['bureaucrat' ]['suppressrevision'] = true;
- $wgGroupPermissions['bureaucrat' ]['suppressionlog'] = true;
- # Enabled Extensions. Most extensions are enabled by including the base extension file here
- # but check specific extension documentation for more details
- # The following extensions were automatically enabled:
- require_once( "$IP/extensions/CheckUser/CheckUser.php" );
- require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
- require_once( "$IP/extensions/ConfirmEdit/AyahCaptcha.php" );
- require_once( "$IP/extensions/DynamicPageList/DynamicPageList.php" );
- require_once( "$IP/extensions/Echo/Echo.php" );
- require_once( "$IP/extensions/EmbedVideo/EmbedVideo.php" );
- require_once( "$IP/extensions/ForcePreview/ForcePreview.php" );
- require_once( "$IP/extensions/GraphViz/GraphViz.php" );
- require_once( "$IP/extensions/HitCounters/HitCounters.php" );
- require_once( "$IP/extensions/Math/Math.php" );
- require_once( "$IP/extensions/MobileFrontend/MobileFrontend.php" );
- require_once( "$IP/extensions/ReplaceText/ReplaceText.php" );
- require_once( "$IP/extensions/Scribunto/Scribunto.php" );
- require_once( "$IP/extensions/SpamBlacklist/SpamBlacklist.php" );
- require_once( "$IP/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php" );
- require_once( "$IP/extensions/Thanks/Thanks.php" );
- require_once( "$IP/extensions/TitleBlacklist/TitleBlacklist.php" );
- require_once( "$IP/extensions/ToggleAnonRights/ToggleAnonRights.php" );
- require_once( "$IP/extensions/UploadWizard/UploadWizard.php" );
- require_once( "$IP/extensions/Variables/Variables.php" );
- require_once( "$IP/extensions/WatchSubpages/WatchSubpages.php" );
- require_once( "$IP/extensions/WebsiteAnalytics/WebsiteAnalytics.php" );
- wfLoadExtensions( array( 'CharInsert', 'Cite', 'Gadgets', 'ImageMap', 'Interwiki', 'Nuke', 'ParserFunctions', 'Renameuser' ) );
- # End of automatically generated settings.
- # Add more configuration options below.
- # Allow autoconfirmed users to skip captcha
- # Repeated from above to override extensions default
- $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;
- $wgGraphVizSettings->createCategoryPages = 'yes';
- $wgGraphVizSettings->dotCommand = "/usr/bin/dot";
- // Reduce the load on the server slightly (the default's 1)
- $wgJobRunRate = 0.2;
- // Hide links on Recent changes longer than $wgRCMaxAge
- $wgRCFilterByAge = true;
- /* The bottom two have been added */
- $wgThumbLimits = array(
- 120,
- 150,
- 180,
- 200,
- 250,
- 300,
- 400,
- 500
- );
- $wgMFAutodetectMobileView = true;
- $wgMobileUrlTemplate = ;
- // Needed to make UploadWizard work in IE, see bug 39877
- $wgApiFrameOptions = 'SAMEORIGIN';
- $wgScribuntoUseGeSHi = true;
- $wgGoogleAnalyticsID = ;
- $wgCaptchaClass = 'AyahCaptcha';
- $wgAYAHpublisher = ;
- $wgAYAHscoring = ;
- require_once "$IP/../../configs/ext-configs.beta.php";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement