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.15.1';
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
00151 $wgStyleDirectory = false;
00152 $wgStyleSheetPath = &$wgStylePath;
00153 $wgArticlePath = false;
00154 $wgVariantArticlePath = false;
00155 $wgUploadPath = false;
00156 $wgUploadDirectory = false;
00157 $wgHashedUploadDirectory = true;
00158 $wgLogo = false;
00159 $wgFavicon = '/favicon.ico';
00160 $wgAppleTouchIcon = false;
00161 $wgMathPath = false;
00162 $wgMathDirectory = false;
00163 $wgTmpDirectory = false;
00164 $wgUploadBaseUrl = "";
00170 $wgDirectoryMode = 0777;
00171
00179 $wgFileStore = array();
00180 $wgFileStore['deleted']['directory'] = false;
00181 $wgFileStore['deleted']['url'] = null;
00182 $wgFileStore['deleted']['hash'] = 3;
00183
00235 $wgLocalFileRepo = false;
00236 $wgForeignFileRepos = array();
00265 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
00266
00267
00271 $wgUrlProtocols = array(
00272 'http://',
00273 'https://',
00274 'ftp://',
00275 'irc://',
00276 'gopher://',
00277 'telnet://',
00278 'nntp://',
00279 'worldwind://',
00280 'mailto:',
00281 'news:',
00282 'svn://',
00283 );
00284
00288 $wgAntivirus= NULL;
00289
00314 $wgAntivirusSetup = array(
00315
00316 #setup for clamav
00317 'clamav' => array (
00318 'command' => "clamscan --no-summary ",
00319
00320 'codemap' => array (
00321 "0" => AV_NO_VIRUS, # no virus
00322 "1" => AV_VIRUS_FOUND, # virus found
00323 "52" => AV_SCAN_ABORTED, # unsupported file format (probably imune)
00324 "*" => AV_SCAN_FAILED, # else scan failed
00325 ),
00326
00327 'messagepattern' => '/.*?:(.*)/sim',
00328 ),
00329
00330 #setup for f-prot
00331 'f-prot' => array (
00332 'command' => "f-prot ",
00333
00334 'codemap' => array (
00335 "0" => AV_NO_VIRUS, # no virus
00336 "3" => AV_VIRUS_FOUND, # virus found
00337 "6" => AV_VIRUS_FOUND, # virus found
00338 "*" => AV_SCAN_FAILED, # else scan failed
00339 ),
00340
00341 'messagepattern' => '/.*?Infection:(.*)$/m',
00342 ),
00343 );
00344
00345
00347 $wgAntivirusRequired= true;
00348
00350 $wgVerifyMimeType= true;
00351
00353 $wgMimeTypeFile= "includes/mime.types";
00354 #$wgMimeTypeFile= "/etc/mime.types";
00355 #$wgMimeTypeFile= NULL; #use built-in defaults only.
00356
00358 $wgMimeInfoFile= "includes/mime.info";
00359 #$wgMimeInfoFile= NULL; #use built-in defaults only.
00360
00365 $wgLoadFileinfoExtension= false;
00366
00372 $wgMimeDetectorCommand= NULL; # use internal mime_content_type function, available since php 4.3.0
00373 #$wgMimeDetectorCommand= "file -bi"; #use external mime detector (Linux)
00374
00379 $wgTrivialMimeDetection= false;
00380
00385 $wgXMLMimeTypes = array(
00386 'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
00387 'svg' => 'image/svg+xml',
00388 'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
00389 'http://www.w3.org/1999/xhtml:html' => 'text/html',
00390 'html' => 'text/html',
00391 );
00392
00401 $wgActionPaths = array();
00402
00416 $wgUseSharedUploads = false;
00418 $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
00420 $wgFetchCommonsDescriptions = false;
00422 $wgSharedUploadDirectory = "/var/www/wiki3/images";
00424 $wgSharedUploadDBname = false;
00426 $wgSharedUploadDBprefix = '';
00428 $wgCacheSharedUploads = true;
00430 $wgAllowCopyUploads = false;
00436 $wgMaxUploadSize = 1024*1024*100; # 100MB
00437
00444 $wgUploadNavigationUrl = false;
00445
00454 $wgThumbnailScriptPath = false;
00455 $wgSharedThumbnailScriptPath = false;
00456
00462 $wgHashedSharedUploadDirectory = true;
00463
00472 $wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/Image:";
00473
00474 #
00475 # Email settings
00476 #
00477
00482 $wgEmergencyContact = 'wikiadmin@' . $wgServerName;
00483
00489 $wgPasswordSender = 'MediaWiki Mail <apache@' . $wgServerName . '>';
00490
00496 #$wgNoReplyAddress = $wgEmergencyContact;
00497 $wgNoReplyAddress = 'reply@not.possible';
00498
00504 $wgEnableEmail = true;
00505
00510 $wgEnableUserEmail = true;
00511
00520 $wgUserEmailUseReplyTo = false;
00521
00526 $wgPasswordReminderResendTime = 24;
00527
00531 $wgNewPasswordExpiry = 3600 * 24 * 7;
00532
00546 $wgSMTP = false;
00547
00548
00553 $wgDBserver = 'localhost';
00555 $wgDBport = 5432;
00557 $wgDBname = 'my_wiki';
00559 $wgDBconnection = '';
00561 $wgDBuser = 'wikiuser';
00563 $wgDBpassword = '';
00565 $wgDBtype = 'mysql';
00566
00572 $wgSearchType = null;
00573
00575 $wgDBprefix = '';
00577 $wgDBTableOptions = 'ENGINE=InnoDB';
00578
00580 $wgDBmwschema = 'mediawiki';
00582 $wgDBts2schema = 'public';
00583
00585 $wgSQLiteDataDir = '';
00586
00591 $wgSQLiteDataDirMode = 0700;
00592
00598 $wgAllDBsAreLocalhost = false;
00599
00604 $wgCheckDBSchema = true;
00605
00606
00619 $wgSharedDB = null;
00620 $wgSharedPrefix = false; # Defaults to $wgDBprefix
00621 $wgSharedTables = array( 'user' );
00622
00664 $wgDBservers = false;
00665
00676 $wgLBFactoryConf = array( 'class' => 'LBFactory_Simple' );
00677
00679 $wgMasterWaitTimeout = 10;
00680
00682 $wgDBerrorLog = false;
00683
00685 $wgDBClusterTimeout = 10;
00686
00691 $wgDBAvgStatusPoll = 2000;
00692
00694 $wgDBtransactions = false;
00697 $wgDBmysql4 = true;
00698
00715 $wgDBmysql5 = false;
00716
00722 $wgLocalDatabases = array();
00723
00728 $wgMainCacheType = CACHE_NONE;
00729 $wgMessageCacheType = CACHE_ANYTHING;
00730 $wgParserCacheType = CACHE_ANYTHING;
00733 $wgParserCacheExpireTime = 86400;
00734
00735 $wgSessionsInMemcached = false;
00736
00741 $wgUseMemCached = false;
00742 $wgMemCachedDebug = false;
00743 $wgMemCachedServers = array( '127.0.0.1:11000' );
00744 $wgMemCachedPersistent = false;
00750 $wgLocalMessageCache = false;
00756 $wgLocalMessageCacheSerialized = true;
00757
00758 # Language settings
00759 #
00760
00761 $wgLanguageCode = 'en';
00762
00767 $wgGrammarForms = array();
00768 #$wgGrammarForms['en']['genitive']['car'] = 'car\'s';
00769
00771 $wgInterwikiMagic = true;
00772
00774 $wgHideInterlanguageLinks = false;
00775
00777 $wgExtraLanguageNames = array();
00778
00780 $wgInputEncoding = 'UTF-8';
00781 $wgOutputEncoding = 'UTF-8';
00782 $wgEditEncoding = '';
00783
00789 $wgShellLocale = 'en_US.utf8';
00790
00801 $wgLegacyEncoding = false;
00802
00818 $wgLegacySchemaConversion = false;
00819
00820 $wgMimeType = 'text/html';
00821 $wgJsMimeType = 'text/javascript';
00822 $wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
00823 $wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
00824 $wgXhtmlDefaultNamespace = 'http://www.w3.org/1999/xhtml';
00825
00834 $wgXhtmlNamespaces = array();
00835
00838 $wgUseDynamicDates = false;
00842 $wgAmericanDates = false;
00847 $wgTranslateNumerals = true;
00848
00853 $wgUseDatabaseMessages = true;
00854
00858 $wgMsgCacheExpiry = 86400;
00859
00863 $wgMaxMsgCacheEntrySize = 10000;
00864
00871 $wgEnableSerializedMessages = true;
00872
00877 $wgCheckSerialized = true;
00878
00880 $wgDisableLangConversion = false;
00881
00883 $wgDisableTitleConversion = false;
00884
00886 $wgDefaultLanguageVariant = false;
00887
00893 $wgLoginLanguageSelector = false;
00894
00900 $wgUseZhdaemon = false;
00901 $wgZhdaemonHost="localhost";
00902 $wgZhdaemonPort=2004;
00903
00904
00905 # Miscellaneous configuration settings
00906 #
00907
00908 $wgLocalInterwiki = 'w';
00909 $wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
00910
00927 $wgInterwikiCache = false;
00928 $wgInterwikiScopes = 3;
00929 $wgInterwikiFallbackSite = 'wiki';
00930
00943 $wgRedirectSources = false;
00944
00945
00946 $wgShowIPinHeader = true; # For non-logged in users
00947 $wgMaxSigChars = 255; # Maximum number of Unicode characters in signature
00948 $wgMaxArticleSize = 2048; # Maximum article size in kilobytes
00949 # Maximum number of bytes in username. You want to run the maintenance
00950 # script ./maintenancecheckUsernames.php once you have changed this value
00951 $wgMaxNameChars = 255;
00952
00953 $wgMaxPPNodeCount = 1000000; # A complexity limit on template expansion
00954
00961 $wgMaxTemplateDepth = 40;
00962 $wgMaxPPExpandDepth = 40;
00963
00967 $wgCleanSignatures = true;
00968
00969 $wgExtraSubtitle = '';
00970 $wgSiteSupportPage = ''; # A page where you users can receive donations
00971
00980 $wgReadOnly = null;
00981
00982
00983
00984
00985
00986
00987 $wgReadOnlyFile = false;
00988
00994 $wgDebugLogFile = '';
00995
00999 $wgDebugLogPrefix = '';
01000
01006 $wgDebugRedirects = false;
01007
01013 $wgDebugRawPage = false;
01014
01023 $wgDebugComments = false;
01024
01026 $wgLogQueries = false;
01027
01031 $wgDebugDumpSql = false;
01032
01039 $wgDebugLogGroups = array();
01040
01046 $wgShowDebug = false;
01047
01051 $wgSpecialVersionShowHooks = false;
01052
01058 $wgShowSQLErrors = false;
01059
01065 $wgColorErrors = true;
01066
01073 $wgShowExceptionDetails = false;
01074
01078 $wgShowHostnames = false;
01079
01083 $wgUseCategoryBrowser = false;
01084
01094 $wgEnableParserCache = true;
01095
01100 $wgRenderHashAppend = '';
01101
01111 $wgEnableSidebarCache = false;
01112
01116 $wgSidebarCacheExpiry = 86400;
01117
01128 $wgUseCommaCount = false;
01129
01137 $wgHitcounterUpdateFreq = 1;
01138
01139 # Basic user rights and block settings
01140 $wgSysopUserBans = true; # Allow sysops to ban logged-in users
01141 $wgSysopRangeBans = true; # Allow sysops to ban IP ranges
01142 $wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
01143 $wgBlockAllowsUTEdit = false; # Default setting for option on block form to allow self talkpage editing whilst blocked
01144 $wgSysopEmailBans = true; # Allow sysops to ban users from accessing Emailuser
01145
01146 # Pages anonymous user may see as an array, e.g.:
01147 # array ( "Main Page", "Wikipedia:Help");
01148 # Special:Userlogin and Special:Resetpass are always whitelisted.
01149 # NOTE: This will only work if $wgGroupPermissions['*']['read']
01150 # is false -- see below. Otherwise, ALL pages are accessible,
01151 # regardless of this setting.
01152 # Also note that this will only protect _pages in the wiki_.
01153 # Uploaded files will remain readable. Make your upload
01154 # directory name unguessable, or use .htaccess to protect it.
01155 $wgWhitelistRead = false;
01156
01161 $wgEmailConfirmToEdit=false;
01162
01180 $wgGroupPermissions = array();
01181
01182
01183 $wgGroupPermissions['*']['createaccount'] = true;
01184 $wgGroupPermissions['*']['read'] = true;
01185 $wgGroupPermissions['*']['edit'] = true;
01186 $wgGroupPermissions['*']['createpage'] = true;
01187 $wgGroupPermissions['*']['createtalk'] = true;
01188 $wgGroupPermissions['*']['writeapi'] = true;
01189
01190
01191 $wgGroupPermissions['user']['move'] = true;
01192 $wgGroupPermissions['user']['move-subpages'] = true;
01193 $wgGroupPermissions['user']['move-rootuserpages'] = true;
01194
01195 $wgGroupPermissions['user']['read'] = true;
01196 $wgGroupPermissions['user']['edit'] = true;
01197 $wgGroupPermissions['user']['createpage'] = true;
01198 $wgGroupPermissions['user']['createtalk'] = true;
01199 $wgGroupPermissions['user']['writeapi'] = true;
01200 $wgGroupPermissions['user']['upload'] = true;
01201 $wgGroupPermissions['user']['reupload'] = true;
01202 $wgGroupPermissions['user']['reupload-shared'] = true;
01203 $wgGroupPermissions['user']['minoredit'] = true;
01204 $wgGroupPermissions['user']['purge'] = true;
01205
01206
01207 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
01208
01209
01210
01211 $wgGroupPermissions['bot']['bot'] = true;
01212 $wgGroupPermissions['bot']['autoconfirmed'] = true;
01213 $wgGroupPermissions['bot']['nominornewtalk'] = true;
01214 $wgGroupPermissions['bot']['autopatrol'] = true;
01215 $wgGroupPermissions['bot']['suppressredirect'] = true;
01216 $wgGroupPermissions['bot']['apihighlimits'] = true;
01217 $wgGroupPermissions['bot']['writeapi'] = true;
01218 #$wgGroupPermissions['bot']['editprotected'] = true; // can edit all protected pages without cascade protection enabled
01219
01220
01221 $wgGroupPermissions['sysop']['block'] = true;
01222 $wgGroupPermissions['sysop']['createaccount'] = true;
01223 $wgGroupPermissions['sysop']['delete'] = true;
01224 $wgGroupPermissions['sysop']['bigdelete'] = true;
01225 $wgGroupPermissions['sysop']['deletedhistory'] = true;
01226 $wgGroupPermissions['sysop']['undelete'] = true;
01227 $wgGroupPermissions['sysop']['editinterface'] = true;
01228 $wgGroupPermissions['sysop']['editusercssjs'] = true;
01229 $wgGroupPermissions['sysop']['import'] = true;
01230 $wgGroupPermissions['sysop']['importupload'] = true;
01231 $wgGroupPermissions['sysop']['move'] = true;
01232 $wgGroupPermissions['sysop']['move-subpages'] = true;
01233 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
01234 $wgGroupPermissions['sysop']['patrol'] = true;
01235 $wgGroupPermissions['sysop']['autopatrol'] = true;
01236 $wgGroupPermissions['sysop']['protect'] = true;
01237 $wgGroupPermissions['sysop']['proxyunbannable'] = true;
01238 $wgGroupPermissions['sysop']['rollback'] = true;
01239 $wgGroupPermissions['sysop']['trackback'] = true;
01240 $wgGroupPermissions['sysop']['upload'] = true;
01241 $wgGroupPermissions['sysop']['reupload'] = true;
01242 $wgGroupPermissions['sysop']['reupload-shared'] = true;
01243 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
01244 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
01245 $wgGroupPermissions['sysop']['upload_by_url'] = true;
01246 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
01247 $wgGroupPermissions['sysop']['blockemail'] = true;
01248 $wgGroupPermissions['sysop']['markbotedits'] = true;
01249 $wgGroupPermissions['sysop']['apihighlimits'] = true;
01250 $wgGroupPermissions['sysop']['browsearchive'] = true;
01251 $wgGroupPermissions['sysop']['noratelimit'] = true;
01252 $wgGroupPermissions['sysop']['movefile'] = true;
01253 #$wgGroupPermissions['sysop']['mergehistory'] = true;
01254
01255
01256 $wgGroupPermissions['bureaucrat']['userrights'] = true;
01257 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
01258
01259 #$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
01260
01261 #$wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
01262
01263 #$wgGroupPermissions['sysop']['deleterevision'] = true;
01264
01265 #$wgGroupPermissions['suppress']['hideuser'] = true;
01266
01267 #$wgGroupPermissions['suppress']['suppressrevision'] = true;
01268
01269 #$wgGroupPermissions['suppress']['suppressionlog'] = true;
01270
01277 # $wgGroupPermissions['developer']['siteadmin'] = true;
01278
01279
01283 $wgImplicitGroups = array( '*', 'user', 'autoconfirmed' );
01284
01303 $wgGroupsAddToSelf = array();
01304 $wgGroupsRemoveFromSelf = array();
01305
01311 $wgRestrictionTypes = array( 'edit', 'move' );
01312
01323 $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' );
01324
01332 $wgNamespaceProtection = array();
01333
01340 $wgNonincludableNamespaces = array();
01341
01353 $wgAutoConfirmAge = 0;
01354
01355
01356
01357 # Number of edits an account requires before it is autoconfirmed
01358 # Passing both this AND the time requirement is needed
01359 $wgAutoConfirmCount = 0;
01360
01361
01380 $wgAutopromote = array(
01381 'autoconfirmed' => array( '&',
01382 array( APCOND_EDITCOUNT, &$wgAutoConfirmCount ),
01383 array( APCOND_AGE, &$wgAutoConfirmAge ),
01384 ),
01385 );
01386
01400 $wgAddGroups = array();
01401 $wgRemoveGroups = array();
01402
01407 $wgAvailableRights = array();
01408
01413 $wgDeleteRevisionsLimit = 0;
01414
01420 $wgActiveUserEditCount = 30;
01421 $wgActiveUserDays = 30;
01422
01423 # Proxy scanner settings
01424 #
01425
01435 $wgBlockOpenProxies = false;
01437 $wgProxyPorts = array( 80, 81, 1080, 3128, 6588, 8000, 8080, 8888, 65506 );
01439 $wgProxyScriptPath = "$IP/includes/proxy_check.php";
01441 $wgProxyMemcExpiry = 86400;
01443 $wgSecretKey = false;
01445 $wgProxyList = array();
01447 $wgProxyKey = false;
01448
01451 $wgAccountCreationThrottle = 0;
01452
01453 # Client-side caching:
01454
01456 $wgCachePages = true;
01457
01464 $wgCacheEpoch = '20030516000000';
01465
01472 $wgStyleVersion = '207';
01473
01474
01475 # Server-side caching:
01476
01482 $wgUseFileCache = false;
01483
01485 $wgFileCacheDirectory = false;
01486
01495 $wgUseGzip = false;
01496
01498 $wgUseETag = false;
01499
01500 # Email notification settings
01501 #
01502
01504 $wgPasswordSender = $wgEmergencyContact;
01505
01506 # true: from page editor if s/he opted-in
01507 # false: Enotif mails appear to come from $wgEmergencyContact
01508 $wgEnotifFromEditor = false;
01509
01510
01511 # If set to true, users get a corresponding option in their preferences and can choose to enable or disable at their discretion
01512 # If set to false, the corresponding input form on the user preference page is suppressed
01513 # It call this to be a "user-preferences-option (UPO)"
01514 $wgEmailAuthentication = true; # UPO (if this is set to false, texts referring to authentication are suppressed)
01515 $wgEnotifWatchlist = false; # UPO
01516 $wgEnotifUserTalk = false; # UPO
01517 $wgEnotifRevealEditorAddress = false; # UPO; reply-to address may be filled with page editor's address (if user allowed this in the preferences)
01518 $wgEnotifMinorEdits = true; # UPO; false: "minor edits" on pages do not trigger notification mails.
01519 # # Attention: _every_ change on a user_talk page trigger a notification mail (if the user is not yet notified)
01520
01521 # Send a generic mail instead of a personalised mail for each user. This
01522 # always uses UTC as the time zone, and doesn't include the username.
01523 #
01524 # For pages with many users watching, this can significantly reduce mail load.
01525 # Has no effect when using sendmail rather than SMTP;
01526
01527 $wgEnotifImpersonal = false;
01528
01529 # Maximum number of users to mail at once when using impersonal mail. Should
01530 # match the limit on your mail server.
01531 $wgEnotifMaxRecips = 500;
01532
01533 # Send mails via the job queue.
01534 $wgEnotifUseJobQ = false;
01535
01536 # Use real name instead of username in e-mail "from" field
01537 $wgEnotifUseRealName = false;
01538
01542 $wgUsersNotifiedOnAllChanges = array();
01543
01545 $wgRCShowWatchingUsers = false; # UPO
01547 $wgPageShowWatchingUsers = false;
01549 $wgRCShowChangedSize = true;
01550
01556 $wgRCChangedSizeThreshold = 500;
01557
01561 $wgShowUpdatedMarker = true;
01562
01566 $wgCookieExpiration = 30*86400;
01567
01573 $wgClockSkewFudge = 5;
01574
01575 # Squid-related settings
01576 #
01577
01579 $wgUseSquid = false;
01580
01582 $wgUseESI = false;
01583
01585 # $wgInternalServer = 'http://yourinternal.tld:8000';
01586 $wgInternalServer = $wgServer;
01587
01594 $wgSquidMaxage = 18000;
01595
01599 $wgForcedRawSMaxage = 300;
01600
01609 $wgSquidServers = array();
01610
01615 $wgSquidServersNoPurge = array();
01616
01618 $wgMaxSquidPurgeTitles = 400;
01619
01621 $wgHTCPPort = 4827;
01622 $wgHTCPMulticastTTL = 1;
01623 # $wgHTCPMulticastAddress = "224.0.0.85";
01624 $wgHTCPMulticastAddress = false;
01625
01627 $wgUsePrivateIPs = false;
01628
01629 # Cookie settings:
01630 #
01631
01635 $wgCookieDomain = '';
01636 $wgCookiePath = '/';
01637 $wgCookieSecure = ($wgProto == 'https');
01638 $wgDisableCookieCheck = false;
01639
01644 $wgCookiePrefix = false;
01645
01653 $wgCookieHttpOnly = version_compare("5.2", PHP_VERSION, "<");
01654
01659 $wgHttpOnlyBlacklist = array(
01660
01661
01662
01663 '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
01664 );
01665
01667 $wgCacheVaryCookies = array();
01668
01670 $wgSessionName = false;
01671
01673 $wgAllowExternalImages = false;
01674
01684 $wgAllowExternalImagesFrom = '';
01685
01694 $wgEnableImageWhitelist = true;
01695
01697 $wgAllowImageMoving = true;
01698
01700 $wgMiserMode = false;
01702 $wgDisableQueryPages = false;
01704 $wgQueryCacheLimit = 1000;
01706 $wgWantedPagesThreshold = 1;
01708 $wgAllowSlowParserFunctions = false;
01709
01714 $wgJobClasses = array(
01715 'refreshLinks' => 'RefreshLinksJob',
01716 'refreshLinks2' => 'RefreshLinksJob2',
01717 'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
01718 'html_cache_update' => 'HTMLCacheUpdateJob',
01719 'sendMail' => 'EmaillingJob',
01720 'enotifNotify' => 'EnotifNotifyJob',
01721 'fixDoubleRedirect' => 'DoubleRedirectJob',
01722 );
01723
01728 $wgSpecialPageCacheUpdates = array(
01729 'Statistics' => array('SiteStatsUpdate','cacheUpdate')
01730 );
01731
01738 $wgUseTeX = false;
01740 $wgTexvc = './math/texvc';
01741
01742 #
01743 # Profiling / debugging
01744 #
01745 # You have to create a 'profiling' table in your database before using
01746 # profiling see maintenance/archives/patch-profiling.sql .
01747 #
01748 # To enable profiling, edit StartProfiler.php
01749
01751 $wgProfileLimit = 0.0;
01753 $wgProfileOnly = false;
01755 $wgProfileToDatabase = false;
01757 $wgProfileCallTree = false;
01759 $wgProfilePerHost = false;
01760
01762 $wgUDPProfilerHost = '127.0.0.1';
01763 $wgUDPProfilerPort = '3811';
01764
01766 $wgDebugProfiling = false;
01768 $wgDebugFunctionEntry = 0;
01770 $wgDebugSquid = false;
01771
01772
01773
01774
01775
01776
01777
01778 $wgStatsMethod = 'cache';
01779
01783 $wgDisableCounters = false;
01784
01785 $wgDisableTextSearch = false;
01786 $wgDisableSearchContext = false;
01787
01788
01793 $wgAdvancedSearchHighlighting = false;
01794
01799 $wgSearchHighlightBoundaries = version_compare("5.1", PHP_VERSION, "<")? '[\p{Z}\p{P}\p{C}]'
01800 : '[ ,.;:!?~!@#$%\^&*\(\)+=\-\\|\[\]"\'<>\n\r\/{}]';
01801
01811 $wgOpenSearchTemplate = false;
01812
01817 $wgEnableMWSuggest = false;
01818
01825 $wgMWSuggestTemplate = false;
01826
01831 $wgDisableSearchUpdate = false;
01833 $wgEnableUploads = false;
01845 $wgShowEXIF = function_exists( 'exif_read_data' );
01846
01852 $wgRemoteUploads = false;
01853 $wgDisableAnonTalk = false;
01857 $wgUseDumbLinkUpdate = false;
01858
01873 $wgAntiLockFlags = 0;
01874
01879 $wgDiff3 = '/usr/bin/diff3';
01880
01884 $wgDiff = '/usr/bin/diff';
01885
01892 $wgCompressRevisions = false;
01893
01898 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
01899
01901 $wgFileBlacklist = array(
01902 # HTML may contain cookie-stealing JavaScript and web bugs
01903 'html', 'htm', 'js', 'jsb', 'mhtml', 'mht',
01904 # PHP scripts may execute arbitrary code on the server
01905 'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
01906 # Other types that may be interpreted by some servers
01907 'shtml', 'jhtml', 'pl', 'py', 'cgi',
01908 # May contain harmful executables for Windows victims
01909 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
01910
01914 $wgMimeTypeBlacklist= array(
01915 # HTML may contain cookie-stealing JavaScript and web bugs
01916 'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
01917 # PHP scripts may execute arbitrary code on the server
01918 'application/x-php', 'text/x-php',
01919 # Other types that may be interpreted by some servers
01920 'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
01921 # Client-side hazards on Internet Explorer
01922 'text/scriptlet', 'application/x-msdownload',
01923 # Windows metafile, client-side vulnerability on some systems
01924 'application/x-msmetafile',
01925 # A ZIP file may be a valid Java archive containing an applet which exploits the
01926 # same-origin policy to steal cookies
01927 'application/zip',
01928 );
01929
01931 $wgCheckFileExtensions = true;
01932
01937 $wgStrictFileExtensions = true;
01938
01940 $wgUploadSizeWarning = false;
01941
01943 $wgPasswordSalt = true;
01944
01948 $wgNamespacesWithSubpages = array(
01949 NS_TALK => true,
01950 NS_USER => true,
01951 NS_USER_TALK => true,
01952 NS_PROJECT_TALK => true,
01953 NS_FILE_TALK => true,
01954 NS_MEDIAWIKI_TALK => true,
01955 NS_TEMPLATE_TALK => true,
01956 NS_HELP_TALK => true,
01957 NS_CATEGORY_TALK => true
01958 );
01959
01960 $wgNamespacesToBeSearchedDefault = array(
01961 NS_MAIN => true,
01962 );
01963
01970 $wgNamespacesToBeSearchedProject = array(
01971 NS_USER => true,
01972 NS_PROJECT => true,
01973 NS_HELP => true,
01974 NS_CATEGORY => true,
01975 );
01976
01977 $wgUseOldSearchUI = true;
01978
01986 $wgSiteNotice = '';
01987
01988 #
01989 # Images settings
01990 #
01991
01996 $wgMediaHandlers = array(
01997 'image/jpeg' => 'BitmapHandler',
01998 'image/png' => 'BitmapHandler',
01999 'image/gif' => 'BitmapHandler',
02000 'image/tiff' => 'TiffHandler',
02001 'image/x-ms-bmp' => 'BmpHandler',
02002 'image/x-bmp' => 'BmpHandler',
02003 'image/svg+xml' => 'SvgHandler',
02004 'image/svg' => 'SvgHandler',
02005 'image/vnd.djvu' => 'DjVuHandler',
02006 'image/x.djvu' => 'DjVuHandler',
02007 'image/x-djvu' => 'DjVuHandler',
02008 );
02009
02010
02019 $wgUseImageMagick = false;
02021 $wgImageMagickConvertCommand = '/usr/bin/convert';
02022
02024 $wgSharpenParameter = '0x0.4';
02025
02027 $wgSharpenReductionThreshold = 0.85;
02028
02033 $wgImageMagickTempDir = false;
02034
02043 #$wgCustomConvertCommand = "gm convert %s -resize %wx%h %d"
02044 $wgCustomConvertCommand = false;
02045
02046 # Scalable Vector Graphics (SVG) may be uploaded as images.
02047 # Since SVG support is not yet standard in browsers, it is
02048 # necessary to rasterize SVGs to PNG as a fallback format.
02049 #
02050 # An external program is required to perform this conversion:
02051 $wgSVGConverters = array(
02052 'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height\! $input PNG:$output',
02053 'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
02054 'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
02055 'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
02056 'rsvg' => '$path/rsvg -w$width -h$height $input $output',
02057 'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
02058 );
02060 $wgSVGConverter = 'ImageMagick';
02062 $wgSVGConverterPath = '';
02064 $wgSVGMaxSize = 2048;
02070 $wgMaxImageArea = 1.25e7;
02077 $wgMaxAnimatedGifArea = 1.0e6;
02087 $wgTiffThumbnailType = false;
02094 $wgThumbnailEpoch = '20030516000000';
02095
02107 $wgIgnoreImageErrors = false;
02108
02116 $wgGenerateThumbnailOnParse = true;
02117
02119 $wgUseImageResize = true;
02120
02122 if( !isset( $wgCommandLineMode ) ) {
02123 $wgCommandLineMode = false;
02124 }
02125
02127 $wgCommandLineDarkBg = false;
02128
02129 #
02130 # Recent changes settings
02131 #
02132
02134 $wgPutIPinRC = true;
02135
02141 $wgRCMaxAge = 7 * 24 * 3600;
02142
02148 $wgRCFilterByAge = false;
02149
02153 $wgRCLinkLimits = array( 50, 100, 250, 500 );
02154 $wgRCLinkDays = array( 1, 3, 7, 14, 30 );
02155
02160 $wgRC2UDPAddress = false;
02161
02165 $wgRC2UDPPort = false;
02166
02173 $wgRC2UDPPrefix = '';
02174
02179 $wgRC2UDPInterwikiPrefix = false;
02180
02185 $wgRC2UDPOmitBots = false;
02186
02192 $wgEnableNewpagesUserFilter = true;
02193
02200 $wgUseMetadataEdit = false;
02202 $wgMetadataWhitelist = '';
02203
02204 #
02205 # Copyright and credits settings
02206 #
02207
02209 $wgEnableDublinCoreRdf = false;
02210 $wgEnableCreativeCommonsRdf = false;
02211
02215 $wgRightsPage = NULL;
02216 $wgRightsUrl = NULL;
02217 $wgRightsText = NULL;
02218 $wgRightsIcon = NULL;
02219
02221 $wgCopyrightIcon = NULL;
02222
02224 $wgUseCopyrightUpload = false;
02225
02228 $wgCheckCopyrightUpload = true;
02229
02237 $wgMaxCredits = 0;
02238
02241 $wgShowCreditsIfMax = true;
02242
02243
02244
02251 $wgCapitalLinks = true;
02252
02261 $wgImportSources = array();
02262
02270 $wgImportTargetNamespace = null;
02271
02277 $wgExportAllowHistory = true;
02278
02284 $wgExportMaxHistory = 0;
02285
02286 $wgExportAllowListContributors = false ;
02287
02299 $wgExportMaxLinkDepth = 0;
02300
02304 $wgExportFromNamespaces = false;
02305
02315 $wgSpamRegex = array();
02316
02318 $wgSummarySpamRegex = array();
02319
02331 $wgFilterCallback = false;
02332
02334 $wgGoToEdit = false;
02335
02340 $wgRawHtml = false;
02341
02356 $wgUseTidy = false;
02357 $wgAlwaysUseTidy = false;
02358 $wgTidyBin = 'tidy';
02359 $wgTidyConf = $IP.'/includes/tidy.conf';
02360 $wgTidyOpts = '';
02361 $wgTidyInternal = extension_loaded( 'tidy' );
02362
02367 $wgDebugTidy = false;
02368
02373 $wgValidateAllHtml = false;
02374
02376 $wgDefaultSkin = 'monobook';
02377
02379 $wgAllowUserSkin = true;
02380
02393 $wgHandheldStyle = false;
02394
02405 $wgHandheldForIPhone = false;
02406
02414 $wgDefaultUserOptions = array(
02415 'quickbar' => 1,
02416 'underline' => 2,
02417 'cols' => 80,
02418 'rows' => 25,
02419 'searchlimit' => 20,
02420 'contextlines' => 5,
02421 'contextchars' => 50,
02422 'disablesuggest' => 0,
02423 'skin' => false,
02424 'math' => 1,
02425 'usenewrc' => 0,
02426 'rcdays' => 7,
02427 'rclimit' => 50,
02428 'wllimit' => 250,
02429 'hideminor' => 0,
02430 'hidepatrolled' => 0,
02431 'newpageshidepatrolled' => 0,
02432 'highlightbroken' => 1,
02433 'stubthreshold' => 0,
02434 'previewontop' => 1,
02435 'previewonfirst' => 0,
02436 'editsection' => 1,
02437 'editsectiononrightclick' => 0,
02438 'editondblclick' => 0,
02439 'editwidth' => 0,
02440 'showtoc' => 1,
02441 'showtoolbar' => 1,
02442 'minordefault' => 0,
02443 'date' => 'default',
02444 'imagesize' => 2,
02445 'thumbsize' => 2,
02446 'rememberpassword' => 0,
02447 'nocache' => 0,
02448 'diffonly' => 0,
02449 'showhiddencats' => 0,
02450 'norollbackdiff' => 0,
02451 'enotifwatchlistpages' => 0,
02452 'enotifusertalkpages' => 1,
02453 'enotifminoredits' => 0,
02454 'enotifrevealaddr' => 0,
02455 'shownumberswatching' => 1,
02456 'fancysig' => 0,
02457 'externaleditor' => 0,
02458 'externaldiff' => 0,
02459 'forceeditsummary' => 0,
02460 'showjumplinks' => 1,
02461 'justify' => 0,
02462 'numberheadings' => 0,
02463 'uselivepreview' => 0,
02464 'watchlistdays' => 3.0,
02465 'extendwatchlist' => 0,
02466 'watchlisthideminor' => 0,
02467 'watchlisthidebots' => 0,
02468 'watchlisthideown' => 0,
02469 'watchlisthideanons' => 0,
02470 'watchlisthideliu' => 0,
02471 'watchlisthidepatrolled' => 0,
02472 'watchcreations' => 0,
02473 'watchdefault' => 0,
02474 'watchmoves' => 0,
02475 'watchdeletion' => 0,
02476 'noconvertlink' => 0,
02477 'gender' => 'unknown',
02478 );
02479
02481 $wgAllowRealName = true;
02482
02483
02484
02485
02486
02490 $wgExtensionFunctions = array();
02491
02496 $wgSkinExtensionFunctions = array();
02497
02508 $wgExtensionMessagesFiles = array();
02509
02520 $wgExtensionAliasesFiles = array();
02521
02534 $wgParserOutputHooks = array();
02535
02542 $wgValidSkinNames = array();
02543
02548 $wgSpecialPages = array();
02549
02553 $wgAutoloadClasses = array();
02554
02574 $wgExtensionCredits = array();
02575
02576
02577
02578
02584 $wgAllowUserJs = false;
02585
02591 $wgAllowUserCss = false;
02592
02594 $wgUseSiteJs = true;
02595
02597 $wgUseSiteCss = true;
02598
02600 $wgExtraRandompageSQL = false;
02601
02603 $wgAllowPageInfo = false;
02604
02606 $wgMaxTocLevel = 999;
02607
02609 $wgExternalDiffEngine = false;
02610
02612 $wgEnableHtmlDiff = false;
02613
02615 $wgUseRCPatrol = true;
02616
02618 $wgUseNPPatrol = true;
02619
02621 $wgFeed = true;
02622
02625 $wgFeedLimit = 50;
02626
02634 $wgFeedCacheTimeout = 60;
02635
02638 $wgFeedDiffCutoff = 32768;
02639
02646 $wgOverrideSiteFeed = array();
02647
02659 #$wgExtraNamespaces =
02660 # array(100 => "Hilfe",
02661 # 101 => "Hilfe_Diskussion",
02662 # 102 => "Aide",
02663 # 103 => "Discussion_Aide"
02664 # );
02665 $wgExtraNamespaces = NULL;
02666
02681 $wgNamespaceAliases = array();
02682
02691 $wgImageLimits = array (
02692 array(320,240),
02693 array(640,480),
02694 array(800,600),
02695 array(1024,768),
02696 array(1280,1024),
02697 array(10000,10000) );
02698
02704 $wgThumbLimits = array(
02705 120,
02706 150,
02707 180,
02708 200,
02709 250,
02710 300
02711 );
02712
02718 $wgThumbUpright = 0.75;
02719
02724 $wgCategoryMagicGallery = true;
02725
02729 $wgCategoryPagingLimit = 200;
02730
02735 $wgCategoryPrefixedDefaultSortkey = true;
02736
02741 $wgBrowserBlackList = array(
02752 '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02753 '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02754 '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02755
02768 '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
02769
02774 '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
02775 );
02776
02788 # $wgLocaltimezone = 'GMT';
02789 # $wgLocaltimezone = 'PST8PDT';
02790 # $wgLocaltimezone = 'Europe/Sweden';
02791 # $wgLocaltimezone = 'CET';
02792 $wgLocaltimezone = null;
02793
02813 $wgLocalTZoffset = null;
02814
02815
02831 $wgForceUIMsgAsContentMsg = array();
02832
02833
02837 $wgAuth = null;
02838
02848 $wgHooks = array();
02849
02856 $wgLogTypes = array( '',
02857 'block',
02858 'protect',
02859 'rights',
02860 'delete',
02861 'upload',
02862 'move',
02863 'import',
02864 'patrol',
02865 'merge',
02866 'suppress',
02867 );
02868
02875 $wgLogRestrictions = array(
02876 'suppress' => 'suppressionlog'
02877 );
02878
02899 $wgFilterLogTypes = array(
02900 'patrol' => true
02901 );
02902
02909 $wgLogNames = array(
02910 '' => 'all-logs-page',
02911 'block' => 'blocklogpage',
02912 'protect' => 'protectlogpage',
02913 'rights' => 'rightslog',
02914 'delete' => 'dellogpage',
02915 'upload' => 'uploadlogpage',
02916 'move' => 'movelogpage',
02917 'import' => 'importlogpage',
02918 'patrol' => 'patrol-log-page',
02919 'merge' => 'mergelog',
02920 'suppress' => 'suppressionlog',
02921 );
02922
02929 $wgLogHeaders = array(
02930 '' => 'alllogstext',
02931 'block' => 'blocklogtext',
02932 'protect' => 'protectlogtext',
02933 'rights' => 'rightslogtext',
02934 'delete' => 'dellogpagetext',
02935 'upload' => 'uploadlogpagetext',
02936 'move' => 'movelogpagetext',
02937 'import' => 'importlogpagetext',
02938 'patrol' => 'patrol-log-header',
02939 'merge' => 'mergelogpagetext',
02940 'suppress' => 'suppressionlogtext',
02941 );
02942
02949 $wgLogActions = array(
02950 'block/block' => 'blocklogentry',
02951 'block/unblock' => 'unblocklogentry',
02952 'block/reblock' => 'reblock-logentry',
02953 'protect/protect' => 'protectedarticle',
02954 'protect/modify' => 'modifiedarticleprotection',
02955 'protect/unprotect' => 'unprotectedarticle',
02956 'protect/move_prot' => 'movedarticleprotection',
02957 'rights/rights' => 'rightslogentry',
02958 'delete/delete' => 'deletedarticle',
02959 'delete/restore' => 'undeletedarticle',
02960 'delete/revision' => 'revdelete-logentry',
02961 'delete/event' => 'logdelete-logentry',
02962 'upload/upload' => 'uploadedimage',
02963 'upload/overwrite' => 'overwroteimage',
02964 'upload/revert' => 'uploadedimage',
02965 'move/move' => '1movedto2',
02966 'move/move_redir' => '1movedto2_redir',
02967 'import/upload' => 'import-logentry-upload',
02968 'import/interwiki' => 'import-logentry-interwiki',
02969 'merge/merge' => 'pagemerge-logentry',
02970 'suppress/revision' => 'revdelete-logentry',
02971 'suppress/file' => 'revdelete-logentry',
02972 'suppress/event' => 'logdelete-logentry',
02973 'suppress/delete' => 'suppressedarticle',
02974 'suppress/block' => 'blocklogentry',
02975 'suppress/reblock' => 'reblock-logentry',
02976 );
02977
02982 $wgLogActionsHandlers = array();
02983
02987 $wgNewUserLog = true;
02988
02993 $wgSpecialPageGroups = array(
02994 'DoubleRedirects' => 'maintenance',
02995 'BrokenRedirects' => 'maintenance',
02996 'Lonelypages' => 'maintenance',
02997 'Uncategorizedpages' => 'maintenance',
02998 'Uncategorizedcategories' => 'maintenance',
02999 'Uncategorizedimages' => 'maintenance',
03000 'Uncategorizedtemplates' => 'maintenance',
03001 'Unusedcategories' => 'maintenance',
03002 'Unusedimages' => 'maintenance',
03003 'Protectedpages' => 'maintenance',
03004 'Protectedtitles' => 'maintenance',
03005 'Unusedtemplates' => 'maintenance',
03006 'Withoutinterwiki' => 'maintenance',
03007 'Longpages' => 'maintenance',
03008 'Shortpages' => 'maintenance',
03009 'Ancientpages' => 'maintenance',
03010 'Deadendpages' => 'maintenance',
03011 'Wantedpages' => 'maintenance',
03012 'Wantedcategories' => 'maintenance',
03013 'Wantedfiles' => 'maintenance',
03014 'Wantedtemplates' => 'maintenance',
03015 'Unwatchedpages' => 'maintenance',
03016 'Fewestrevisions' => 'maintenance',
03017
03018 'Userlogin' => 'login',
03019 'Userlogout' => 'login',
03020 'CreateAccount' => 'login',
03021
03022 'Recentchanges' => 'changes',
03023 'Recentchangeslinked' => 'changes',
03024 'Watchlist' => 'changes',
03025 'Newimages' => 'changes',
03026 'Newpages' => 'changes',
03027 'Log' => 'changes',
03028 'Tags' => 'changes',
03029
03030 'Upload' => 'media',
03031 'Listfiles' => 'media',
03032 'MIMEsearch' => 'media',
03033 'FileDuplicateSearch' => 'media',
03034 'Filepath' => 'media',
03035
03036 'Listusers' => 'users',
03037 'Listgrouprights' => 'users',
03038 'Ipblocklist' => 'users',
03039 'Contributions' => 'users',
03040 'Emailuser' => 'users',
03041 'Listadmins' => 'users',
03042 'Listbots' => 'users',
03043 'Userrights' => 'users',
03044 'Blockip' => 'users',
03045 'Preferences' => 'users',
03046 'Resetpass' => 'users',
03047 'DeletedContributions' => 'users',
03048
03049 'Mostlinked' => 'highuse',
03050 'Mostlinkedcategories' => 'highuse',
03051 'Mostlinkedtemplates' => 'highuse',
03052 'Mostcategories' => 'highuse',
03053 'Mostimages' => 'highuse',
03054 'Mostrevisions' => 'highuse',
03055
03056 'Allpages' => 'pages',
03057 'Prefixindex' => 'pages',
03058 'Listredirects' => 'pages',
03059 'Categories' => 'pages',
03060 'Disambiguations' => 'pages',
03061
03062 'Randompage' => 'redirects',
03063 'Randomredirect' => 'redirects',
03064 'Mypage' => 'redirects',
03065 'Mytalk' => 'redirects',
03066 'Mycontributions' => 'redirects',
03067 'Search' => 'redirects',
03068 'LinkSearch' => 'redirects',
03069
03070 'Movepage' => 'pagetools',
03071 'MergeHistory' => 'pagetools',
03072 'Revisiondelete' => 'pagetools',
03073 'Undelete' => 'pagetools',
03074 'Export' => 'pagetools',
03075 'Import' => 'pagetools',
03076 'Whatlinkshere' => 'pagetools',
03077
03078 'Statistics' => 'wiki',
03079 'Version' => 'wiki',
03080 'Lockdb' => 'wiki',
03081 'Unlockdb' => 'wiki',
03082 'Allmessages' => 'wiki',
03083 'Popularpages' => 'wiki',
03084
03085 'Specialpages' => 'other',
03086 'Blockme' => 'other',
03087 'Booksources' => 'other',
03088 );
03089
03096 $wgLivePreview = false;
03097
03102 $wgDisableInternalSearch = false;
03103
03115 $wgSearchForwardUrl = null;
03116
03120 $wgExternalLinkTarget = false;
03121
03128 $wgNoFollowLinks = true;
03129
03134 $wgNoFollowNsExceptions = array();
03135
03147 $wgNoFollowDomainExceptions = array();
03148
03154 $wgDefaultRobotPolicy = 'index,follow';
03155
03168 $wgNamespaceRobotPolicies = array();
03169
03187 $wgArticleRobotPolicies = array();
03188
03196 $wgExemptFromUserRobotsControl = null;
03197
03202 $wgMinimalPasswordLength = 0;
03203
03208 $wgUseExternalEditor = true;
03209
03212 $wgSortSpecialPages = true;
03213
03219 $wgSkipSkin = '';
03220 $wgSkipSkins = array(); # More of the same
03221
03225 $wgDisabledActions = array();
03226
03231 $wgDisableHardRedirects = false;
03232
03236 $wgEnableSorbs = false;
03237 $wgSorbsUrl = 'http.dnsbl.sorbs.net.';
03238
03243 $wgProxyWhitelist = array();
03244
03254 $wgRateLimits = array(
03255 'edit' => array(
03256 'anon' => null,
03257 'user' => null,
03258 'newbie' => null,
03259 'ip' => null,
03260 'subnet' => null,
03261 ),
03262 'move' => array(
03263 'user' => null,
03264 'newbie' => null,
03265 'ip' => null,
03266 'subnet' => null,
03267 ),
03268 'mailpassword' => array(
03269 'anon' => NULL,
03270 ),
03271 'emailuser' => array(
03272 'user' => null,
03273 ),
03274 );
03275
03279 $wgRateLimitLog = null;
03280
03290 $wgRateLimitsExcludedGroups = array();
03291
03296 $wgRateLimitsExcludedIPs = array();
03297
03302 $wgCountCategorizedImagesAsUsed = false;
03303
03313 $wgExternalStores = false;
03314
03320 $wgExternalServers = array();
03321
03332 $wgDefaultExternalStore = false;
03333
03340 $wgRevisionCacheExpiry = 0;
03341
03352 $wgTrustedMediaFormats= array(
03353 MEDIATYPE_BITMAP,
03354 MEDIATYPE_AUDIO,
03355 MEDIATYPE_VIDEO,
03356 "image/svg+xml",
03357 "application/pdf",
03358 #"application/x-shockwave-flash",
03359 );
03360
03364 $wgAllowSpecialInclusion = true;
03365
03369 $wgHTTPTimeout = 3;
03370
03374 $wgHTTPProxy = false;
03375
03379 $wgEnableScaryTranscluding = false;
03383 $wgTranscludeCacheExpiry = 3600;
03384
03389 $wgUseTrackbacks = false;
03390
03394 $wgAllowCategorizedRecentChanges = false ;
03395
03402 $wgJobRunRate = 1;
03403
03407 $wgUpdateRowsPerJob = 500;
03408
03412 $wgUpdateRowsPerQuery = 10;
03413
03417 $wgUseAjax = true;
03418
03423 $wgAjaxExportList = array( 'wfAjaxGetThumbnailUrl', 'wfAjaxGetFileUrl' );
03424
03430 $wgAjaxWatch = true;
03431
03435 $wgAjaxUploadDestCheck = true;
03436
03440 $wgAjaxLicensePreview = true;
03441
03445 $wgAllowDisplayTitle = true;
03446
03450 $wgRestrictDisplayTitle = true;
03451
03456 $wgReservedUsernames = array(
03457 'MediaWiki default',
03458 'Conversion script',
03459 'Maintenance script',
03460 'Template namespace initialisation script',
03461 'msg:double-redirect-fixer',
03462 );
03463
03471 $wgAllowTitlesInSVG = false;
03472
03479 $wgContentNamespaces = array( NS_MAIN );
03480
03484 $wgMaxShellMemory = 102400;
03485
03490 $wgMaxShellFileSize = 102400;
03491
03495 $wgMaxShellTime = 180;
03496
03500 $wgPhpCli = 'php';
03501
03507 # $wgDjvuDump = 'djvudump';
03508 $wgDjvuDump = null;
03509
03514 # $wgDjvuRenderer = 'ddjvu';
03515 $wgDjvuRenderer = null;
03516
03526 # $wgDjvuToXML = 'djvutoxml';
03527 $wgDjvuToXML = null;
03528
03529
03535 $wgDjvuPostProcessor = 'pnmtojpeg';
03539 $wgDjvuOutputExtension = 'jpg';
03540
03547 $wgEnableAPI = true;
03548
03554 $wgEnableWriteAPI = true;
03555
03561 $wgAPIModules = array();
03562 $wgAPIMetaModules = array();
03563 $wgAPIPropModules = array();
03564 $wgAPIListModules = array();
03565
03570 $wgAPIMaxDBRows = 5000;
03571
03576 $wgAPIMaxResultSize = 8388608;
03577
03582 $wgAPIMaxUncachedDiffs = 1;
03583
03593 $wgParserTestFiles = array(
03594 "$IP/maintenance/parserTests.txt",
03595 );
03596
03601 $wgBreakFrames = false;
03602
03607 $wgDisableQueryPageUpdate = false;
03608
03612 $wgDisableOutputCompression = false;
03613
03619 $wgSlaveLagWarning = 10;
03620 $wgSlaveLagCritical = 30;
03621
03643 $wgParserConf = array(
03644 'class' => 'Parser',
03645 #'preprocessorClass' => 'Preprocessor_Hash',
03646 );
03647
03652 $wgLinkHolderBatchSize = 1000;
03653
03661 $wgExceptionHooks = array();
03662
03667 $wgPagePropLinkInvalidations = array(
03668 'hiddencat' => 'categorylinks',
03669 );
03670
03675 $wgMaxRedirectLinksRetrieved = 500;
03676
03681 $wgExpensiveParserFunctionLimit = 100;
03682
03686 $wgMaximumMovedPages = 100;
03687
03692 $wgFixDoubleRedirects = false;
03693
03699 $wgMaxRedirects = 1;
03700
03711 $wgInvalidRedirectTargets = array( 'Filepath', 'Mypage', 'Mytalk' );
03712
03718 $wgSitemapNamespaces = false;
03719
03720
03726 $wgUseAutomaticEditSummaries = true;
03727
03732 $wgPasswordAttemptThrottle = array( 'count' => 5, 'seconds' => 300 );
03733
03737 $wgEdititis = false;
03738
03744 $wgUniversalEditButton = true;
03745
03751 $wgEnforceHtmlIds = true;
03752
03758 $wgUseTwoButtonsSearchForm = true;
03759
03763 $wgPreprocessorCacheThreshold = 1000;
03764
03769 $wgUseTagFilter = true;
03770
03775 $wgRedirectOnLogin = null;
03776
03782 $wgInvalidUsernameCharacters = '@';
03783
03793 $wgUserrightsInterwikiDelimiter = '@';