00001 <?php
00020 # This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
00021 if( !defined( 'MEDIAWIKI' ) ) {
00022 echo "This file is part of MediaWiki and is not a valid entry point\n";
00023 die( 1 );
00024 }
00025
00030 if ( !defined( 'MW_PHP4' ) ) {
00031 require_once( "$IP/includes/SiteConfiguration.php" );
00032 $wgConf = new SiteConfiguration;
00033 }
00034
00036 $wgVersion = '1.16.4';
00037
00039 $wgSitename = 'MediaWiki';
00040
00045 $wgMetaNamespace = false;
00046
00056 $wgMetaNamespaceTalk = false;
00057
00058
00060 $wgServer = '';
00061
00062 if( isset( $_SERVER['SERVER_NAME'] ) ) {
00063 $wgServerName = $_SERVER['SERVER_NAME'];
00064 } elseif( isset( $_SERVER['HOSTNAME'] ) ) {
00065 $wgServerName = $_SERVER['HOSTNAME'];
00066 } elseif( isset( $_SERVER['HTTP_HOST'] ) ) {
00067 $wgServerName = $_SERVER['HTTP_HOST'];
00068 } elseif( isset( $_SERVER['SERVER_ADDR'] ) ) {
00069 $wgServerName = $_SERVER['SERVER_ADDR'];
00070 } else {
00071 $wgServerName = 'localhost';
00072 }
00073
00074 # check if server use https:
00075 $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';
00076
00077 $wgServer = $wgProto.'://' . $wgServerName;
00078 # If the port is a non-standard one, add it to the URL
00079 if( isset( $_SERVER['SERVER_PORT'] )
00080 && !strpos( $wgServerName, ':' )
00081 && ( ( $wgProto == 'http' && $_SERVER['SERVER_PORT'] != 80 )
00082 || ( $wgProto == 'https' && $_SERVER['SERVER_PORT'] != 443 ) ) ) {
00083
00084 $wgServer .= ":" . $_SERVER['SERVER_PORT'];
00085 }
00086
00087
00097 $wgScriptPath = '/wiki';
00098
00115 $wgUsePathInfo =
00116 ( strpos( php_sapi_name(), 'cgi' ) === false ) &&
00117 ( strpos( php_sapi_name(), 'apache2filter' ) === false ) &&
00118 ( strpos( php_sapi_name(), 'isapi' ) === false );
00119
00120
00130 $wgScriptExtension = '.php';
00131 $wgScript = false;
00132 $wgRedirectScript = false;
00133
00147 $wgStylePath = false;
00148 $wgExtensionAssetsPath = false;
00149
00153 $wgStyleDirectory = false;
00154 $wgStyleSheetPath = &$wgStylePath;
00155 $wgArticlePath = false;
00156 $wgUploadPath = false;
00157 $wgUploadDirectory = false;
00158 $wgHashedUploadDirectory = true;
00159 $wgLogo = false;
00160 $wgFavicon = '/favicon.ico';
00161 $wgAppleTouchIcon = false;
00162 $wgMathPath = false;
00163 $wgMathDirectory = false;
00164 $wgTmpDirectory = false;
00165 $wgUploadBaseUrl = "";
00176 $wgCacheDirectory = false;
00177
00181 $wgDirectoryMode = 0777;
00182
00190 $wgFileStore = array();
00191 $wgFileStore['deleted']['directory'] = false;
00192 $wgFileStore['deleted']['url'] = null;
00193 $wgFileStore['deleted']['hash'] = 3;
00194
00195 $wgImgAuthDetails = false;
00196 $wgImgAuthPublicTest = true;
00197
00256 $wgLocalFileRepo = false;
00257 $wgForeignFileRepos = array();
00265 $wgUseInstantCommons = false;
00266
00293 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
00294 $wgIllegalFileChars = ":";
00295
00296
00300 $wgUrlProtocols = array(
00301 'http://',
00302 'https://',
00303 'ftp://',
00304 'irc://',
00305 'gopher://',
00306 'telnet://',
00307 'nntp://',
00308 'worldwind://',
00309 'mailto:',
00310 'news:',
00311 'svn://',
00312 );
00313
00317 $wgAntivirus= null;
00318
00343 $wgAntivirusSetup = array(
00344
00345 #setup for clamav
00346 'clamav' => array (
00347 'command' => "clamscan --no-summary ",
00348
00349 'codemap' => array (
00350 "0" => AV_NO_VIRUS, # no virus
00351 "1" => AV_VIRUS_FOUND, # virus found
00352 "52" => AV_SCAN_ABORTED, # unsupported file format (probably imune)
00353 "*" => AV_SCAN_FAILED, # else scan failed
00354 ),
00355
00356 'messagepattern' => '/.*?:(.*)/sim',
00357 ),
00358
00359 #setup for f-prot
00360 'f-prot' => array (
00361 'command' => "f-prot ",
00362
00363 'codemap' => array (
00364 "0" => AV_NO_VIRUS, # no virus
00365 "3" => AV_VIRUS_FOUND, # virus found
00366 "6" => AV_VIRUS_FOUND, # virus found
00367 "*" => AV_SCAN_FAILED, # else scan failed
00368 ),
00369
00370 'messagepattern' => '/.*?Infection:(.*)$/m',
00371 ),
00372 );
00373
00374
00376 $wgAntivirusRequired= true;
00377
00379 $wgVerifyMimeType= true;
00380
00382 $wgMimeTypeFile= "includes/mime.types";
00383 #$wgMimeTypeFile= "/etc/mime.types";
00384 #$wgMimeTypeFile= null; #use built-in defaults only.
00385
00387 $wgMimeInfoFile= "includes/mime.info";
00388 #$wgMimeInfoFile= null; #use built-in defaults only.
00389
00394 $wgLoadFileinfoExtension= false;
00395
00401 $wgMimeDetectorCommand= null; # use internal mime_content_type function, available since php 4.3.0
00402 #$wgMimeDetectorCommand= "file -bi"; #use external mime detector (Linux)
00403
00408 $wgTrivialMimeDetection= false;
00409
00414 $wgXMLMimeTypes = array(
00415 'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
00416 'svg' => 'image/svg+xml',
00417 'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
00418 'http://www.w3.org/1999/xhtml:html' => 'text/html',
00419 'html' => 'text/html',
00420 );
00421
00430 $wgActionPaths = array();
00431
00445 $wgUseSharedUploads = false;
00447 $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
00449 $wgFetchCommonsDescriptions = false;
00451 $wgSharedUploadDirectory = "/var/www/wiki3/images";
00453 $wgSharedUploadDBname = false;
00455 $wgSharedUploadDBprefix = '';
00457 $wgCacheSharedUploads = true;
00462 $wgAllowCopyUploads = false;
00463
00469 $wgMaxUploadSize = 1024*1024*100; # 100MB
00470
00480 $wgUploadNavigationUrl = false;
00481
00490 $wgThumbnailScriptPath = false;
00491 $wgSharedThumbnailScriptPath = false;
00492
00498 $wgHashedSharedUploadDirectory = true;
00499
00508 $wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/Image:";
00509
00510 #
00511 # Email settings
00512 #
00513
00518 $wgEmergencyContact = 'wikiadmin@' . $wgServerName;
00519
00525 $wgPasswordSender = 'MediaWiki Mail <apache@' . $wgServerName . '>';
00526
00532 #$wgNoReplyAddress = $wgEmergencyContact;
00533 $wgNoReplyAddress = 'reply@not.possible';
00534
00540 $wgEnableEmail = true;
00541
00546 $wgEnableUserEmail = true;
00547
00556 $wgUserEmailUseReplyTo = false;
00557
00562 $wgPasswordReminderResendTime = 24;
00563
00567 $wgNewPasswordExpiry = 3600 * 24 * 7;
00568
00582 $wgSMTP = false;
00583
00584
00589 $wgDBserver = 'localhost';
00591 $wgDBport = 5432;
00593 $wgDBname = 'my_wiki';
00595 $wgDBconnection = '';
00597 $wgDBuser = 'wikiuser';
00599 $wgDBpassword = '';
00601 $wgDBtype = 'mysql';
00602
00604 $wgDBadminuser = null;
00605 $wgDBadminpassword = null;
00606
00612 $wgSearchType = null;
00613
00615 $wgDBprefix = '';
00617 $wgDBTableOptions = 'ENGINE=InnoDB';
00618
00620 $wgDBmwschema = 'mediawiki';
00622 $wgDBts2schema = 'public';
00623
00625 $wgSQLiteDataDir = '';
00626
00631 $wgSQLiteDataDirMode = 0700;
00632
00638 $wgAllDBsAreLocalhost = false;
00639
00644 $wgCheckDBSchema = true;
00645
00646
00661 $wgSharedDB = null;
00662 $wgSharedPrefix = false; # Defaults to $wgDBprefix
00663 $wgSharedTables = array( 'user', 'user_properties' );
00664
00706 $wgDBservers = false;
00707
00718 $wgLBFactoryConf = array( 'class' => 'LBFactory_Simple' );
00719
00721 $wgMasterWaitTimeout = 10;
00722
00724 $wgDBerrorLog = false;
00725
00727 $wgDBClusterTimeout = 10;
00728
00733 $wgDBAvgStatusPoll = 2000;
00734
00736 $wgDBtransactions = false;
00739 $wgDBmysql4 = true;
00740
00757 $wgDBmysql5 = false;
00758
00764 $wgLocalDatabases = array();
00765
00770 $wgMainCacheType = CACHE_NONE;
00771 $wgMessageCacheType = CACHE_ANYTHING;
00772 $wgParserCacheType = CACHE_ANYTHING;
00775 $wgParserCacheExpireTime = 86400;
00776
00777
00778 $wgDBAhandler = 'db3';
00779
00780 $wgSessionsInMemcached = false;
00781
00786 $wgSessionHandler = 'files';
00787
00792 $wgUseMemCached = false;
00793 $wgMemCachedDebug = false;
00794 $wgMemCachedServers = array( '127.0.0.1:11000' );
00795 $wgMemCachedPersistent = false;
00796 $wgMemCachedTimeout = 100000;
00803 $wgUseLocalMessageCache = false;
00804
00810 $wgLocalMessageCacheSerialized = true;
00811
00832 $wgLocalisationCacheConf = array(
00833 'class' => 'LocalisationCache',
00834 'store' => 'detect',
00835 'storeClass' => false,
00836 'storeDirectory' => false,
00837 'manualRecache' => false,
00838 );
00839
00840 # Language settings
00841 #
00842
00843 $wgLanguageCode = 'en';
00844
00849 $wgGrammarForms = array();
00850 #$wgGrammarForms['en']['genitive']['car'] = 'car\'s';
00851
00853 $wgInterwikiMagic = true;
00854
00856 $wgHideInterlanguageLinks = false;
00857
00859 $wgExtraLanguageNames = array();
00860
00866 $wgDummyLanguageCodes = array( 'qqq', 'als', 'be-x-old', 'dk', 'fiu-vro', 'iu', 'nb', 'simple', 'tp' );
00867
00869 $wgInputEncoding = 'UTF-8';
00870 $wgOutputEncoding = 'UTF-8';
00871 $wgEditEncoding = '';
00872
00881 $wgFixArabicUnicode = true;
00882
00892 $wgFixMalayalamUnicode = true;
00893
00899 $wgShellLocale = 'en_US.utf8';
00900
00911 $wgLegacyEncoding = false;
00912
00928 $wgLegacySchemaConversion = false;
00929
00930 $wgMimeType = 'text/html';
00931 $wgJsMimeType = 'text/javascript';
00932 $wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
00933 $wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
00934 $wgXhtmlDefaultNamespace = 'http://www.w3.org/1999/xhtml';
00935
00942 $wgHtml5 = true;
00943
00948 $wgHtml5Version = null;
00949
00954 $wgAllowRdfaAttributes = false;
00955
00959 $wgAllowMicrodataAttributes = false;
00960
00977 $wgWellFormedXml = true;
00978
00987 $wgXhtmlNamespaces = array();
00988
00991 $wgUseDynamicDates = false;
00995 $wgAmericanDates = false;
01000 $wgTranslateNumerals = true;
01001
01006 $wgUseDatabaseMessages = true;
01007
01011 $wgMsgCacheExpiry = 86400;
01012
01016 $wgMaxMsgCacheEntrySize = 10000;
01017
01024 $wgEnableSerializedMessages = true;
01025
01030 $wgCheckSerialized = true;
01031
01033 $wgDisableLangConversion = false;
01034
01036 $wgDisableTitleConversion = false;
01037
01039 $wgDefaultLanguageVariant = false;
01040
01049 $wgDisabledVariants = array();
01050
01065 $wgVariantArticlePath = false;
01066
01072 $wgLoginLanguageSelector = false;
01073
01079 $wgUseZhdaemon = false;
01080 $wgZhdaemonHost="localhost";
01081 $wgZhdaemonPort=2004;
01082
01083
01084 # Miscellaneous configuration settings
01085 #
01086
01087 $wgLocalInterwiki = 'w';
01088 $wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
01089
01106 $wgInterwikiCache = false;
01107 $wgInterwikiScopes = 3;
01108 $wgInterwikiFallbackSite = 'wiki';
01109
01122 $wgRedirectSources = false;
01123
01124
01125 $wgShowIPinHeader = true; # For non-logged in users
01126 $wgMaxSigChars = 255; # Maximum number of Unicode characters in signature
01127 $wgMaxArticleSize = 2048; # Maximum article size in kilobytes
01128 # Maximum number of bytes in username. You want to run the maintenance
01129 # script ./maintenancecheckUsernames.php once you have changed this value
01130 $wgMaxNameChars = 255;
01131
01132 $wgMaxPPNodeCount = 1000000; # A complexity limit on template expansion
01133
01140 $wgMaxTemplateDepth = 40;
01141 $wgMaxPPExpandDepth = 40;
01142
01146 $wgCleanSignatures = true;
01147
01148 $wgExtraSubtitle = '';
01149 $wgSiteSupportPage = ''; # A page where you users can receive donations
01150
01159 $wgReadOnly = null;
01160
01161
01162
01163
01164
01165
01166 $wgReadOnlyFile = false;
01167
01173 $wgDebugLogFile = '';
01174
01178 $wgDebugLogPrefix = '';
01179
01185 $wgDebugRedirects = false;
01186
01192 $wgDebugRawPage = false;
01193
01202 $wgDebugComments = false;
01203
01207 $wgDebugDumpSql = false;
01208
01215 $wgDebugLogGroups = array();
01216
01222 $wgShowDebug = false;
01223
01227 $wgDebugTimestamps = false;
01228
01232 $wgDebugPrintHttpHeaders = true;
01233
01237 $wgSpecialVersionShowHooks = false;
01238
01244 $wgShowSQLErrors = false;
01245
01251 $wgColorErrors = true;
01252
01259 $wgShowExceptionDetails = false;
01260
01264 $wgShowDBErrorBacktrace = false;
01265
01269 $wgShowHostnames = false;
01270
01275 $wgDevelopmentWarnings = false;
01276
01280 $wgUseCategoryBrowser = false;
01281
01291 $wgEnableParserCache = true;
01292
01297 $wgRenderHashAppend = '';
01298
01308 $wgEnableSidebarCache = false;
01309
01313 $wgSidebarCacheExpiry = 86400;
01314
01325 $wgUseCommaCount = false;
01326
01334 $wgHitcounterUpdateFreq = 1;
01335
01336 # Basic user rights and block settings
01337 $wgSysopUserBans = true; # Allow sysops to ban logged-in users
01338 $wgSysopRangeBans = true; # Allow sysops to ban IP ranges
01339 $wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
01340 $wgBlockAllowsUTEdit = false; # Default setting for option on block form to allow self talkpage editing whilst blocked
01341 $wgSysopEmailBans = true; # Allow sysops to ban users from accessing Emailuser
01342 $wgBlockCIDRLimit = array(
01343 'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
01344 'IPv6' => 64, # 2^64 = ~1.8x10^19 addresses
01345 );
01346
01354 $wgBlockDisablesLogin = false; #
01355
01356 # Pages anonymous user may see as an array, e.g.:
01357 # array ( "Main Page", "Wikipedia:Help");
01358 # Special:Userlogin and Special:Resetpass are always whitelisted.
01359 # NOTE: This will only work if $wgGroupPermissions['*']['read']
01360 # is false -- see below. Otherwise, ALL pages are accessible,
01361 # regardless of this setting.
01362 # Also note that this will only protect _pages in the wiki_.
01363 # Uploaded files will remain readable. Make your upload
01364 # directory name unguessable, or use .htaccess to protect it.
01365 $wgWhitelistRead = false;
01366
01371 $wgEmailConfirmToEdit=false;
01372
01390 $wgGroupPermissions = array();
01391
01392
01393 $wgGroupPermissions['*']['createaccount'] = true;
01394 $wgGroupPermissions['*']['read'] = true;
01395 $wgGroupPermissions['*']['edit'] = true;
01396 $wgGroupPermissions['*']['createpage'] = true;
01397 $wgGroupPermissions['*']['createtalk'] = true;
01398 $wgGroupPermissions['*']['writeapi'] = true;
01399
01400
01401
01402 $wgGroupPermissions['user']['move'] = true;
01403 $wgGroupPermissions['user']['move-subpages'] = true;
01404 $wgGroupPermissions['user']['move-rootuserpages'] = true;
01405
01406 $wgGroupPermissions['user']['read'] = true;
01407 $wgGroupPermissions['user']['edit'] = true;
01408 $wgGroupPermissions['user']['createpage'] = true;
01409 $wgGroupPermissions['user']['createtalk'] = true;
01410 $wgGroupPermissions['user']['writeapi'] = true;
01411 $wgGroupPermissions['user']['upload'] = true;
01412 $wgGroupPermissions['user']['reupload'] = true;
01413 $wgGroupPermissions['user']['reupload-shared'] = true;
01414 $wgGroupPermissions['user']['minoredit'] = true;
01415 $wgGroupPermissions['user']['purge'] = true;
01416 $wgGroupPermissions['user']['sendemail'] = true;
01417
01418
01419 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
01420
01421
01422
01423 $wgGroupPermissions['bot']['bot'] = true;
01424 $wgGroupPermissions['bot']['autoconfirmed'] = true;
01425 $wgGroupPermissions['bot']['nominornewtalk'] = true;
01426 $wgGroupPermissions['bot']['autopatrol'] = true;
01427 $wgGroupPermissions['bot']['suppressredirect'] = true;
01428 $wgGroupPermissions['bot']['apihighlimits'] = true;
01429 $wgGroupPermissions['bot']['writeapi'] = true;
01430 #$wgGroupPermissions['bot']['editprotected'] = true; // can edit all protected pages without cascade protection enabled
01431
01432
01433 $wgGroupPermissions['sysop']['block'] = true;
01434 $wgGroupPermissions['sysop']['createaccount'] = true;
01435 $wgGroupPermissions['sysop']['delete'] = true;
01436 $wgGroupPermissions['sysop']['bigdelete'] = true;
01437 $wgGroupPermissions['sysop']['deletedhistory'] = true;
01438 $wgGroupPermissions['sysop']['deletedtext'] = true;
01439 $wgGroupPermissions['sysop']['undelete'] = true;
01440 $wgGroupPermissions['sysop']['editinterface'] = true;
01441 $wgGroupPermissions['sysop']['editusercss'] = true;
01442 $wgGroupPermissions['sysop']['edituserjs'] = true;
01443 $wgGroupPermissions['sysop']['import'] = true;
01444 $wgGroupPermissions['sysop']['importupload'] = true;
01445 $wgGroupPermissions['sysop']['move'] = true;
01446 $wgGroupPermissions['sysop']['move-subpages'] = true;
01447 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
01448 $wgGroupPermissions['sysop']['patrol'] = true;
01449 $wgGroupPermissions['sysop']['autopatrol'] = true;
01450 $wgGroupPermissions['sysop']['protect'] = true;
01451 $wgGroupPermissions['sysop']['proxyunbannable'] = true;
01452 $wgGroupPermissions['sysop']['rollback'] = true;
01453 $wgGroupPermissions['sysop']['trackback'] = true;
01454 $wgGroupPermissions['sysop']['upload'] = true;
01455 $wgGroupPermissions['sysop']['reupload'] = true;
01456 $wgGroupPermissions['sysop']['reupload-shared'] = true;
01457 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
01458 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
01459 $wgGroupPermissions['sysop']['upload_by_url'] = true;
01460 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
01461 $wgGroupPermissions['sysop']['blockemail'] = true;
01462 $wgGroupPermissions['sysop']['markbotedits'] = true;
01463 $wgGroupPermissions['sysop']['apihighlimits'] = true;
01464 $wgGroupPermissions['sysop']['browsearchive'] = true;
01465 $wgGroupPermissions['sysop']['noratelimit'] = true;
01466 $wgGroupPermissions['sysop']['versiondetail'] = true;
01467 $wgGroupPermissions['sysop']['movefile'] = true;
01468 #$wgGroupPermissions['sysop']['mergehistory'] = true;
01469
01470
01471 $wgGroupPermissions['bureaucrat']['userrights'] = true;
01472 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
01473
01474 #$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
01475
01476 #$wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
01477
01478 #$wgGroupPermissions['sysop']['deleterevision'] = true;
01479
01480 #$wgGroupPermissions['suppress']['hideuser'] = true;
01481
01482 #$wgGroupPermissions['suppress']['suppressrevision'] = true;
01483
01484 #$wgGroupPermissions['suppress']['suppressionlog'] = true;
01485
01492 # $wgGroupPermissions['developer']['siteadmin'] = true;
01493
01502 $wgRevokePermissions = array();
01503
01507 $wgImplicitGroups = array( '*', 'user', 'autoconfirmed' );
01508
01527 $wgGroupsAddToSelf = array();
01528 $wgGroupsRemoveFromSelf = array();
01529
01535 $wgRestrictionTypes = array( 'edit', 'move' );
01536
01547 $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' );
01548
01556 $wgNamespaceProtection = array();
01557
01564 $wgNonincludableNamespaces = array();
01565
01577 $wgAutoConfirmAge = 0;
01578
01579
01580
01581 # Number of edits an account requires before it is autoconfirmed
01582 # Passing both this AND the time requirement is needed
01583 $wgAutoConfirmCount = 0;
01584
01585
01605 $wgAutopromote = array(
01606 'autoconfirmed' => array( '&',
01607 array( APCOND_EDITCOUNT, &$wgAutoConfirmCount ),
01608 array( APCOND_AGE, &$wgAutoConfirmAge ),
01609 ),
01610 );
01611
01625 $wgAddGroups = array();
01626 $wgRemoveGroups = array();
01627
01632 $wgAvailableRights = array();
01633
01638 $wgDeleteRevisionsLimit = 0;
01639
01640 # Proxy scanner settings
01641 #
01642
01652 $wgBlockOpenProxies = false;
01654 $wgProxyPorts = array( 80, 81, 1080, 3128, 6588, 8000, 8080, 8888, 65506 );
01656 $wgProxyScriptPath = "$IP/includes/proxy_check.php";
01658 $wgProxyMemcExpiry = 86400;
01660 $wgSecretKey = false;
01662 $wgProxyList = array();
01664 $wgProxyKey = false;
01665
01668 $wgAccountCreationThrottle = 0;
01669
01670 # Client-side caching:
01671
01673 $wgCachePages = true;
01674
01681 $wgCacheEpoch = '20030516000000';
01682
01689 $wgStyleVersion = '270';
01690
01691
01692 # Server-side caching:
01693
01699 $wgUseFileCache = false;
01700
01702 $wgFileCacheDirectory = false;
01703
01712 $wgUseGzip = false;
01713
01715 $wgUseETag = false;
01716
01717 # Email notification settings
01718 #
01719
01721 $wgPasswordSender = $wgEmergencyContact;
01722
01723 # true: from page editor if s/he opted-in
01724 # false: Enotif mails appear to come from $wgEmergencyContact
01725 $wgEnotifFromEditor = false;
01726
01727
01728 # If set to true, users get a corresponding option in their preferences and can choose to enable or disable at their discretion
01729 # If set to false, the corresponding input form on the user preference page is suppressed
01730 # It call this to be a "user-preferences-option (UPO)"
01731 $wgEmailAuthentication = true; # UPO (if this is set to false, texts referring to authentication are suppressed)
01732 $wgEnotifWatchlist = false; # UPO
01733 $wgEnotifUserTalk = false; # UPO
01734 $wgEnotifRevealEditorAddress = false; # UPO; reply-to address may be filled with page editor's address (if user allowed this in the preferences)
01735 $wgEnotifMinorEdits = true; # UPO; false: "minor edits" on pages do not trigger notification mails.
01736 # # Attention: _every_ change on a user_talk page trigger a notification mail (if the user is not yet notified)
01737
01738 # Send a generic mail instead of a personalised mail for each user. This
01739 # always uses UTC as the time zone, and doesn't include the username.
01740 #
01741 # For pages with many users watching, this can significantly reduce mail load.
01742 # Has no effect when using sendmail rather than SMTP;
01743
01744 $wgEnotifImpersonal = false;
01745
01746 # Maximum number of users to mail at once when using impersonal mail. Should
01747 # match the limit on your mail server.
01748 $wgEnotifMaxRecips = 500;
01749
01750 # Send mails via the job queue.
01751 $wgEnotifUseJobQ = false;
01752
01753 # Use real name instead of username in e-mail "from" field
01754 $wgEnotifUseRealName = false;
01755
01759 $wgUsersNotifiedOnAllChanges = array();
01760
01762 $wgRCShowWatchingUsers = false; # UPO
01764 $wgPageShowWatchingUsers = false;
01766 $wgRCShowChangedSize = true;
01767
01773 $wgRCChangedSizeThreshold = 500;
01774
01778 $wgShowUpdatedMarker = true;
01779
01783 $wgCookieExpiration = 30*86400;
01784
01790 $wgClockSkewFudge = 5;
01791
01792 # Squid-related settings
01793 #
01794
01796 $wgUseSquid = false;
01797
01799 $wgUseESI = false;
01800
01802 $wgUseXVO = false;
01803
01805 # $wgInternalServer = 'http://yourinternal.tld:8000';
01806 $wgInternalServer = $wgServer;
01807
01814 $wgSquidMaxage = 18000;
01815
01819 $wgForcedRawSMaxage = 300;
01820
01829 $wgSquidServers = array();
01830
01835 $wgSquidServersNoPurge = array();
01836
01838 $wgMaxSquidPurgeTitles = 400;
01839
01841 $wgHTCPPort = 4827;
01842 $wgHTCPMulticastTTL = 1;
01843 # $wgHTCPMulticastAddress = "224.0.0.85";
01844 $wgHTCPMulticastAddress = false;
01845
01847 $wgUsePrivateIPs = false;
01848
01849 # Cookie settings:
01850 #
01851
01855 $wgCookieDomain = '';
01856 $wgCookiePath = '/';
01857 $wgCookieSecure = ($wgProto == 'https');
01858 $wgDisableCookieCheck = false;
01859
01864 $wgCookiePrefix = false;
01865
01873 $wgCookieHttpOnly = version_compare("5.2", PHP_VERSION, "<");
01874
01879 $wgHttpOnlyBlacklist = array(
01880
01881
01882
01883 '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
01884 );
01885
01887 $wgCacheVaryCookies = array();
01888
01890 $wgSessionName = false;
01891
01893 $wgAllowExternalImages = false;
01894
01904 $wgAllowExternalImagesFrom = '';
01905
01914 $wgEnableImageWhitelist = true;
01915
01917 $wgAllowImageMoving = true;
01918
01920 $wgMiserMode = false;
01922 $wgDisableQueryPages = false;
01924 $wgQueryCacheLimit = 1000;
01926 $wgWantedPagesThreshold = 1;
01928 $wgAllowSlowParserFunctions = false;
01929
01934 $wgJobClasses = array(
01935 'refreshLinks' => 'RefreshLinksJob',
01936 'refreshLinks2' => 'RefreshLinksJob2',
01937 'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
01938 'html_cache_update' => 'HTMLCacheUpdateJob',
01939 'sendMail' => 'EmaillingJob',
01940 'enotifNotify' => 'EnotifNotifyJob',
01941 'fixDoubleRedirect' => 'DoubleRedirectJob',
01942 );
01943
01948 $wgSpecialPageCacheUpdates = array(
01949 'Statistics' => array('SiteStatsUpdate','cacheUpdate')
01950 );
01951
01958 $wgUseTeX = false;
01960 $wgTexvc = './math/texvc';
01967 $wgTexvcBackgroundColor = 'transparent';
01968
01980 $wgMathCheckFiles = true;
01981
01982 #
01983 # Profiling / debugging
01984 #
01985 # You have to create a 'profiling' table in your database before using
01986 # profiling see maintenance/archives/patch-profiling.sql .
01987 #
01988 # To enable profiling, edit StartProfiler.php
01989
01991 $wgProfileLimit = 0.0;
01993 $wgProfileOnly = false;
01995 $wgProfileToDatabase = false;
01997 $wgProfileCallTree = false;
01999 $wgProfilePerHost = false;
02000
02002 $wgUDPProfilerHost = '127.0.0.1';
02003 $wgUDPProfilerPort = '3811';
02004
02006 $wgDebugProfiling = false;
02008 $wgDebugFunctionEntry = 0;
02009
02010
02011
02012
02013
02014
02015
02016 $wgStatsMethod = 'cache';
02017
02021 $wgDisableCounters = false;
02022
02023 $wgDisableTextSearch = false;
02024 $wgDisableSearchContext = false;
02025
02026
02031 $wgAdvancedSearchHighlighting = false;
02032
02037 $wgSearchHighlightBoundaries = version_compare("5.1", PHP_VERSION, "<")? '[\p{Z}\p{P}\p{C}]'
02038 : '[ ,.;:!?~!@#$%\^&*\(\)+=\-\\|\[\]"\'<>\n\r\/{}]';
02039
02050 $wgCountTotalSearchHits = false;
02051
02061 $wgOpenSearchTemplate = false;
02062
02068 $wgEnableMWSuggest = false;
02069
02075 $wgEnableOpenSearchSuggest = true;
02076
02080 $wgSearchSuggestCacheExpiry = 1200;
02081
02088 $wgMWSuggestTemplate = false;
02089
02094 $wgDisableSearchUpdate = false;
02096 $wgEnableUploads = false;
02108 $wgShowEXIF = function_exists( 'exif_read_data' );
02109
02115 $wgRemoteUploads = false;
02116
02121 $wgDisableAnonTalk = false;
02125 $wgUseDumbLinkUpdate = false;
02126
02141 $wgAntiLockFlags = 0;
02142
02147 $wgDiff3 = '/usr/bin/diff3';
02148
02152 $wgDiff = '/usr/bin/diff';
02153
02160 $wgCompressRevisions = false;
02161
02166 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
02167
02169 $wgFileBlacklist = array(
02170 # HTML may contain cookie-stealing JavaScript and web bugs
02171 'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
02172 # PHP scripts may execute arbitrary code on the server
02173 'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
02174 # Other types that may be interpreted by some servers
02175 'shtml', 'jhtml', 'pl', 'py', 'cgi',
02176 # May contain harmful executables for Windows victims
02177 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
02178
02182 $wgMimeTypeBlacklist= array(
02183 # HTML may contain cookie-stealing JavaScript and web bugs
02184 'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
02185 # PHP scripts may execute arbitrary code on the server
02186 'application/x-php', 'text/x-php',
02187 # Other types that may be interpreted by some servers
02188 'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
02189 # Client-side hazards on Internet Explorer
02190 'text/scriptlet', 'application/x-msdownload',
02191 # Windows metafile, client-side vulnerability on some systems
02192 'application/x-msmetafile',
02193 # A ZIP file may be a valid Java archive containing an applet which exploits the
02194 # same-origin policy to steal cookies
02195 'application/zip',
02196 );
02197
02199 $wgCheckFileExtensions = true;
02200
02205 $wgStrictFileExtensions = true;
02206
02208 $wgUploadSizeWarning = false;
02209
02211 $wgPasswordSalt = true;
02212
02216 $wgNamespacesWithSubpages = array(
02217 NS_TALK => true,
02218 NS_USER => true,
02219 NS_USER_TALK => true,
02220 NS_PROJECT_TALK => true,
02221 NS_FILE_TALK => true,
02222 NS_MEDIAWIKI => true,
02223 NS_MEDIAWIKI_TALK => true,
02224 NS_TEMPLATE_TALK => true,
02225 NS_HELP_TALK => true,
02226 NS_CATEGORY_TALK => true
02227 );
02228
02234 $wgPreviewOnOpenNamespaces = array(
02235 NS_CATEGORY => true
02236 );
02237
02238 $wgNamespacesToBeSearchedDefault = array(
02239 NS_MAIN => true,
02240 );
02241
02248 $wgNamespacesToBeSearchedHelp = array(
02249 NS_PROJECT => true,
02250 NS_HELP => true,
02251 );
02252
02258 $wgSearchEverythingOnlyLoggedIn = false;
02259
02267 $wgSiteNotice = '';
02268
02269 #
02270 # Images settings
02271 #
02272
02277 $wgMediaHandlers = array(
02278 'image/jpeg' => 'BitmapHandler',
02279 'image/png' => 'BitmapHandler',
02280 'image/gif' => 'GIFHandler',
02281 'image/tiff' => 'TiffHandler',
02282 'image/x-ms-bmp' => 'BmpHandler',
02283 'image/x-bmp' => 'BmpHandler',
02284 'image/svg+xml' => 'SvgHandler',
02285 'image/svg' => 'SvgHandler',
02286 'image/vnd.djvu' => 'DjVuHandler',
02287 'image/x.djvu' => 'DjVuHandler',
02288 'image/x-djvu' => 'DjVuHandler',
02289 );
02290
02291
02300 $wgUseImageMagick = false;
02302 $wgImageMagickConvertCommand = '/usr/bin/convert';
02303
02305 $wgSharpenParameter = '0x0.4';
02306
02308 $wgSharpenReductionThreshold = 0.85;
02309
02314 $wgImageMagickTempDir = false;
02315
02324 #$wgCustomConvertCommand = "gm convert %s -resize %wx%h %d"
02325 $wgCustomConvertCommand = false;
02326
02327 # Scalable Vector Graphics (SVG) may be uploaded as images.
02328 # Since SVG support is not yet standard in browsers, it is
02329 # necessary to rasterize SVGs to PNG as a fallback format.
02330 #
02331 # An external program is required to perform this conversion:
02332 $wgSVGConverters = array(
02333 'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height\! $input PNG:$output',
02334 'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
02335 'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
02336 'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
02337 'rsvg' => '$path/rsvg -w$width -h$height $input $output',
02338 'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
02339 );
02341 $wgSVGConverter = 'ImageMagick';
02343 $wgSVGConverterPath = '';
02345 $wgSVGMaxSize = 2048;
02351 $wgMaxImageArea = 1.25e7;
02358 $wgMaxAnimatedGifArea = 1.0e6;
02368 $wgTiffThumbnailType = false;
02369
02376 $wgThumbnailEpoch = '20030516000000';
02377
02389 $wgIgnoreImageErrors = false;
02390
02398 $wgGenerateThumbnailOnParse = true;
02399
02403 $wgShowArchiveThumbnails = true;
02404
02406 $wgUseImageResize = true;
02407
02408
02410 if( !isset( $wgCommandLineMode ) ) {
02411 $wgCommandLineMode = false;
02412 }
02413
02415 $wgCommandLineDarkBg = false;
02416
02422 $wgMaintenanceScripts = array();
02423
02424 #
02425 # Recent changes settings
02426 #
02427
02429 $wgPutIPinRC = true;
02430
02436 $wgRCMaxAge = 13 * 7 * 24 * 3600;
02437
02443 $wgRCFilterByAge = false;
02444
02448 $wgRCLinkLimits = array( 50, 100, 250, 500 );
02449 $wgRCLinkDays = array( 1, 3, 7, 14, 30 );
02450
02455 $wgRC2UDPAddress = false;
02456
02460 $wgRC2UDPPort = false;
02461
02468 $wgRC2UDPPrefix = '';
02469
02474 $wgRC2UDPInterwikiPrefix = false;
02475
02480 $wgRC2UDPOmitBots = false;
02481
02487 $wgEnableNewpagesUserFilter = true;
02488
02489 #
02490 # Copyright and credits settings
02491 #
02492
02494 $wgEnableDublinCoreRdf = false;
02495 $wgEnableCreativeCommonsRdf = false;
02496
02500 $wgRightsPage = null;
02501 $wgRightsUrl = null;
02502 $wgRightsText = null;
02503 $wgRightsIcon = null;
02504
02508 $wgLicenseTerms = false;
02509
02511 $wgCopyrightIcon = null;
02512
02514 $wgUseCopyrightUpload = false;
02515
02518 $wgCheckCopyrightUpload = true;
02519
02527 $wgMaxCredits = 0;
02528
02531 $wgShowCreditsIfMax = true;
02532
02533
02534
02541 $wgCapitalLinks = true;
02542
02553 $wgCapitalLinkOverrides = array();
02554
02563 $wgImportSources = array();
02564
02572 $wgImportTargetNamespace = null;
02573
02579 $wgExportAllowHistory = true;
02580
02586 $wgExportMaxHistory = 0;
02587
02591 $wgExportAllowListContributors = false ;
02592
02604 $wgExportMaxLinkDepth = 0;
02605
02609 $wgExportFromNamespaces = false;
02610
02621 $wgSpamRegex = array();
02622
02624 $wgSummarySpamRegex = array();
02625
02637 $wgFilterCallback = false;
02638
02640 $wgGoToEdit = false;
02641
02646 $wgRawHtml = false;
02647
02662 $wgUseTidy = false;
02663 $wgAlwaysUseTidy = false;
02664 $wgTidyBin = 'tidy';
02665 $wgTidyConf = $IP.'/includes/tidy.conf';
02666 $wgTidyOpts = '';
02667 $wgTidyInternal = extension_loaded( 'tidy' );
02668
02673 $wgDebugTidy = false;
02674
02679 $wgValidateAllHtml = false;
02680
02682 $wgDefaultSkin = 'monobook';
02683
02688 $wgAllowUserSkin = true;
02689
02702 $wgHandheldStyle = false;
02703
02714 $wgHandheldForIPhone = false;
02715
02723 $wgDefaultUserOptions = array(
02724 'quickbar' => 1,
02725 'underline' => 2,
02726 'cols' => 80,
02727 'rows' => 25,
02728 'searchlimit' => 20,
02729 'contextlines' => 5,
02730 'contextchars' => 50,
02731 'disablesuggest' => 0,
02732 'skin' => false,
02733 'math' => 1,
02734 'usenewrc' => 0,
02735 'rcdays' => 7,
02736 'rclimit' => 50,
02737 'wllimit' => 250,
02738 'hideminor' => 0,
02739 'hidepatrolled' => 0,
02740 'newpageshidepatrolled' => 0,
02741 'highlightbroken' => 1,
02742 'stubthreshold' => 0,
02743 'previewontop' => 1,
02744 'previewonfirst' => 0,
02745 'editsection' => 1,
02746 'editsectiononrightclick' => 0,
02747 'editondblclick' => 0,
02748 'editwidth' => 0,
02749 'showtoc' => 1,
02750 'showtoolbar' => 1,
02751 'minordefault' => 0,
02752 'date' => 'default',
02753 'imagesize' => 2,
02754 'thumbsize' => 2,
02755 'rememberpassword' => 0,
02756 'nocache' => 0,
02757 'diffonly' => 0,
02758 'showhiddencats' => 0,
02759 'norollbackdiff' => 0,
02760 'enotifwatchlistpages' => 0,
02761 'enotifusertalkpages' => 1,
02762 'enotifminoredits' => 0,
02763 'enotifrevealaddr' => 0,
02764 'shownumberswatching' => 1,
02765 'fancysig' => 0,
02766 'externaleditor' => 0,
02767 'externaldiff' => 0,
02768 'forceeditsummary' => 0,
02769 'showjumplinks' => 1,
02770 'justify' => 0,
02771 'numberheadings' => 0,
02772 'uselivepreview' => 0,
02773 'watchlistdays' => 3.0,
02774 'extendwatchlist' => 0,
02775 'watchlisthideminor' => 0,
02776 'watchlisthidebots' => 0,
02777 'watchlisthideown' => 0,
02778 'watchlisthideanons' => 0,
02779 'watchlisthideliu' => 0,
02780 'watchlisthidepatrolled' => 0,
02781 'watchcreations' => 0,
02782 'watchdefault' => 0,
02783 'watchmoves' => 0,
02784 'watchdeletion' => 0,
02785 'noconvertlink' => 0,
02786 'gender' => 'unknown',
02787 'ccmeonemails' => 0,
02788 'disablemail' => 0,
02789 'editfont' => 'default',
02790 );
02791
02797 $wgAllowRealName = true;
02798
02800 $wgHiddenPrefs = array();
02801
02802
02803
02804
02805
02809 $wgExtensionFunctions = array();
02810
02815 $wgSkinExtensionFunctions = array();
02816
02832 $wgExtensionMessagesFiles = array();
02833
02838 $wgExtensionAliasesFiles = array();
02839
02852 $wgParserOutputHooks = array();
02853
02860 $wgValidSkinNames = array();
02861
02866 $wgSpecialPages = array();
02867
02871 $wgAutoloadClasses = array();
02872
02894 $wgExtensionCredits = array();
02895
02896
02897
02898
02904 $wgAllowUserJs = false;
02905
02911 $wgAllowUserCss = false;
02912
02914 $wgUseSiteJs = true;
02915
02917 $wgUseSiteCss = true;
02918
02924 $wgExtraRandompageSQL = false;
02925
02927 $wgAllowPageInfo = false;
02928
02930 $wgMaxTocLevel = 999;
02931
02933 $wgExternalDiffEngine = false;
02934
02936 $wgUseRCPatrol = true;
02937
02939 $wgUseNPPatrol = true;
02940
02942 $wgFeed = true;
02943
02946 $wgFeedLimit = 50;
02947
02955 $wgFeedCacheTimeout = 60;
02956
02959 $wgFeedDiffCutoff = 32768;
02960
02967 $wgOverrideSiteFeed = array();
02968
02973 $wgAdvertisedFeedTypes = array( 'atom' );
02974
02986 #$wgExtraNamespaces =
02987 # array(100 => "Hilfe",
02988 # 101 => "Hilfe_Diskussion",
02989 # 102 => "Aide",
02990 # 103 => "Discussion_Aide"
02991 # );
02992 $wgExtraNamespaces = null;
02993
03008 $wgNamespaceAliases = array();
03009
03018 $wgImageLimits = array (
03019 array(320,240),
03020 array(640,480),
03021 array(800,600),
03022 array(1024,768),
03023 array(1280,1024),
03024 array(10000,10000) );
03025
03031 $wgThumbLimits = array(
03032 120,
03033 150,
03034 180,
03035 200,
03036 250,
03037 300
03038 );
03039
03045 $wgThumbUpright = 0.75;
03046
03051 $wgCategoryMagicGallery = true;
03052
03056 $wgCategoryPagingLimit = 200;
03057
03062 $wgCategoryPrefixedDefaultSortkey = true;
03063
03068 $wgBrowserBlackList = array(
03079 '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
03080 '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
03081 '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
03082
03095 '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
03096
03101 '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
03102 );
03103
03115 # $wgLocaltimezone = 'GMT';
03116 # $wgLocaltimezone = 'PST8PDT';
03117 # $wgLocaltimezone = 'Europe/Sweden';
03118 # $wgLocaltimezone = 'CET';
03119 $wgLocaltimezone = null;
03120
03140 $wgLocalTZoffset = null;
03141
03142
03158 $wgForceUIMsgAsContentMsg = array();
03159
03160
03164 $wgAuth = null;
03165
03175 $wgHooks = array();
03176
03183 $wgLogTypes = array( '',
03184 'block',
03185 'protect',
03186 'rights',
03187 'delete',
03188 'upload',
03189 'move',
03190 'import',
03191 'patrol',
03192 'merge',
03193 'suppress',
03194 );
03195
03203 $wgLogRestrictions = array(
03204 'suppress' => 'suppressionlog'
03205 );
03206
03227 $wgFilterLogTypes = array(
03228 'patrol' => true
03229 );
03230
03237 $wgLogNames = array(
03238 '' => 'all-logs-page',
03239 'block' => 'blocklogpage',
03240 'protect' => 'protectlogpage',
03241 'rights' => 'rightslog',
03242 'delete' => 'dellogpage',
03243 'upload' => 'uploadlogpage',
03244 'move' => 'movelogpage',
03245 'import' => 'importlogpage',
03246 'patrol' => 'patrol-log-page',
03247 'merge' => 'mergelog',
03248 'suppress' => 'suppressionlog',
03249 );
03250
03257 $wgLogHeaders = array(
03258 '' => 'alllogstext',
03259 'block' => 'blocklogtext',
03260 'protect' => 'protectlogtext',
03261 'rights' => 'rightslogtext',
03262 'delete' => 'dellogpagetext',
03263 'upload' => 'uploadlogpagetext',
03264 'move' => 'movelogpagetext',
03265 'import' => 'importlogpagetext',
03266 'patrol' => 'patrol-log-header',
03267 'merge' => 'mergelogpagetext',
03268 'suppress' => 'suppressionlogtext',
03269 );
03270
03277 $wgLogActions = array(
03278 'block/block' => 'blocklogentry',
03279 'block/unblock' => 'unblocklogentry',
03280 'block/reblock' => 'reblock-logentry',
03281 'protect/protect' => 'protectedarticle',
03282 'protect/modify' => 'modifiedarticleprotection',
03283 'protect/unprotect' => 'unprotectedarticle',
03284 'protect/move_prot' => 'movedarticleprotection',
03285 'rights/rights' => 'rightslogentry',
03286 'delete/delete' => 'deletedarticle',
03287 'delete/restore' => 'undeletedarticle',
03288 'delete/revision' => 'revdelete-logentry',
03289 'delete/event' => 'logdelete-logentry',
03290 'upload/upload' => 'uploadedimage',
03291 'upload/overwrite' => 'overwroteimage',
03292 'upload/revert' => 'uploadedimage',
03293 'move/move' => '1movedto2',
03294 'move/move_redir' => '1movedto2_redir',
03295 'import/upload' => 'import-logentry-upload',
03296 'import/interwiki' => 'import-logentry-interwiki',
03297 'merge/merge' => 'pagemerge-logentry',
03298 'suppress/revision' => 'revdelete-logentry',
03299 'suppress/file' => 'revdelete-logentry',
03300 'suppress/event' => 'logdelete-logentry',
03301 'suppress/delete' => 'suppressedarticle',
03302 'suppress/block' => 'blocklogentry',
03303 'suppress/reblock' => 'reblock-logentry',
03304 );
03305
03310 $wgLogActionsHandlers = array();
03311
03315 $wgNewUserLog = true;
03316
03321 $wgSpecialPageGroups = array(
03322 'DoubleRedirects' => 'maintenance',
03323 'BrokenRedirects' => 'maintenance',
03324 'Lonelypages' => 'maintenance',
03325 'Uncategorizedpages' => 'maintenance',
03326 'Uncategorizedcategories' => 'maintenance',
03327 'Uncategorizedimages' => 'maintenance',
03328 'Uncategorizedtemplates' => 'maintenance',
03329 'Unusedcategories' => 'maintenance',
03330 'Unusedimages' => 'maintenance',
03331 'Protectedpages' => 'maintenance',
03332 'Protectedtitles' => 'maintenance',
03333 'Unusedtemplates' => 'maintenance',
03334 'Withoutinterwiki' => 'maintenance',
03335 'Longpages' => 'maintenance',
03336 'Shortpages' => 'maintenance',
03337 'Ancientpages' => 'maintenance',
03338 'Deadendpages' => 'maintenance',
03339 'Wantedpages' => 'maintenance',
03340 'Wantedcategories' => 'maintenance',
03341 'Wantedfiles' => 'maintenance',
03342 'Wantedtemplates' => 'maintenance',
03343 'Unwatchedpages' => 'maintenance',
03344 'Fewestrevisions' => 'maintenance',
03345
03346 'Userlogin' => 'login',
03347 'Userlogout' => 'login',
03348 'CreateAccount' => 'login',
03349
03350 'Recentchanges' => 'changes',
03351 'Recentchangeslinked' => 'changes',
03352 'Watchlist' => 'changes',
03353 'Newimages' => 'changes',
03354 'Newpages' => 'changes',
03355 'Log' => 'changes',
03356 'Tags' => 'changes',
03357
03358 'Upload' => 'media',
03359 'Listfiles' => 'media',
03360 'MIMEsearch' => 'media',
03361 'FileDuplicateSearch' => 'media',
03362 'Filepath' => 'media',
03363
03364 'Listusers' => 'users',
03365 'Activeusers' => 'users',
03366 'Listgrouprights' => 'users',
03367 'Ipblocklist' => 'users',
03368 'Contributions' => 'users',
03369 'Emailuser' => 'users',
03370 'Listadmins' => 'users',
03371 'Listbots' => 'users',
03372 'Userrights' => 'users',
03373 'Blockip' => 'users',
03374 'Preferences' => 'users',
03375 'Resetpass' => 'users',
03376 'DeletedContributions' => 'users',
03377
03378 'Mostlinked' => 'highuse',
03379 'Mostlinkedcategories' => 'highuse',
03380 'Mostlinkedtemplates' => 'highuse',
03381 'Mostcategories' => 'highuse',
03382 'Mostimages' => 'highuse',
03383 'Mostrevisions' => 'highuse',
03384
03385 'Allpages' => 'pages',
03386 'Prefixindex' => 'pages',
03387 'Listredirects' => 'pages',
03388 'Categories' => 'pages',
03389 'Disambiguations' => 'pages',
03390
03391 'Randompage' => 'redirects',
03392 'Randomredirect' => 'redirects',
03393 'Mypage' => 'redirects',
03394 'Mytalk' => 'redirects',
03395 'Mycontributions' => 'redirects',
03396 'Search' => 'redirects',
03397 'LinkSearch' => 'redirects',
03398
03399 'Movepage' => 'pagetools',
03400 'MergeHistory' => 'pagetools',
03401 'Revisiondelete' => 'pagetools',
03402 'Undelete' => 'pagetools',
03403 'Export' => 'pagetools',
03404 'Import' => 'pagetools',
03405 'Whatlinkshere' => 'pagetools',
03406
03407 'Statistics' => 'wiki',
03408 'Version' => 'wiki',
03409 'Lockdb' => 'wiki',
03410 'Unlockdb' => 'wiki',
03411 'Allmessages' => 'wiki',
03412 'Popularpages' => 'wiki',
03413
03414 'Specialpages' => 'other',
03415 'Blockme' => 'other',
03416 'Booksources' => 'other',
03417 );
03418
03423 $wgDisableInternalSearch = false;
03424
03436 $wgSearchForwardUrl = null;
03437
03441 $wgExternalLinkTarget = false;
03442
03449 $wgNoFollowLinks = true;
03450
03455 $wgNoFollowNsExceptions = array();
03456
03468 $wgNoFollowDomainExceptions = array();
03469
03475 $wgDefaultRobotPolicy = 'index,follow';
03476
03489 $wgNamespaceRobotPolicies = array();
03490
03508 $wgArticleRobotPolicies = array();
03509
03517 $wgExemptFromUserRobotsControl = null;
03518
03523 $wgMinimalPasswordLength = 1;
03524
03529 $wgUseExternalEditor = true;
03530
03533 $wgSortSpecialPages = true;
03534
03540 $wgSkipSkin = '';
03541 $wgSkipSkins = array(); # More of the same
03542
03546 $wgDisabledActions = array();
03547
03552 $wgDisableHardRedirects = false;
03553
03559 $wgEnableTooltipsAndAccesskeys = true;
03560
03565 $wgEnableDnsBlacklist = false;
03566
03571 $wgEnableSorbs = false;
03572
03577 $wgDnsBlacklistUrls = array( 'http.dnsbl.sorbs.net.' );
03578
03583 $wgSorbsUrl = array();
03584
03589 $wgProxyWhitelist = array();
03590
03600 $wgRateLimits = array(
03601 'edit' => array(
03602 'anon' => null,
03603 'user' => null,
03604 'newbie' => null,
03605 'ip' => null,
03606 'subnet' => null,
03607 ),
03608 'move' => array(
03609 'user' => null,
03610 'newbie' => null,
03611 'ip' => null,
03612 'subnet' => null,
03613 ),
03614 'mailpassword' => array(
03615 'anon' => null,
03616 ),
03617 'emailuser' => array(
03618 'user' => null,
03619 ),
03620 );
03621
03625 $wgRateLimitLog = null;
03626
03636 $wgRateLimitsExcludedGroups = array();
03637
03642 $wgRateLimitsExcludedIPs = array();
03643
03648 $wgCountCategorizedImagesAsUsed = false;
03649
03659 $wgExternalStores = false;
03660
03666 $wgExternalServers = array();
03667
03678 $wgDefaultExternalStore = false;
03679
03686 $wgRevisionCacheExpiry = 0;
03687
03698 $wgTrustedMediaFormats= array(
03699 MEDIATYPE_BITMAP,
03700 MEDIATYPE_AUDIO,
03701 MEDIATYPE_VIDEO,
03702 "image/svg+xml",
03703 "application/pdf",
03704 #"application/x-shockwave-flash",
03705 );
03706
03710 $wgAllowSpecialInclusion = true;
03711
03715 $wgHTTPTimeout = 25;
03716
03720 $wgAsyncHTTPTimeout = 25;
03721
03725 $wgHTTPProxy = false;
03726
03730 $wgEnableScaryTranscluding = false;
03734 $wgTranscludeCacheExpiry = 3600;
03735
03740 $wgUseTrackbacks = false;
03741
03745 $wgAllowCategorizedRecentChanges = false ;
03746
03753 $wgJobRunRate = 1;
03754
03758 $wgUpdateRowsPerJob = 500;
03759
03763 $wgUpdateRowsPerQuery = 100;
03764
03768 $wgUseAjax = true;
03769
03774 $wgAjaxExportList = array( 'wfAjaxGetThumbnailUrl', 'wfAjaxGetFileUrl' );
03775
03781 $wgAjaxWatch = true;
03782
03786 $wgAjaxUploadDestCheck = true;
03787
03791 $wgAjaxLicensePreview = true;
03792
03796 $wgAllowDisplayTitle = true;
03797
03801 $wgRestrictDisplayTitle = true;
03802
03807 $wgReservedUsernames = array(
03808 'MediaWiki default',
03809 'Conversion script',
03810 'Maintenance script',
03811 'Template namespace initialisation script',
03812 'msg:double-redirect-fixer',
03813 );
03814
03822 $wgAllowTitlesInSVG = false;
03823
03830 $wgContentNamespaces = array( NS_MAIN );
03831
03835 $wgMaxShellMemory = 102400;
03836
03841 $wgMaxShellFileSize = 102400;
03842
03846 $wgMaxShellTime = 180;
03847
03851 $wgPhpCli = '/usr/bin/php';
03852
03858 # $wgDjvuDump = 'djvudump';
03859 $wgDjvuDump = null;
03860
03865 # $wgDjvuRenderer = 'ddjvu';
03866 $wgDjvuRenderer = null;
03867
03872 # $wgDjvuTxt = 'djvutxt';
03873 $wgDjvuTxt = null;
03874
03884 # $wgDjvuToXML = 'djvutoxml';
03885 $wgDjvuToXML = null;
03886
03887
03893 $wgDjvuPostProcessor = 'pnmtojpeg';
03897 $wgDjvuOutputExtension = 'jpg';
03898
03905 $wgEnableAPI = true;
03906
03912 $wgEnableWriteAPI = true;
03913
03919 $wgAPIModules = array();
03920 $wgAPIMetaModules = array();
03921 $wgAPIPropModules = array();
03922 $wgAPIListModules = array();
03923
03928 $wgAPIMaxDBRows = 5000;
03929
03934 $wgAPIMaxResultSize = 8388608;
03935
03940 $wgAPIMaxUncachedDiffs = 1;
03941
03946 $wgAPIRequestLog = false;
03947
03952 $wgAPICacheHelp = true;
03953
03958 $wgAPICacheHelpTimeout = 60*60;
03959
03969 $wgParserTestFiles = array(
03970 "$IP/maintenance/parserTests.txt",
03971 );
03972
03986 $wgParserTestRemote = false;
03987
03992 $wgBreakFrames = false;
03993
04013 $wgEditPageFrameOptions = 'DENY';
04014
04019 $wgDisableQueryPageUpdate = false;
04020
04024 $wgDisableOutputCompression = false;
04025
04031 $wgSlaveLagWarning = 10;
04032 $wgSlaveLagCritical = 30;
04033
04055 $wgParserConf = array(
04056 'class' => 'Parser',
04057 #'preprocessorClass' => 'Preprocessor_Hash',
04058 );
04059
04064 $wgLinkHolderBatchSize = 1000;
04065
04070 $wgRegisterInternalExternals = false;
04071
04079 $wgExceptionHooks = array();
04080
04088 $wgPagePropLinkInvalidations = array(
04089 'hiddencat' => 'categorylinks',
04090 );
04091
04096 $wgMaxRedirectLinksRetrieved = 500;
04097
04102 $wgExpensiveParserFunctionLimit = 100;
04103
04107 $wgMaximumMovedPages = 100;
04108
04113 $wgFixDoubleRedirects = false;
04114
04120 $wgMaxRedirects = 1;
04121
04132 $wgInvalidRedirectTargets = array( 'Filepath', 'Mypage', 'Mytalk' );
04133
04139 $wgSitemapNamespaces = false;
04140
04141
04147 $wgUseAutomaticEditSummaries = true;
04148
04153 $wgPasswordAttemptThrottle = array( 'count' => 5, 'seconds' => 300 );
04154
04158 $wgEdititis = false;
04159
04165 $wgUniversalEditButton = true;
04166
04176 $wgExperimentalHtmlIds = false;
04177
04183 $wgUseTwoButtonsSearchForm = true;
04184
04190 $wgVectorUseSimpleSearch = false;
04191
04197 $wgVectorUseIconWatch = false;
04198
04205 $wgVectorExtraStyles = null;
04206
04210 $wgPreprocessorCacheThreshold = 1000;
04211
04216 $wgUseTagFilter = true;
04217
04222 $wgRedirectOnLogin = null;
04223
04229 $wgInvalidUsernameCharacters = '@';
04230
04240 $wgUserrightsInterwikiDelimiter = '@';
04241
04256 $wgPoolCounterConf = null;
04257
04269 $wgExternalAuthType = null;
04270
04278 $wgExternalAuthConfig = array();
04279
04288 $wgAutocreatePolicy = 'login';
04289
04313 $wgAllowPrefChange = array();
04314
04315
04335 $wgCrossSiteAJAXdomains = array();
04336
04343 $wgCrossSiteAJAXdomainExceptions = array();
04344
04348 $wgMemoryLimit = "50M";
04349
04353 $wgUploadMaintenance = false;
04354
04358 $wgOldChangeTagsIndex = false;
04359