MediaWiki  REL1_24
DefaultSettings.php
Go to the documentation of this file.
00001 <?php
00050 if ( !defined( 'MEDIAWIKI' ) ) {
00051     echo "This file is part of MediaWiki and is not a valid entry point\n";
00052     die( 1 );
00053 }
00054 
00060 $wgConf = new SiteConfiguration;
00061 
00068 $wgConfigRegistry = array(
00069     'main' => 'GlobalVarConfig::newInstance'
00070 );
00071 
00076 $wgVersion = '1.24alpha';
00077 
00081 $wgSitename = 'MediaWiki';
00082 
00099 $wgServer = WebRequest::detectServer();
00100 
00108 $wgCanonicalServer = false;
00109 
00115 $wgServerName = false;
00116 
00117 /************************************************************************/
00131 $wgScriptPath = '/wiki';
00132 
00150 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
00151     ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
00152     ( strpos( PHP_SAPI, 'isapi' ) === false );
00153 
00162 $wgScriptExtension = '.php';
00163 
00166 /************************************************************************/
00189 $wgScript = false;
00190 
00197 $wgLoadScript = false;
00198 
00204 $wgStylePath = false;
00205 $wgStyleSheetPath = &$wgStylePath;
00206 
00212 $wgLocalStylePath = false;
00213 
00219 $wgExtensionAssetsPath = false;
00220 
00226 $wgStyleDirectory = false;
00227 
00235 $wgArticlePath = false;
00236 
00241 $wgUploadPath = false;
00242 
00246 $wgUploadDirectory = false;
00247 
00252 $wgFileCacheDirectory = false;
00253 
00258 $wgLogo = false;
00259 
00264 $wgFavicon = '/favicon.ico';
00265 
00271 $wgAppleTouchIcon = false;
00272 
00287 $wgTmpDirectory = false;
00288 
00294 $wgUploadBaseUrl = '';
00295 
00303 $wgUploadStashScalerBaseUrl = false;
00304 
00319 $wgActionPaths = array();
00320 
00323 /************************************************************************/
00331 $wgEnableUploads = false;
00332 
00336 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
00337 
00341 $wgAllowImageMoving = true;
00342 
00351 $wgEnableAsyncUploads = false;
00352 
00356 $wgIllegalFileChars = ":";
00357 
00362 $wgDeletedDirectory = false;
00363 
00367 $wgImgAuthDetails = false;
00368 
00383 $wgImgAuthUrlPathMap = array();
00384 
00467 $wgLocalFileRepo = false;
00468 
00472 $wgForeignFileRepos = array();
00473 
00479 $wgUseInstantCommons = false;
00480 
00512 $wgFileBackends = array();
00513 
00524 $wgLockManagers = array();
00525 
00538 $wgShowEXIF = function_exists( 'exif_read_data' );
00539 
00545 $wgUpdateCompatibleMetadata = false;
00546 
00560 $wgUseSharedUploads = false;
00561 
00565 $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
00566 
00570 $wgFetchCommonsDescriptions = false;
00571 
00575 $wgSharedUploadDirectory = "/var/www/wiki3/images";
00576 
00581 $wgSharedUploadDBname = false;
00582 
00586 $wgSharedUploadDBprefix = '';
00587 
00592 $wgCacheSharedUploads = true;
00593 
00599 $wgAllowCopyUploads = false;
00600 
00605 $wgAllowAsyncCopyUploads = false;
00606 
00612 $wgCopyUploadsDomains = array();
00613 
00619 $wgCopyUploadsFromSpecialUpload = false;
00620 
00625 $wgCopyUploadProxy = false;
00626 
00635 $wgCopyUploadTimeout = false;
00636 
00646 $wgCopyUploadAsyncTimeout = false;
00647 
00664 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB
00665 
00676 $wgUploadNavigationUrl = false;
00677 
00683 $wgUploadMissingFileUrl = false;
00684 
00696 $wgThumbnailScriptPath = false;
00697 
00701 $wgSharedThumbnailScriptPath = false;
00702 
00716 $wgHashedUploadDirectory = true;
00717 
00723 $wgHashedSharedUploadDirectory = true;
00724 
00733 $wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/File:";
00734 
00743 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
00744 
00750 $wgFileBlacklist = array(
00751     # HTML may contain cookie-stealing JavaScript and web bugs
00752     'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
00753     # PHP scripts may execute arbitrary code on the server
00754     'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
00755     # Other types that may be interpreted by some servers
00756     'shtml', 'jhtml', 'pl', 'py', 'cgi',
00757     # May contain harmful executables for Windows victims
00758     'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
00759 
00764 $wgMimeTypeBlacklist = array(
00765     # HTML may contain cookie-stealing JavaScript and web bugs
00766     'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
00767     # PHP scripts may execute arbitrary code on the server
00768     'application/x-php', 'text/x-php',
00769     # Other types that may be interpreted by some servers
00770     'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
00771     # Client-side hazards on Internet Explorer
00772     'text/scriptlet', 'application/x-msdownload',
00773     # Windows metafile, client-side vulnerability on some systems
00774     'application/x-msmetafile',
00775 );
00776 
00782 $wgAllowJavaUploads = false;
00783 
00789 $wgCheckFileExtensions = true;
00790 
00797 $wgStrictFileExtensions = true;
00798 
00805 $wgDisableUploadScriptChecks = false;
00806 
00810 $wgUploadSizeWarning = false;
00811 
00822 $wgTrustedMediaFormats = array(
00823     MEDIATYPE_BITMAP, //all bitmap formats
00824     MEDIATYPE_AUDIO, //all audio formats
00825     MEDIATYPE_VIDEO, //all plain video formats
00826     "image/svg+xml", //svg (only needed if inline rendering of svg is not supported)
00827     "application/pdf", //PDF files
00828     #"application/x-shockwave-flash", //flash/shockwave movie
00829 );
00830 
00835 $wgMediaHandlers = array(
00836     'image/jpeg' => 'JpegHandler',
00837     'image/png' => 'PNGHandler',
00838     'image/gif' => 'GIFHandler',
00839     'image/tiff' => 'TiffHandler',
00840     'image/x-ms-bmp' => 'BmpHandler',
00841     'image/x-bmp' => 'BmpHandler',
00842     'image/x-xcf' => 'XCFHandler',
00843     'image/svg+xml' => 'SvgHandler', // official
00844     'image/svg' => 'SvgHandler', // compat
00845     'image/vnd.djvu' => 'DjVuHandler', // official
00846     'image/x.djvu' => 'DjVuHandler', // compat
00847     'image/x-djvu' => 'DjVuHandler', // compat
00848 );
00849 
00856 $wgContentHandlers = array(
00857     // the usual case
00858     CONTENT_MODEL_WIKITEXT => 'WikitextContentHandler',
00859     // dumb version, no syntax highlighting
00860     CONTENT_MODEL_JAVASCRIPT => 'JavaScriptContentHandler',
00861     // simple implementation, for use by extensions, etc.
00862     CONTENT_MODEL_JSON => 'JsonContentHandler',
00863     // dumb version, no syntax highlighting
00864     CONTENT_MODEL_CSS => 'CssContentHandler',
00865     // plain text, for use by extensions, etc.
00866     CONTENT_MODEL_TEXT => 'TextContentHandler',
00867 );
00868 
00874 $wgUseImageResize = true;
00875 
00884 $wgUseImageMagick = false;
00885 
00889 $wgImageMagickConvertCommand = '/usr/bin/convert';
00890 
00894 $wgSharpenParameter = '0x0.4';
00895 
00899 $wgSharpenReductionThreshold = 0.85;
00900 
00905 $wgImageMagickTempDir = false;
00906 
00919 $wgCustomConvertCommand = false;
00920 
00926 $wgJpegTran = '/usr/bin/jpegtran';
00927 
00932 $wgExiv2Command = '/usr/bin/exiv2';
00933 
00943 $wgSVGConverters = array(
00944     'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height\! $input PNG:$output',
00945     'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
00946     'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
00947     'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d '
00948         . '$output $input',
00949     'rsvg' => '$path/rsvg -w $width -h $height $input $output',
00950     'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
00951     'ImagickExt' => array( 'SvgHandler::rasterizeImagickExt' ),
00952 );
00953 
00957 $wgSVGConverter = 'ImageMagick';
00958 
00962 $wgSVGConverterPath = '';
00963 
00967 $wgSVGMaxSize = 2048;
00968 
00973 $wgSVGMetadataCutoff = 262144;
00974 
00986 $wgAllowTitlesInSVG = false;
00987 
01001 $wgMaxImageArea = 1.25e7;
01002 
01009 $wgMaxAnimatedGifArea = 1.25e7;
01010 
01024 $wgTiffThumbnailType = false;
01025 
01032 $wgThumbnailEpoch = '20030516000000';
01033 
01040 $wgAttemptFailureEpoch = 1;
01041 
01053 $wgIgnoreImageErrors = false;
01054 
01062 $wgGenerateThumbnailOnParse = true;
01063 
01067 $wgShowArchiveThumbnails = true;
01068 
01074 $wgEnableAutoRotation = null;
01075 
01081 $wgAntivirus = null;
01082 
01117 $wgAntivirusSetup = array(
01118 
01119     #setup for clamav
01120     'clamav' => array(
01121         'command' => 'clamscan --no-summary ',
01122         'codemap' => array(
01123             "0" => AV_NO_VIRUS, # no virus
01124             "1" => AV_VIRUS_FOUND, # virus found
01125             "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
01126             "*" => AV_SCAN_FAILED, # else scan failed
01127         ),
01128         'messagepattern' => '/.*?:(.*)/sim',
01129     ),
01130 );
01131 
01135 $wgAntivirusRequired = true;
01136 
01140 $wgVerifyMimeType = true;
01141 
01147 $wgMimeTypeFile = 'includes/mime.types';
01148 
01153 $wgMimeInfoFile = 'includes/mime.info';
01154 
01166 $wgMimeDetectorCommand = null;
01167 
01173 $wgTrivialMimeDetection = false;
01174 
01179 $wgXMLMimeTypes = array(
01180     'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
01181     'svg' => 'image/svg+xml',
01182     'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
01183     'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
01184     'html' => 'text/html', // application/xhtml+xml?
01185 );
01186 
01195 $wgImageLimits = array(
01196     array( 320, 240 ),
01197     array( 640, 480 ),
01198     array( 800, 600 ),
01199     array( 1024, 768 ),
01200     array( 1280, 1024 )
01201 );
01202 
01208 $wgThumbLimits = array(
01209     120,
01210     150,
01211     180,
01212     200,
01213     250,
01214     300
01215 );
01216 
01226 $wgThumbnailBuckets = null;
01227 
01243 $wgThumbnailMinimumBucketDistance = 50;
01244 
01248 $wgGalleryOptions = array(
01249     'imagesPerRow' => 0, // Default number of images per-row in the gallery. 0 -> Adapt to screensize
01250     'imageWidth' => 120, // Width of the cells containing images in galleries (in "px")
01251     'imageHeight' => 120, // Height of the cells containing images in galleries (in "px")
01252     'captionLength' => 25, // Length of caption to truncate (in characters)
01253     'showBytes' => true, // Show the filesize in bytes in categories
01254     'mode' => 'traditional',
01255 );
01256 
01262 $wgThumbUpright = 0.75;
01263 
01267 $wgDirectoryMode = 0777;
01268 
01277 $wgResponsiveImages = true;
01278 
01289 $wgDjvuDump = null;
01290 
01296 $wgDjvuRenderer = null;
01297 
01303 $wgDjvuTxt = null;
01304 
01319 $wgDjvuToXML = null;
01320 
01326 $wgDjvuPostProcessor = 'pnmtojpeg';
01327 
01331 $wgDjvuOutputExtension = 'jpg';
01332  # end of DJvu }
01334  # end of file uploads }
01336 
01337 /************************************************************************/
01348 $wgEmergencyContact = false;
01349 
01357 $wgPasswordSender = false;
01358 
01364 $wgPasswordSenderName = 'MediaWiki Mail';
01365 
01371 $wgNoReplyAddress = '[email protected]';
01372 
01378 $wgEnableEmail = true;
01379 
01384 $wgEnableUserEmail = true;
01385 
01394 $wgUserEmailUseReplyTo = false;
01395 
01400 $wgPasswordReminderResendTime = 24;
01401 
01405 $wgNewPasswordExpiry = 3600 * 24 * 7;
01406 
01410 $wgUserEmailConfirmationTokenExpiry = 7 * 24 * 60 * 60;
01411 
01416 $wgPasswordExpirationDays = false;
01417 
01422 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days
01423 
01441 $wgSMTP = false;
01442 
01447 $wgAdditionalMailParams = null;
01448 
01453 $wgAllowHTMLEmail = false;
01454 
01459 $wgEnotifFromEditor = false;
01460 
01461 // TODO move UPO to preferences probably ?
01462 # If set to true, users get a corresponding option in their preferences and can choose to
01463 # enable or disable at their discretion
01464 # If set to false, the corresponding input form on the user preference page is suppressed
01465 # It call this to be a "user-preferences-option (UPO)"
01466 
01472 $wgEmailAuthentication = true;
01473 
01477 $wgEnotifWatchlist = false;
01478 
01483 $wgEnotifUserTalk = false;
01484 
01489 $wgEnotifRevealEditorAddress = false;
01490 
01495 $wgEnotifMinorEdits = true;
01496 
01504 $wgEnotifImpersonal = false;
01505 
01510 $wgEnotifMaxRecips = 500;
01511 
01516 $wgEnotifUseJobQ = false;
01517 
01521 $wgEnotifUseRealName = false;
01522 
01527 $wgUsersNotifiedOnAllChanges = array();
01528  # end of email settings
01530 
01531 /************************************************************************/
01539 $wgDBserver = 'localhost';
01540 
01544 $wgDBport = 5432;
01545 
01549 $wgDBname = 'my_wiki';
01550 
01554 $wgDBuser = 'wikiuser';
01555 
01559 $wgDBpassword = '';
01560 
01564 $wgDBtype = 'mysql';
01565 
01574 $wgDBssl = false;
01575 
01584 $wgDBcompress = false;
01585 
01589 $wgDBadminuser = null;
01590 
01594 $wgDBadminpassword = null;
01595 
01602 $wgSearchType = null;
01603 
01611 $wgSearchTypeAlternatives = null;
01612 
01616 $wgDBprefix = '';
01617 
01621 $wgDBTableOptions = 'ENGINE=InnoDB';
01622 
01629 $wgSQLMode = '';
01630 
01634 $wgDBmwschema = null;
01635 
01639 $wgSQLiteDataDir = '';
01640 
01646 $wgAllDBsAreLocalhost = false;
01647 
01670 $wgSharedDB = null;
01671 
01675 $wgSharedPrefix = false;
01676 
01680 $wgSharedTables = array( 'user', 'user_properties' );
01681 
01732 $wgDBservers = false;
01733 
01744 $wgLBFactoryConf = array( 'class' => 'LBFactorySimple' );
01745 
01750 $wgMasterWaitTimeout = 10;
01751 
01755 $wgDBerrorLog = false;
01756 
01775 $wgDBerrorLogTZ = false;
01776 
01782 $wgDBAvgStatusPoll = 2000;
01783 
01800 $wgDBmysql5 = false;
01801 
01829 $wgDBOracleDRCP = false;
01830 
01836 $wgLocalDatabases = array();
01837 
01843 $wgSlaveLagWarning = 10;
01844 
01848 $wgSlaveLagCritical = 30;
01849 
01853 $wgDBWindowsAuthentication = false;
01854  # End of DB settings }
01856 
01857 /************************************************************************/
01868 $wgCompressRevisions = false;
01869 
01881 $wgExternalStores = array();
01882 
01897 $wgExternalServers = array();
01898 
01913 $wgDefaultExternalStore = false;
01914 
01921 $wgRevisionCacheExpiry = 0;
01922  # end text storage }
01924 
01925 /************************************************************************/
01933 $wgMiserMode = false;
01934 
01938 $wgDisableQueryPages = false;
01939 
01943 $wgQueryCacheLimit = 1000;
01944 
01948 $wgWantedPagesThreshold = 1;
01949 
01953 $wgAllowSlowParserFunctions = false;
01954 
01958 $wgAllowSchemaUpdates = true;
01959 
01967 $wgAntiLockFlags = 0;
01968 
01972 $wgMaxArticleSize = 2048;
01973 
01978 $wgMemoryLimit = "50M";
01979  # end performance hacks }
01981 
01982 /************************************************************************/
01995 $wgCacheDirectory = false;
01996 
02014 $wgMainCacheType = CACHE_NONE;
02015 
02022 $wgMessageCacheType = CACHE_ANYTHING;
02023 
02030 $wgParserCacheType = CACHE_ANYTHING;
02031 
02037 $wgSessionCacheType = CACHE_ANYTHING;
02038 
02047 $wgLanguageConverterCacheType = CACHE_ANYTHING;
02048 
02062 $wgObjectCaches = array(
02063     CACHE_NONE => array( 'class' => 'EmptyBagOStuff' ),
02064     CACHE_DB => array( 'class' => 'SqlBagOStuff', 'table' => 'objectcache' ),
02065 
02066     CACHE_ANYTHING => array( 'factory' => 'ObjectCache::newAnything' ),
02067     CACHE_ACCEL => array( 'factory' => 'ObjectCache::newAccelerator' ),
02068     CACHE_MEMCACHED => array( 'factory' => 'ObjectCache::newMemcached' ),
02069 
02070     'apc' => array( 'class' => 'APCBagOStuff' ),
02071     'xcache' => array( 'class' => 'XCacheBagOStuff' ),
02072     'wincache' => array( 'class' => 'WinCacheBagOStuff' ),
02073     'memcached-php' => array( 'class' => 'MemcachedPhpBagOStuff' ),
02074     'memcached-pecl' => array( 'class' => 'MemcachedPeclBagOStuff' ),
02075     'hash' => array( 'class' => 'HashBagOStuff' ),
02076 );
02077 
02098 $wgBloomFilterStores = array();
02099 
02104 $wgParserCacheExpireTime = 86400;
02105 
02111 $wgSessionsInMemcached = false;
02112 
02119 $wgSessionsInObjectCache = false;
02120 
02125 $wgObjectCacheSessionExpiry = 3600;
02126 
02133 $wgSessionHandler = null;
02134 
02138 $wgMemCachedDebug = false;
02139 
02143 $wgMemCachedServers = array( '127.0.0.1:11211' );
02144 
02149 $wgMemCachedPersistent = false;
02150 
02154 $wgMemCachedTimeout = 500000;
02155 
02160 $wgUseLocalMessageCache = false;
02161 
02168 $wgAdaptiveMessageCache = false;
02169 
02190 $wgLocalisationCacheConf = array(
02191     'class' => 'LocalisationCache',
02192     'store' => 'detect',
02193     'storeClass' => false,
02194     'storeDirectory' => false,
02195     'manualRecache' => false,
02196 );
02197 
02201 $wgCachePages = true;
02202 
02211 $wgCacheEpoch = '20030516000000';
02212 
02217 $wgGitInfoCacheDirectory = false;
02218 
02226 $wgStyleVersion = '303';
02227 
02235 $wgUseFileCache = false;
02236 
02243 $wgFileCacheDepth = 2;
02244 
02254 $wgEnableParserCache = true;
02255 
02260 $wgRenderHashAppend = '';
02261 
02271 $wgEnableSidebarCache = false;
02272 
02276 $wgSidebarCacheExpiry = 86400;
02277 
02284 $wgUseGzip = false;
02285 
02290 $wgUseETag = false;
02291 
02298 $wgClockSkewFudge = 5;
02299 
02309 $wgInvalidateCacheOnLocalSettingsChange = true;
02310  # end of cache settings
02312 
02313 /************************************************************************/
02330 $wgUseSquid = false;
02331 
02335 $wgUseESI = false;
02336 
02340 $wgUseXVO = false;
02341 
02350 $wgVaryOnXFP = false;
02351 
02360 $wgInternalServer = false;
02361 
02368 $wgSquidMaxage = 18000;
02369 
02373 $wgForcedRawSMaxage = 300;
02374 
02383 $wgSquidServers = array();
02384 
02391 $wgSquidServersNoPurge = array();
02392 
02396 $wgMaxSquidPurgeTitles = 400;
02397 
02417 $wgSquidPurgeUseHostHeader = true;
02418 
02470 $wgHTCPRouting = array();
02471 
02476 $wgHTCPMulticastTTL = 1;
02477 
02481 $wgUsePrivateIPs = false;
02482  # end of HTTP proxy settings
02484 
02485 /************************************************************************/
02505 $wgLanguageCode = 'en';
02506 
02511 $wgLangObjCacheSize = 10;
02512 
02522 $wgGrammarForms = array();
02523 
02527 $wgInterwikiMagic = true;
02528 
02532 $wgHideInterlanguageLinks = false;
02533 
02547 $wgExtraInterlanguageLinkPrefixes = array();
02548 
02552 $wgExtraLanguageNames = array();
02553 
02560 $wgDummyLanguageCodes = array(
02561     'als' => 'gsw',
02562     'bat-smg' => 'sgs',
02563     'be-x-old' => 'be-tarask',
02564     'bh' => 'bho',
02565     'fiu-vro' => 'vro',
02566     'no' => 'nb',
02567     'qqq' => 'qqq', # Used for message documentation.
02568     'qqx' => 'qqx', # Used for viewing message keys.
02569     'roa-rup' => 'rup',
02570     'simple' => 'en',
02571     'zh-classical' => 'lzh',
02572     'zh-min-nan' => 'nan',
02573     'zh-yue' => 'yue',
02574 );
02575 
02583 $wgEditEncoding = '';
02584 
02593 $wgFixArabicUnicode = true;
02594 
02604 $wgFixMalayalamUnicode = true;
02605 
02616 $wgAllUnicodeFixes = false;
02617 
02628 $wgLegacyEncoding = false;
02629 
02635 $wgBrowserBlackList = array(
02646     '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02647     '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02648     '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02649 
02663     '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
02664 
02669     '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
02670 );
02671 
02684 $wgLegacySchemaConversion = false;
02685 
02690 $wgAmericanDates = false;
02691 
02696 $wgTranslateNumerals = true;
02697 
02702 $wgUseDatabaseMessages = true;
02703 
02707 $wgMsgCacheExpiry = 86400;
02708 
02712 $wgMaxMsgCacheEntrySize = 10000;
02713 
02717 $wgDisableLangConversion = false;
02718 
02722 $wgDisableTitleConversion = false;
02723 
02727 $wgDefaultLanguageVariant = false;
02728 
02738 $wgDisabledVariants = array();
02739 
02757 $wgVariantArticlePath = false;
02758 
02764 $wgLoginLanguageSelector = false;
02765 
02785 $wgForceUIMsgAsContentMsg = array();
02786 
02810 $wgLocaltimezone = null;
02811 
02821 $wgLocalTZoffset = null;
02822  # End of language/charset settings
02824 
02825 /*************************************************************************/
02833 $wgMimeType = 'text/html';
02834 
02842 $wgJsMimeType = null;
02843 
02851 $wgXhtmlDefaultNamespace = null;
02852 
02860 $wgHtml5 = true;
02861 
02869 $wgHtml5Version = null;
02870 
02878 $wgHTMLFormAllowTableFormat = true;
02879 
02886 $wgUseMediaWikiUIEverywhere = false;
02887 
02892 $wgAllowRdfaAttributes = false;
02893 
02897 $wgAllowMicrodataAttributes = false;
02898 
02915 $wgWellFormedXml = true;
02916 
02931 $wgXhtmlNamespaces = array();
02932 
02938 $wgShowIPinHeader = true;
02939 
02947 $wgSiteNotice = '';
02948 
02952 $wgSiteSupportPage = '';
02953 
02958 $wgValidateAllHtml = false;
02959 
02964 $wgDefaultSkin = 'vector';
02965 
02971 $wgFallbackSkin = 'fallback';
02972 
02978 $wgSkipSkins = array();
02979 
02983 $wgSkipSkin = '';
02984 
02990 $wgAllowUserJs = false;
02991 
02997 $wgAllowUserCss = false;
02998 
03004 $wgAllowUserCssPrefs = true;
03005 
03009 $wgUseSiteJs = true;
03010 
03014 $wgUseSiteCss = true;
03015 
03020 $wgBreakFrames = false;
03021 
03041 $wgEditPageFrameOptions = 'DENY';
03042 
03052 $wgApiFrameOptions = 'DENY';
03053 
03057 $wgDisableOutputCompression = false;
03058 
03068 $wgExperimentalHtmlIds = false;
03069 
03099 $wgFooterIcons = array(
03100     "copyright" => array(
03101         "copyright" => array(), // placeholder for the built in copyright icon
03102     ),
03103     "poweredby" => array(
03104         "mediawiki" => array(
03105             "src" => null, // Defaults to "$wgResourceBasePath/resources/assets/poweredby_mediawiki_88x31.png"
03106             "url" => "//www.mediawiki.org/",
03107             "alt" => "Powered by MediaWiki",
03108         )
03109     ),
03110 );
03111 
03118 $wgUseCombinedLoginLink = false;
03119 
03123 $wgEdititis = false;
03124 
03136 $wgSend404Code = true;
03137 
03146 $wgShowRollbackEditCount = 10;
03147 
03154 $wgEnableCanonicalServerLink = false;
03155  # End of output format settings }
03157 
03158 /*************************************************************************/
03180 $wgResourceModules = array();
03181 
03285 $wgResourceModuleSkinStyles = array();
03286 
03297 $wgResourceLoaderSources = array();
03298 
03303 $wgResourceBasePath = null;
03304 
03321 $wgResourceLoaderMaxage = array(
03322     'versioned' => array(
03323         'server' => 30 * 24 * 60 * 60, // 30 days
03324         'client' => 30 * 24 * 60 * 60, // 30 days
03325     ),
03326     'unversioned' => array(
03327         'server' => 5 * 60, // 5 minutes
03328         'client' => 5 * 60, // 5 minutes
03329     ),
03330 );
03331 
03337 $wgResourceLoaderDebug = false;
03338 
03344 $wgResourceLoaderUseESI = false;
03345 
03350 $wgResourceLoaderMinifierStatementsOnOwnLine = false;
03351 
03357 $wgResourceLoaderMinifierMaxLineLength = 1000;
03358 
03363 $wgIncludeLegacyJavaScript = true;
03364 
03372 $wgIncludejQueryMigrate = false;
03373 
03392 $wgPreloadJavaScriptMwUtil = false;
03393 
03419 $wgLegacyJavaScriptGlobals = true;
03420 
03434 $wgResourceLoaderMaxQueryLength = false;
03435 
03443 $wgResourceLoaderValidateJS = true;
03444 
03453 $wgResourceLoaderValidateStaticJS = false;
03454 
03460 $wgResourceLoaderExperimentalAsyncLoading = false;
03461 
03482 $wgResourceLoaderLESSVars = array();
03483 
03494 $wgResourceLoaderLESSFunctions = array();
03495 
03509 $wgResourceLoaderLESSImportPaths = array(
03510     "$IP/resources/src/mediawiki.less/",
03511 );
03512 
03519 $wgResourceLoaderStorageEnabled = false;
03520 
03527 $wgResourceLoaderStorageVersion = 1;
03528  # End of resource loader settings }
03530 
03531 /*************************************************************************/
03540 $wgMetaNamespace = false;
03541 
03549 $wgMetaNamespaceTalk = false;
03550 
03577 $wgExtraNamespaces = array();
03578 
03585 $wgExtraGenderNamespaces = array();
03586 
03605 $wgNamespaceAliases = array();
03606 
03634 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
03635 
03641 $wgLocalInterwiki = false;
03642 
03651 $wgLocalInterwikis = array();
03652 
03656 $wgInterwikiExpiry = 10800;
03657 
03676 $wgInterwikiCache = false;
03677 
03684 $wgInterwikiScopes = 3;
03685 
03689 $wgInterwikiFallbackSite = 'wiki';
03690  # end of Interwiki caching settings.
03692 
03708 $wgRedirectSources = false;
03709 
03717 $wgCapitalLinks = true;
03718 
03733 $wgCapitalLinkOverrides = array();
03734 
03739 $wgNamespacesWithSubpages = array(
03740     NS_TALK => true,
03741     NS_USER => true,
03742     NS_USER_TALK => true,
03743     NS_PROJECT => true,
03744     NS_PROJECT_TALK => true,
03745     NS_FILE_TALK => true,
03746     NS_MEDIAWIKI => true,
03747     NS_MEDIAWIKI_TALK => true,
03748     NS_TEMPLATE_TALK => true,
03749     NS_HELP => true,
03750     NS_HELP_TALK => true,
03751     NS_CATEGORY_TALK => true
03752 );
03753 
03766 $wgTrackingCategories = array(
03767     'index-category',
03768     'noindex-category',
03769     'expensive-parserfunction-category',
03770     'post-expand-template-argument-category',
03771     'post-expand-template-inclusion-category',
03772     'hidden-category-category',
03773     'broken-file-category',
03774     'node-count-exceeded-category',
03775     'expansion-depth-exceeded-category',
03776 );
03777 
03784 $wgContentNamespaces = array( NS_MAIN );
03785 
03791 $wgMaxRedirects = 1;
03792 
03803 $wgInvalidRedirectTargets = array( 'Filepath', 'Mypage', 'Mytalk', 'Redirect' );
03804  # End of title and interwiki settings }
03806 
03807 /************************************************************************/
03834 $wgParserConf = array(
03835     'class' => 'Parser',
03836     #'preprocessorClass' => 'Preprocessor_Hash',
03837 );
03838 
03842 $wgMaxTocLevel = 999;
03843 
03848 $wgMaxPPNodeCount = 1000000;
03849 
03859 $wgMaxGeneratedPPNodeCount = 1000000;
03860 
03867 $wgMaxTemplateDepth = 40;
03868 
03872 $wgMaxPPExpandDepth = 40;
03873 
03884 $wgUrlProtocols = array(
03885     'bitcoin:', 'ftp://', 'ftps://', 'geo:', 'git://', 'gopher://', 'http://',
03886     'https://', 'irc://', 'ircs://', 'magnet:', 'mailto:', 'mms://', 'news:',
03887     'nntp://', 'redis://', 'sftp://', 'sip:', 'sips:', 'sms:', 'ssh://',
03888     'svn://', 'tel:', 'telnet://', 'urn:', 'worldwind://', 'xmpp:', '//'
03889 );
03890 
03894 $wgCleanSignatures = true;
03895 
03899 $wgAllowExternalImages = false;
03900 
03913 $wgAllowExternalImagesFrom = '';
03914 
03924 $wgEnableImageWhitelist = true;
03925 
03934 $wgAllowImageTag = false;
03935 
03951 $wgUseTidy = false;
03952 
03956 $wgAlwaysUseTidy = false;
03957 
03961 $wgTidyBin = 'tidy';
03962 
03966 $wgTidyConf = $IP . '/includes/tidy.conf';
03967 
03971 $wgTidyOpts = '';
03972 
03976 $wgTidyInternal = extension_loaded( 'tidy' );
03977 
03982 $wgDebugTidy = false;
03983 
03989 $wgRawHtml = false;
03990 
03994 $wgExternalLinkTarget = false;
03995 
04002 $wgNoFollowLinks = true;
04003 
04008 $wgNoFollowNsExceptions = array();
04009 
04024 $wgNoFollowDomainExceptions = array( 'mediawiki.org' );
04025 
04029 $wgAllowDisplayTitle = true;
04030 
04036 $wgRestrictDisplayTitle = true;
04037 
04042 $wgExpensiveParserFunctionLimit = 100;
04043 
04048 $wgPreprocessorCacheThreshold = 1000;
04049 
04053 $wgEnableScaryTranscluding = false;
04054 
04059 $wgTranscludeCacheExpiry = 3600;
04060  # end of parser settings }
04062 
04063 /************************************************************************/
04085 $wgArticleCountMethod = 'link';
04086 
04094 $wgHitcounterUpdateFreq = 1;
04095 
04103 $wgActiveUserDays = 30;
04104  # End of statistics }
04106 
04107 /************************************************************************/
04116 $wgPasswordSalt = true;
04117 
04122 $wgMinimalPasswordLength = 1;
04123 
04129 $wgInvalidPasswordReset = true;
04130 
04136 $wgPasswordDefault = 'pbkdf2';
04137 
04157 $wgPasswordConfig = array(
04158     'A' => array(
04159         'class' => 'MWOldPassword',
04160     ),
04161     'B' => array(
04162         'class' => 'MWSaltedPassword',
04163     ),
04164     'pbkdf2-legacyA' => array(
04165         'class' => 'LayeredParameterizedPassword',
04166         'types' => array(
04167             'A',
04168             'pbkdf2',
04169         ),
04170     ),
04171     'pbkdf2-legacyB' => array(
04172         'class' => 'LayeredParameterizedPassword',
04173         'types' => array(
04174             'B',
04175             'pbkdf2',
04176         ),
04177     ),
04178     'bcrypt' => array(
04179         'class' => 'BcryptPassword',
04180         'cost' => 9,
04181     ),
04182     'pbkdf2' => array(
04183         'class' => 'Pbkdf2Password',
04184         'algo' => 'sha256',
04185         'cost' => '10000',
04186         'length' => '128',
04187     ),
04188 );
04189 
04196 $wgPasswordResetRoutes = array(
04197     'username' => true,
04198     'email' => false,
04199 );
04200 
04204 $wgMaxSigChars = 255;
04205 
04210 $wgMaxNameChars = 255;
04211 
04216 $wgReservedUsernames = array(
04217     'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
04218     'Conversion script', // Used for the old Wikipedia software upgrade
04219     'Maintenance script', // Maintenance scripts which perform editing, image import script
04220     'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
04221     'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
04222     'msg:double-redirect-fixer', // Automatic double redirect fix
04223     'msg:usermessage-editor', // Default user for leaving user messages
04224     'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)
04225 );
04226 
04233 $wgDefaultUserOptions = array(
04234     'ccmeonemails' => 0,
04235     'cols' => 80,
04236     'date' => 'default',
04237     'diffonly' => 0,
04238     'disablemail' => 0,
04239     'editfont' => 'default',
04240     'editondblclick' => 0,
04241     'editsectiononrightclick' => 0,
04242     'enotifminoredits' => 0,
04243     'enotifrevealaddr' => 0,
04244     'enotifusertalkpages' => 1,
04245     'enotifwatchlistpages' => 1,
04246     'extendwatchlist' => 0,
04247     'fancysig' => 0,
04248     'forceeditsummary' => 0,
04249     'gender' => 'unknown',
04250     'hideminor' => 0,
04251     'hidepatrolled' => 0,
04252     'imagesize' => 2,
04253     'math' => 1,
04254     'minordefault' => 0,
04255     'newpageshidepatrolled' => 0,
04256     'nickname' => '',
04257     'norollbackdiff' => 0,
04258     'numberheadings' => 0,
04259     'previewonfirst' => 0,
04260     'previewontop' => 1,
04261     'rcdays' => 7,
04262     'rclimit' => 50,
04263     'rows' => 25,
04264     'showhiddencats' => 0,
04265     'shownumberswatching' => 1,
04266     'showtoolbar' => 1,
04267     'skin' => false,
04268     'stubthreshold' => 0,
04269     'thumbsize' => 5,
04270     'underline' => 2,
04271     'uselivepreview' => 0,
04272     'usenewrc' => 0,
04273     'watchcreations' => 1,
04274     'watchdefault' => 1,
04275     'watchdeletion' => 0,
04276     'watchlistdays' => 3.0,
04277     'watchlisthideanons' => 0,
04278     'watchlisthidebots' => 0,
04279     'watchlisthideliu' => 0,
04280     'watchlisthideminor' => 0,
04281     'watchlisthideown' => 0,
04282     'watchlisthidepatrolled' => 0,
04283     'watchmoves' => 0,
04284     'watchrollback' => 0,
04285     'wllimit' => 250,
04286     'useeditwarning' => 1,
04287     'prefershttps' => 1,
04288 );
04289 
04293 $wgHiddenPrefs = array();
04294 
04300 $wgInvalidUsernameCharacters = '@';
04301 
04311 $wgUserrightsInterwikiDelimiter = '@';
04312 
04319 $wgSecureLogin = false;
04320  # end user accounts }
04322 
04323 /************************************************************************/
04331 $wgAutoblockExpiry = 86400;
04332 
04336 $wgBlockAllowsUTEdit = false;
04337 
04341 $wgSysopEmailBans = true;
04342 
04357 $wgBlockCIDRLimit = array(
04358     'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
04359     'IPv6' => 19,
04360 );
04361 
04369 $wgBlockDisablesLogin = false;
04370 
04388 $wgWhitelistRead = false;
04389 
04416 $wgWhitelistReadRegexp = false;
04417 
04422 $wgEmailConfirmToEdit = false;
04423 
04448 $wgGroupPermissions = array();
04449 
04451 // Implicit group for all visitors
04452 $wgGroupPermissions['*']['createaccount'] = true;
04453 $wgGroupPermissions['*']['read'] = true;
04454 $wgGroupPermissions['*']['edit'] = true;
04455 $wgGroupPermissions['*']['createpage'] = true;
04456 $wgGroupPermissions['*']['createtalk'] = true;
04457 $wgGroupPermissions['*']['writeapi'] = true;
04458 $wgGroupPermissions['*']['editmyusercss'] = true;
04459 $wgGroupPermissions['*']['editmyuserjs'] = true;
04460 $wgGroupPermissions['*']['viewmywatchlist'] = true;
04461 $wgGroupPermissions['*']['editmywatchlist'] = true;
04462 $wgGroupPermissions['*']['viewmyprivateinfo'] = true;
04463 $wgGroupPermissions['*']['editmyprivateinfo'] = true;
04464 $wgGroupPermissions['*']['editmyoptions'] = true;
04465 #$wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
04466 
04467 // Implicit group for all logged-in accounts
04468 $wgGroupPermissions['user']['move'] = true;
04469 $wgGroupPermissions['user']['move-subpages'] = true;
04470 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
04471 $wgGroupPermissions['user']['move-categorypages'] = true;
04472 $wgGroupPermissions['user']['movefile'] = true;
04473 $wgGroupPermissions['user']['read'] = true;
04474 $wgGroupPermissions['user']['edit'] = true;
04475 $wgGroupPermissions['user']['createpage'] = true;
04476 $wgGroupPermissions['user']['createtalk'] = true;
04477 $wgGroupPermissions['user']['writeapi'] = true;
04478 $wgGroupPermissions['user']['upload'] = true;
04479 $wgGroupPermissions['user']['reupload'] = true;
04480 $wgGroupPermissions['user']['reupload-shared'] = true;
04481 $wgGroupPermissions['user']['minoredit'] = true;
04482 $wgGroupPermissions['user']['purge'] = true; // can use ?action=purge without clicking "ok"
04483 $wgGroupPermissions['user']['sendemail'] = true;
04484 
04485 // Implicit group for accounts that pass $wgAutoConfirmAge
04486 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
04487 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true;
04488 
04489 // Users with bot privilege can have their edits hidden
04490 // from various log pages by default
04491 $wgGroupPermissions['bot']['bot'] = true;
04492 $wgGroupPermissions['bot']['autoconfirmed'] = true;
04493 $wgGroupPermissions['bot']['editsemiprotected'] = true;
04494 $wgGroupPermissions['bot']['nominornewtalk'] = true;
04495 $wgGroupPermissions['bot']['autopatrol'] = true;
04496 $wgGroupPermissions['bot']['suppressredirect'] = true;
04497 $wgGroupPermissions['bot']['apihighlimits'] = true;
04498 $wgGroupPermissions['bot']['writeapi'] = true;
04499 
04500 // Most extra permission abilities go to this group
04501 $wgGroupPermissions['sysop']['block'] = true;
04502 $wgGroupPermissions['sysop']['createaccount'] = true;
04503 $wgGroupPermissions['sysop']['delete'] = true;
04504 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
04505 $wgGroupPermissions['sysop']['bigdelete'] = true;
04506 // can view deleted history entries, but not see or restore the text
04507 $wgGroupPermissions['sysop']['deletedhistory'] = true;
04508 // can view deleted revision text
04509 $wgGroupPermissions['sysop']['deletedtext'] = true;
04510 $wgGroupPermissions['sysop']['undelete'] = true;
04511 $wgGroupPermissions['sysop']['editinterface'] = true;
04512 $wgGroupPermissions['sysop']['editusercss'] = true;
04513 $wgGroupPermissions['sysop']['edituserjs'] = true;
04514 $wgGroupPermissions['sysop']['import'] = true;
04515 $wgGroupPermissions['sysop']['importupload'] = true;
04516 $wgGroupPermissions['sysop']['move'] = true;
04517 $wgGroupPermissions['sysop']['move-subpages'] = true;
04518 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
04519 $wgGroupPermissions['sysop']['move-categorypages'] = true;
04520 $wgGroupPermissions['sysop']['patrol'] = true;
04521 $wgGroupPermissions['sysop']['autopatrol'] = true;
04522 $wgGroupPermissions['sysop']['protect'] = true;
04523 $wgGroupPermissions['sysop']['editprotected'] = true;
04524 $wgGroupPermissions['sysop']['proxyunbannable'] = true;
04525 $wgGroupPermissions['sysop']['rollback'] = true;
04526 $wgGroupPermissions['sysop']['upload'] = true;
04527 $wgGroupPermissions['sysop']['reupload'] = true;
04528 $wgGroupPermissions['sysop']['reupload-shared'] = true;
04529 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
04530 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
04531 $wgGroupPermissions['sysop']['editsemiprotected'] = true;
04532 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
04533 $wgGroupPermissions['sysop']['blockemail'] = true;
04534 $wgGroupPermissions['sysop']['markbotedits'] = true;
04535 $wgGroupPermissions['sysop']['apihighlimits'] = true;
04536 $wgGroupPermissions['sysop']['browsearchive'] = true;
04537 $wgGroupPermissions['sysop']['noratelimit'] = true;
04538 $wgGroupPermissions['sysop']['movefile'] = true;
04539 $wgGroupPermissions['sysop']['unblockself'] = true;
04540 $wgGroupPermissions['sysop']['suppressredirect'] = true;
04541 #$wgGroupPermissions['sysop']['pagelang'] = true;
04542 #$wgGroupPermissions['sysop']['upload_by_url'] = true;
04543 $wgGroupPermissions['sysop']['mergehistory'] = true;
04544 
04545 // Permission to change users' group assignments
04546 $wgGroupPermissions['bureaucrat']['userrights'] = true;
04547 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
04548 // Permission to change users' groups assignments across wikis
04549 #$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
04550 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
04551 #$wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
04552 
04553 #$wgGroupPermissions['sysop']['deletelogentry'] = true;
04554 #$wgGroupPermissions['sysop']['deleterevision'] = true;
04555 // To hide usernames from users and Sysops
04556 #$wgGroupPermissions['suppress']['hideuser'] = true;
04557 // To hide revisions/log items from users and Sysops
04558 #$wgGroupPermissions['suppress']['suppressrevision'] = true;
04559 // To view revisions/log items hidden from users and Sysops
04560 #$wgGroupPermissions['suppress']['viewsuppressed'] = true;
04561 // For private suppression log access
04562 #$wgGroupPermissions['suppress']['suppressionlog'] = true;
04563 
04570 # $wgGroupPermissions['developer']['siteadmin'] = true;
04571 
04583 $wgRevokePermissions = array();
04584 
04588 $wgImplicitGroups = array( '*', 'user', 'autoconfirmed' );
04589 
04611 $wgGroupsAddToSelf = array();
04612 
04616 $wgGroupsRemoveFromSelf = array();
04617 
04625 $wgRestrictionTypes = array( 'create', 'edit', 'move', 'upload' );
04626 
04638 $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' );
04639 
04649 $wgCascadingRestrictionLevels = array( 'sysop' );
04650 
04663 $wgSemiprotectedRestrictionLevels = array( 'autoconfirmed' );
04664 
04672 $wgNamespaceProtection = array();
04673 
04683 $wgNonincludableNamespaces = array();
04684 
04705 $wgAutoConfirmAge = 0;
04706 
04716 $wgAutoConfirmCount = 0;
04717 
04741 $wgAutopromote = array(
04742     'autoconfirmed' => array( '&',
04743         array( APCOND_EDITCOUNT, &$wgAutoConfirmCount ),
04744         array( APCOND_AGE, &$wgAutoConfirmAge ),
04745     ),
04746 );
04747 
04767 $wgAutopromoteOnce = array(
04768     'onEdit' => array(),
04769     'onView' => array()
04770 );
04771 
04776 $wgAutopromoteOnceLogInRC = true;
04777 
04800 $wgAddGroups = array();
04801 
04805 $wgRemoveGroups = array();
04806 
04811 $wgAvailableRights = array();
04812 
04817 $wgDeleteRevisionsLimit = 0;
04818 
04826 $wgHideUserContribLimit = 1000;
04827 
04833 $wgAccountCreationThrottle = 0;
04834 
04846 $wgSpamRegex = array();
04847 
04851 $wgSummarySpamRegex = array();
04852 
04858 $wgEnableDnsBlacklist = false;
04859 
04883 $wgDnsBlacklistUrls = array( 'http.dnsbl.sorbs.net.' );
04884 
04889 $wgProxyWhitelist = array();
04890 
04896 $wgApplyIpBlocksToXff = false;
04897 
04918 $wgRateLimits = array(
04919     'edit' => array(
04920         'anon' => null, // for any and all anonymous edits (aggregate)
04921         'user' => null, // for each logged-in user
04922         'newbie' => null, // for each recent (autoconfirmed) account; overrides 'user'
04923         'ip' => null, // for each anon and recent account
04924         'subnet' => null, // ... within a /24 subnet in IPv4 or /64 in IPv6
04925     ),
04926     'move' => array(
04927         'user' => null,
04928         'newbie' => null,
04929         'ip' => null,
04930         'subnet' => null,
04931     ),
04932     'mailpassword' => array( // triggering password resets emails
04933         'anon' => null,
04934     ),
04935     'emailuser' => array( // emailing other users using MediaWiki
04936         'user' => null,
04937     ),
04938     'linkpurge' => array( // purges of link tables
04939         'anon' => null,
04940         'user' => null,
04941         'newbie' => null,
04942         'ip' => null,
04943         'subnet' => null,
04944     ),
04945     'renderfile' => array( // files rendered via thumb.php or thumb_handler.php
04946         'anon' => null,
04947         'user' => null,
04948         'newbie' => null,
04949         'ip' => null,
04950         'subnet' => null,
04951     ),
04952     'renderfile-nonstandard' => array( // same as above but for non-standard thumbnails
04953         'anon' => null,
04954         'user' => null,
04955         'newbie' => null,
04956         'ip' => null,
04957         'subnet' => null,
04958     ),
04959 );
04960 
04966 $wgRateLimitLog = null;
04967 
04972 $wgRateLimitsExcludedIPs = array();
04973 
04979 $wgPutIPinRC = true;
04980 
04985 $wgQueryPageDefaultLimit = 50;
04986 
04992 $wgPasswordAttemptThrottle = array( 'count' => 5, 'seconds' => 300 );
04993  # end of user rights settings
04995 
04996 /************************************************************************/
05004 $wgSecretKey = false;
05005 
05015 $wgProxyList = array();
05016  # end of proxy scanner settings
05018 
05019 /************************************************************************/
05027 $wgCookieExpiration = 180 * 86400;
05028 
05033 $wgCookieDomain = '';
05034 
05039 $wgCookiePath = '/';
05040 
05047 $wgCookieSecure = 'detect';
05048 
05055 $wgDisableCookieCheck = false;
05056 
05062 $wgCookiePrefix = false;
05063 
05069 $wgCookieHttpOnly = true;
05070 
05074 $wgCacheVaryCookies = array();
05075 
05079 $wgSessionName = false;
05080  # end of cookie settings }
05082 
05083 /************************************************************************/
05094 $wgUseTeX = false;
05095  # end LaTeX }
05097 
05098 /************************************************************************/
05111 $wgDebugLogFile = '';
05112 
05116 $wgDebugLogPrefix = '';
05117 
05123 $wgDebugRedirects = false;
05124 
05130 $wgDebugRawPage = false;
05131 
05140 $wgDebugComments = false;
05141 
05147 $wgDebugDBTransactions = false;
05148 
05157 $wgDebugDumpSql = false;
05158 
05164 $wgDebugDumpSqlLength = 500;
05165 
05193 $wgDebugLogGroups = array();
05194 
05200 $wgShowDebug = false;
05201 
05206 $wgDebugTimestamps = false;
05207 
05211 $wgDebugPrintHttpHeaders = true;
05212 
05216 $wgSpecialVersionShowHooks = false;
05217 
05223 $wgShowSQLErrors = false;
05224 
05231 $wgShowExceptionDetails = false;
05232 
05241 $wgShowDBErrorBacktrace = false;
05242 
05246 $wgLogExceptionBacktrace = true;
05247 
05251 $wgShowHostnames = false;
05252 
05258 $wgOverrideHostname = false;
05259 
05264 $wgDevelopmentWarnings = false;
05265 
05271 $wgDeprecationReleaseLimit = false;
05272 
05276 $wgProfileLimit = 0.0;
05277 
05284 $wgProfileOnly = false;
05285 
05289 $wgProfileCallTree = false;
05290 
05294 $wgProfilePerHost = false;
05295 
05303 $wgUDPProfilerHost = '127.0.0.1';
05304 
05309 $wgUDPProfilerPort = '3811';
05310 
05320 $wgUDPProfilerFormatString = "%s - %d %f %f %f %f %s\n";
05321 
05325 $wgDebugFunctionEntry = false;
05326 
05333 $wgStatsMethod = 'cache';
05334 
05341 $wgAggregateStatsID = false;
05342 
05354 $wgStatsFormatString = "stats/%s - %s 1 1 1 1 %s\n";
05355 
05360 $wgDisableCounters = false;
05361 
05367 $wgPageInfoTransclusionLimit = 50;
05368 
05375 $wgSiteStatsAsyncFactor = false;
05376 
05386 $wgParserTestFiles = array(
05387     "$IP/tests/parser/parserTests.txt",
05388     "$IP/tests/parser/extraParserTests.txt"
05389 );
05390 
05394 $wgEnableJavaScriptTest = false;
05395 
05399 $wgJavaScriptTestConfig = array(
05400     'qunit' => array(
05401         // Page where documentation can be found relevant to the QUnit test suite being ran.
05402         // Used in the intro paragraph on [[Special:JavaScriptTest/qunit]] for the
05403         // documentation link in the "javascripttest-qunit-intro" message.
05404         'documentation' => '//www.mediawiki.org/wiki/Manual:JavaScript_unit_testing',
05405         // If you are submitting the QUnit test suite to a TestSwarm instance,
05406         // point this to the "inject.js" script of that instance. This is was registers
05407         // the QUnit hooks to extract the test results and push them back up into the
05408         // TestSwarm database.
05409         // @example 'http://localhost/testswarm/js/inject.js'
05410         // @example '//integration.mediawiki.org/testswarm/js/inject.js'
05411         'testswarm-injectjs' => false,
05412     ),
05413 );
05414 
05419 $wgCachePrefix = false;
05420 
05428 $wgDebugToolbar = false;
05429  # end of profiling, testing and debugging }
05431 
05432 /************************************************************************/
05440 $wgDisableTextSearch = false;
05441 
05446 $wgAdvancedSearchHighlighting = false;
05447 
05452 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
05453 
05462 $wgOpenSearchTemplate = false;
05463 
05470 $wgEnableOpenSearchSuggest = true;
05471 
05476 $wgOpenSearchDefaultLimit = 10;
05477 
05481 $wgSearchSuggestCacheExpiry = 1200;
05482 
05487 $wgDisableSearchUpdate = false;
05488 
05498 $wgNamespacesToBeSearchedDefault = array(
05499     NS_MAIN => true,
05500 );
05501 
05506 $wgDisableInternalSearch = false;
05507 
05523 $wgSearchForwardUrl = null;
05524 
05530 $wgUseTwoButtonsSearchForm = true;
05531 
05537 $wgSitemapNamespaces = false;
05538 
05553 $wgSitemapNamespacesPriorities = false;
05554 
05560 $wgEnableSearchContributorsByIP = true;
05561  # end of search settings
05563 
05564 /************************************************************************/
05573 $wgDiff3 = '/usr/bin/diff3';
05574 
05578 $wgDiff = '/usr/bin/diff';
05579 
05585 $wgPreviewOnOpenNamespaces = array(
05586     NS_CATEGORY => true
05587 );
05588 
05592 $wgGoToEdit = false;
05593 
05599 $wgUniversalEditButton = true;
05600 
05606 $wgUseAutomaticEditSummaries = true;
05607  # end edit UI }
05609 
05610 /************************************************************************/
05620 if ( !isset( $wgCommandLineMode ) ) {
05621     $wgCommandLineMode = false;
05622 }
05628 $wgCommandLineDarkBg = false;
05629 
05638 $wgReadOnly = null;
05639 
05647 $wgReadOnlyFile = false;
05648 
05658 $wgUpgradeKey = false;
05659 
05663 $wgGitBin = '/usr/bin/git';
05664 
05677 $wgGitRepositoryViewers = array(
05678     'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
05679         'https://git.wikimedia.org/tree/%r/%H',
05680     'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
05681         'https://git.wikimedia.org/tree/%r/%H',
05682 );
05683  # End of maintenance }
05685 
05686 /************************************************************************/
05696 $wgRCMaxAge = 13 * 7 * 24 * 3600;
05697 
05705 $wgRCFilterByAge = false;
05706 
05711 $wgRCLinkLimits = array( 50, 100, 250, 500 );
05712 
05717 $wgRCLinkDays = array( 1, 3, 7, 14, 30 );
05718 
05760 $wgRCFeeds = array();
05761 
05766 $wgRCEngines = array(
05767     'redis' => 'RedisPubSubFeedEngine',
05768     'udp' => 'UDPRCFeedEngine',
05769 );
05770 
05774 $wgUseRCPatrol = true;
05775 
05779 $wgUseNPPatrol = true;
05780 
05784 $wgLogAutopatrol = true;
05785 
05789 $wgFeed = true;
05790 
05795 $wgFeedLimit = 50;
05796 
05805 $wgFeedCacheTimeout = 60;
05806 
05811 $wgFeedDiffCutoff = 32768;
05812 
05825 $wgOverrideSiteFeed = array();
05826 
05832 $wgFeedClasses = array(
05833     'rss' => 'RSSFeed',
05834     'atom' => 'AtomFeed',
05835 );
05836 
05841 $wgAdvertisedFeedTypes = array( 'atom' );
05842 
05846 $wgRCShowWatchingUsers = false; # UPO
05847 
05851 $wgPageShowWatchingUsers = false;
05852 
05856 $wgRCShowChangedSize = true;
05857 
05863 $wgRCChangedSizeThreshold = 500;
05864 
05869 $wgShowUpdatedMarker = true;
05870 
05875 $wgDisableAnonTalk = false;
05876 
05880 $wgAllowCategorizedRecentChanges = false;
05881 
05886 $wgUseTagFilter = true;
05887 
05895 $wgUnwatchedPageThreshold = false;
05896 
05917 $wgRecentChangesFlags = array(
05918     'newpage' => array(
05919         'letter' => 'newpageletter',
05920         'title' => 'recentchanges-label-newpage',
05921         'legend' => 'recentchanges-legend-newpage',
05922     ),
05923     'minor' => array(
05924         'letter' => 'minoreditletter',
05925         'title' => 'recentchanges-label-minor',
05926         'legend' => 'recentchanges-legend-minor',
05927         'class' => 'minoredit',
05928     ),
05929     'bot' => array(
05930         'letter' => 'boteditletter',
05931         'title' => 'recentchanges-label-bot',
05932         'legend' => 'recentchanges-legend-bot',
05933         'class' => 'botedit',
05934     ),
05935     'unpatrolled' => array(
05936         'letter' => 'unpatrolledletter',
05937         'title' => 'recentchanges-label-unpatrolled',
05938         'legend' => 'recentchanges-legend-unpatrolled',
05939     ),
05940 );
05941  # end RC/watchlist }
05943 
05944 /************************************************************************/
05956 $wgRightsPage = null;
05957 
05963 $wgRightsUrl = null;
05964 
05971 $wgRightsText = null;
05972 
05976 $wgRightsIcon = null;
05977 
05982 $wgCopyrightIcon = null;
05983 
05987 $wgUseCopyrightUpload = false;
05988 
05996 $wgMaxCredits = 0;
05997 
06002 $wgShowCreditsIfMax = true;
06003  # end of copyright and credits settings }
06005 
06006 /************************************************************************/
06030 $wgImportSources = array();
06031 
06039 $wgImportTargetNamespace = null;
06040 
06046 $wgExportAllowHistory = true;
06047 
06053 $wgExportMaxHistory = 0;
06054 
06058 $wgExportAllowListContributors = false;
06059 
06071 $wgExportMaxLinkDepth = 0;
06072 
06076 $wgExportFromNamespaces = false;
06077 
06081 $wgExportAllowAll = false;
06082  # end of import/export }
06084 
06085 /*************************************************************************/
06094 $wgExtensionFunctions = array();
06095 
06122 $wgExtensionMessagesFiles = array();
06123 
06147 $wgMessagesDirs = array(
06148     'core' => "$IP/languages/i18n",
06149     'oojs-ui' => "$IP/resources/lib/oojs-ui/i18n",
06150 );
06151 
06157 $wgExtensionEntryPointListFiles = array();
06158 
06173 $wgParserOutputHooks = array();
06174 
06178 $wgEnableParserLimitReporting = true;
06179 
06188 $wgValidSkinNames = array();
06189 
06196 $wgSpecialPages = array();
06197 
06201 $wgAutoloadClasses = array();
06202 
06208 $wgAutoloadAttemptLowercase = true;
06209 
06262 $wgExtensionCredits = array();
06263 
06268 $wgAuth = null;
06269 
06304 $wgHooks = array();
06305 
06310 $wgJobClasses = array(
06311     'refreshLinks' => 'RefreshLinksJob',
06312     'refreshLinks2' => 'RefreshLinksJob2', // b/c
06313     'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
06314     'sendMail' => 'EmaillingJob',
06315     'enotifNotify' => 'EnotifNotifyJob',
06316     'fixDoubleRedirect' => 'DoubleRedirectJob',
06317     'uploadFromUrl' => 'UploadFromUrlJob',
06318     'AssembleUploadChunks' => 'AssembleUploadChunksJob',
06319     'PublishStashedFile' => 'PublishStashedFileJob',
06320     'null' => 'NullJob'
06321 );
06322 
06334 $wgJobTypesExcludedFromDefaultQueue = array( 'AssembleUploadChunks', 'PublishStashedFile' );
06335 
06345 $wgJobBackoffThrottling = array();
06346 
06353 $wgJobTypeConf = array(
06354     'default' => array( 'class' => 'JobQueueDB', 'order' => 'random' ),
06355 );
06356 
06361 $wgJobQueueAggregator = array(
06362     'class' => 'JobQueueAggregatorMemc'
06363 );
06364 
06369 $wgSpecialPageCacheUpdates = array(
06370     'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' ),
06371     'Activeusers' => array( 'SpecialActiveUsers', 'cacheUpdate' ),
06372 );
06373 
06381 $wgExceptionHooks = array();
06382 
06390 $wgPagePropLinkInvalidations = array(
06391     'hiddencat' => 'categorylinks',
06392 );
06393  # End extensions }
06395 
06396 /*************************************************************************/
06404 $wgUseCategoryBrowser = false;
06405 
06410 $wgCategoryMagicGallery = true;
06411 
06415 $wgCategoryPagingLimit = 200;
06416 
06442 $wgCategoryCollation = 'uppercase';
06443  # End categories }
06445 
06446 /*************************************************************************/
06457 $wgLogTypes = array(
06458     '',
06459     'block',
06460     'protect',
06461     'rights',
06462     'delete',
06463     'upload',
06464     'move',
06465     'import',
06466     'patrol',
06467     'merge',
06468     'suppress',
06469 );
06470 
06478 $wgLogRestrictions = array(
06479     'suppress' => 'suppressionlog'
06480 );
06481 
06504 $wgFilterLogTypes = array(
06505     'patrol' => true
06506 );
06507 
06517 $wgLogNames = array(
06518     '' => 'all-logs-page',
06519     'block' => 'blocklogpage',
06520     'protect' => 'protectlogpage',
06521     'rights' => 'rightslog',
06522     'delete' => 'dellogpage',
06523     'upload' => 'uploadlogpage',
06524     'move' => 'movelogpage',
06525     'import' => 'importlogpage',
06526     'patrol' => 'patrol-log-page',
06527     'merge' => 'mergelog',
06528     'suppress' => 'suppressionlog',
06529 );
06530 
06540 $wgLogHeaders = array(
06541     '' => 'alllogstext',
06542     'block' => 'blocklogtext',
06543     'protect' => 'protectlogtext',
06544     'rights' => 'rightslogtext',
06545     'delete' => 'dellogpagetext',
06546     'upload' => 'uploadlogpagetext',
06547     'move' => 'movelogpagetext',
06548     'import' => 'importlogpagetext',
06549     'patrol' => 'patrol-log-header',
06550     'merge' => 'mergelogpagetext',
06551     'suppress' => 'suppressionlogtext',
06552 );
06553 
06560 $wgLogActions = array(
06561     'block/block' => 'blocklogentry',
06562     'block/unblock' => 'unblocklogentry',
06563     'block/reblock' => 'reblock-logentry',
06564     'protect/protect' => 'protectedarticle',
06565     'protect/modify' => 'modifiedarticleprotection',
06566     'protect/unprotect' => 'unprotectedarticle',
06567     'protect/move_prot' => 'movedarticleprotection',
06568     'import/upload' => 'import-logentry-upload',
06569     'import/interwiki' => 'import-logentry-interwiki',
06570     'merge/merge' => 'pagemerge-logentry',
06571     'suppress/block' => 'blocklogentry',
06572     'suppress/reblock' => 'reblock-logentry',
06573 );
06574 
06581 $wgLogActionsHandlers = array(
06582     'move/move' => 'MoveLogFormatter',
06583     'move/move_redir' => 'MoveLogFormatter',
06584     'delete/delete' => 'DeleteLogFormatter',
06585     'delete/restore' => 'DeleteLogFormatter',
06586     'delete/revision' => 'DeleteLogFormatter',
06587     'delete/event' => 'DeleteLogFormatter',
06588     'suppress/revision' => 'DeleteLogFormatter',
06589     'suppress/event' => 'DeleteLogFormatter',
06590     'suppress/delete' => 'DeleteLogFormatter',
06591     'patrol/patrol' => 'PatrolLogFormatter',
06592     'rights/rights' => 'RightsLogFormatter',
06593     'rights/autopromote' => 'RightsLogFormatter',
06594     'upload/upload' => 'LogFormatter',
06595     'upload/overwrite' => 'LogFormatter',
06596     'upload/revert' => 'LogFormatter',
06597 );
06598 
06602 $wgNewUserLog = true;
06603  # end logging }
06605 
06606 /*************************************************************************/
06614 $wgAllowSpecialInclusion = true;
06615 
06620 $wgDisableQueryPageUpdate = false;
06621 
06628 $wgSpecialPageGroups = array();
06629 
06634 $wgCountCategorizedImagesAsUsed = false;
06635 
06640 $wgMaxRedirectLinksRetrieved = 500;
06641  # end special pages }
06643 
06644 /*************************************************************************/
06659 $wgActions = array(
06660     'credits' => true,
06661     'delete' => true,
06662     'edit' => true,
06663     'history' => true,
06664     'info' => true,
06665     'markpatrolled' => true,
06666     'protect' => true,
06667     'purge' => true,
06668     'raw' => true,
06669     'render' => true,
06670     'revert' => true,
06671     'revisiondelete' => true,
06672     'rollback' => true,
06673     'submit' => true,
06674     'unprotect' => true,
06675     'unwatch' => true,
06676     'view' => true,
06677     'watch' => true,
06678 );
06679  # end actions }
06681 
06682 /*************************************************************************/
06693 $wgDefaultRobotPolicy = 'index,follow';
06694 
06709 $wgNamespaceRobotPolicies = array();
06710 
06737 $wgArticleRobotPolicies = array();
06738 
06749 $wgExemptFromUserRobotsControl = null;
06750  # End robot policy }
06752 
06753 /************************************************************************/
06767 $wgEnableAPI = true;
06768 
06774 $wgEnableWriteAPI = true;
06775 
06790 $wgDebugAPI = false;
06791 
06828 $wgAPIModules = array();
06829 
06837 $wgAPIFormatModules = array();
06838 
06846 $wgAPIMetaModules = array();
06847 
06855 $wgAPIPropModules = array();
06856 
06864 $wgAPIListModules = array();
06865 
06870 $wgAPIGeneratorModules = array();
06871 
06876 $wgAPIMaxDBRows = 5000;
06877 
06882 $wgAPIMaxResultSize = 8388608;
06883 
06888 $wgAPIMaxUncachedDiffs = 1;
06889 
06894 $wgAPIRequestLog = false;
06895 
06899 $wgAPICacheHelpTimeout = 60 * 60;
06900 
06905 $wgAPIUselessQueryPages = array(
06906     'MIMEsearch', // aiprop=mime
06907     'LinkSearch', // list=exturlusage
06908     'FileDuplicateSearch', // prop=duplicatefiles
06909 );
06910 
06914 $wgUseAjax = true;
06915 
06920 $wgAjaxExportList = array();
06921 
06926 $wgAjaxWatch = true;
06927 
06931 $wgAjaxUploadDestCheck = true;
06932 
06936 $wgAjaxLicensePreview = true;
06937 
06958 $wgCrossSiteAJAXdomains = array();
06959 
06965 $wgCrossSiteAJAXdomainExceptions = array();
06966  # End AJAX and API }
06968 
06969 /************************************************************************/
06977 $wgMaxShellMemory = 307200;
06978 
06983 $wgMaxShellFileSize = 102400;
06984 
06988 $wgMaxShellTime = 180;
06989 
06994 $wgMaxShellWallClockTime = 180;
06995 
07019 $wgShellCgroup = false;
07020 
07024 $wgPhpCli = '/usr/bin/php';
07025 
07031 $wgShellLocale = 'en_US.utf8';
07032  # End shell }
07034 
07035 /************************************************************************/
07043 $wgHTTPTimeout = 25;
07044 
07048 $wgAsyncHTTPTimeout = 25;
07049 
07053 $wgHTTPProxy = false;
07054 
07059 $wgHTTPConnectTimeout = 5e0;
07060  # End HTTP client }
07062 
07063 /************************************************************************/
07075 $wgJobRunRate = 1;
07076 
07083 $wgRunJobsAsync = true;
07084 
07088 $wgUpdateRowsPerJob = 500;
07089 
07093 $wgUpdateRowsPerQuery = 100;
07094  # End job queue }
07096 
07097 /************************************************************************/
07105 $wgExternalDiffEngine = false;
07106 
07115 $wgDisableHardRedirects = false;
07116 
07121 $wgLinkHolderBatchSize = 1000;
07122 
07127 $wgRegisterInternalExternals = false;
07128 
07132 $wgMaximumMovedPages = 100;
07133 
07138 $wgFixDoubleRedirects = false;
07139 
07144 $wgRedirectOnLogin = null;
07145 
07166 $wgPoolCounterConf = null;
07167 
07171 $wgUploadMaintenance = false;
07172 
07181 $wgNamespaceContentModels = array();
07182 
07193 $wgContentHandlerTextFallback = 'ignore';
07194 
07208 $wgContentHandlerUseDB = true;
07209 
07220 $wgTextModelsToParse = array(
07221     CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
07222     CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
07223     CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
07224 );
07225 
07231 $wgRequirePasswordforEmailChange = true;
07232 
07238 $wgSiteTypes = array(
07239     'mediawiki' => 'MediaWikiSite',
07240 );
07241 
07247 $wgPagePropsHaveSortkey = true;
07248 
07255 $wgHttpsPort = 443;
07256 
07264 $wgHKDFSecret = false;
07265 $wgHKDFAlgorithm = 'sha256';
07266 
07273 $wgPageLanguageUseDB = false;
07274 
07281 $wgUseLinkNamespaceDBFields = true;
07282