MediaWiki  REL1_21
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 
00066 $wgVersion = '1.21.11';
00067 
00071 $wgSitename = 'MediaWiki';
00072 
00089 $wgServer = WebRequest::detectServer();
00090 
00098 $wgCanonicalServer = false;
00099 
00100 /************************************************************************/
00114 $wgScriptPath = '/wiki';
00115 
00133 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) &&
00134         ( strpos( PHP_SAPI, 'apache2filter' ) === false ) &&
00135         ( strpos( PHP_SAPI, 'isapi' ) === false );
00136 
00145 $wgScriptExtension = '.php';
00146 
00149 /************************************************************************/
00172 $wgScript = false;
00173 
00180 $wgRedirectScript = false;
00181 
00188 $wgLoadScript = false;
00189 
00195 $wgStylePath = false;
00196 $wgStyleSheetPath = &$wgStylePath;
00197 
00203 $wgLocalStylePath = false;
00204 
00210 $wgExtensionAssetsPath = false;
00211 
00217 $wgStyleDirectory = false;
00218 
00226 $wgArticlePath = false;
00227 
00232 $wgUploadPath = false;
00233 
00237 $wgUploadDirectory = false;
00238 
00243 $wgFileCacheDirectory = false;
00244 
00249 $wgLogo = false;
00250 
00255 $wgFavicon = '/favicon.ico';
00256 
00262 $wgAppleTouchIcon = false;
00263 
00279 $wgTmpDirectory = false;
00280 
00286 $wgUploadBaseUrl = '';
00287 
00295 $wgUploadStashScalerBaseUrl = false;
00296 
00311 $wgActionPaths = array();
00312 
00315 /************************************************************************/
00321 $wgEnableUploads = false;
00322 
00326 $wgUploadStashMaxAge = 6 * 3600; // 6 hours
00327 
00329 $wgAllowImageMoving = true;
00330 
00336 $wgEnableAsyncUploads = false;
00337 
00343 $wgAllowChunkedUploads = false;
00344 
00348 $wgIllegalFileChars = ":";
00349 
00353 $wgFileStore = array();
00354 
00359 $wgDeletedDirectory = false;
00360 
00364 $wgImgAuthDetails = false;
00365 
00371 $wgImgAuthPublicTest = true;
00372 
00457 $wgLocalFileRepo = false;
00458 
00460 $wgForeignFileRepos = array();
00461 
00467 $wgUseInstantCommons = false;
00468 
00500 $wgFileBackends = array();
00501 
00512 $wgLockManagers = array();
00513 
00526 $wgShowEXIF = function_exists( 'exif_read_data' );
00527 
00533 $wgUpdateCompatibleMetadata = false;
00534 
00548 $wgUseSharedUploads = false;
00549 
00551 $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images";
00552 
00554 $wgFetchCommonsDescriptions = false;
00555 
00557 $wgSharedUploadDirectory = "/var/www/wiki3/images";
00558 
00560 $wgSharedUploadDBname = false;
00561 
00563 $wgSharedUploadDBprefix = '';
00564 
00566 $wgCacheSharedUploads = true;
00567 
00573 $wgAllowCopyUploads = false;
00574 
00579 $wgAllowAsyncCopyUploads = false;
00580 
00586 $wgCopyUploadsDomains = array();
00587 
00593 $wgCopyUploadsFromSpecialUpload = false;
00594 
00599 $wgCopyUploadProxy = false;
00600 
00618 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB
00619 
00630 $wgUploadNavigationUrl = false;
00631 
00637 $wgUploadMissingFileUrl = false;
00638 
00650 $wgThumbnailScriptPath = false;
00654 $wgSharedThumbnailScriptPath = false;
00655 
00669 $wgHashedUploadDirectory = true;
00670 
00676 $wgHashedSharedUploadDirectory = true;
00677 
00686 $wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/File:";
00687 
00696 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
00697 
00703 $wgFileBlacklist = array(
00704         # HTML may contain cookie-stealing JavaScript and web bugs
00705         'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht',
00706         # PHP scripts may execute arbitrary code on the server
00707         'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
00708         # Other types that may be interpreted by some servers
00709         'shtml', 'jhtml', 'pl', 'py', 'cgi',
00710         # May contain harmful executables for Windows victims
00711         'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
00712 
00717 $wgMimeTypeBlacklist = array(
00718         # HTML may contain cookie-stealing JavaScript and web bugs
00719         'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
00720         # PHP scripts may execute arbitrary code on the server
00721         'application/x-php', 'text/x-php',
00722         # Other types that may be interpreted by some servers
00723         'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
00724         # Client-side hazards on Internet Explorer
00725         'text/scriptlet', 'application/x-msdownload',
00726         # Windows metafile, client-side vulnerability on some systems
00727         'application/x-msmetafile',
00728 );
00729 
00735 $wgAllowJavaUploads = false;
00736 
00742 $wgCheckFileExtensions = true;
00743 
00750 $wgStrictFileExtensions = true;
00751 
00758 $wgDisableUploadScriptChecks = false;
00759 
00763 $wgUploadSizeWarning = false;
00764 
00775 $wgTrustedMediaFormats = array(
00776         MEDIATYPE_BITMAP, //all bitmap formats
00777         MEDIATYPE_AUDIO, //all audio formats
00778         MEDIATYPE_VIDEO, //all plain video formats
00779         "image/svg+xml", //svg (only needed if inline rendering of svg is not supported)
00780         "application/pdf", //PDF files
00781         #"application/x-shockwave-flash", //flash/shockwave movie
00782 );
00783 
00788 $wgMediaHandlers = array(
00789         'image/jpeg' => 'JpegHandler',
00790         'image/png' => 'PNGHandler',
00791         'image/gif' => 'GIFHandler',
00792         'image/tiff' => 'TiffHandler',
00793         'image/x-ms-bmp' => 'BmpHandler',
00794         'image/x-bmp' => 'BmpHandler',
00795         'image/x-xcf' => 'XCFHandler',
00796         'image/svg+xml' => 'SvgHandler', // official
00797         'image/svg' => 'SvgHandler', // compat
00798         'image/vnd.djvu' => 'DjVuHandler', // official
00799         'image/x.djvu' => 'DjVuHandler', // compat
00800         'image/x-djvu' => 'DjVuHandler', // compat
00801 );
00802 
00809 $wgContentHandlers = array(
00810         // the usual case
00811         CONTENT_MODEL_WIKITEXT => 'WikitextContentHandler',
00812         // dumb version, no syntax highlighting
00813         CONTENT_MODEL_JAVASCRIPT => 'JavaScriptContentHandler',
00814         // dumb version, no syntax highlighting
00815         CONTENT_MODEL_CSS => 'CssContentHandler',
00816         // plain text, for use by extensions etc
00817         CONTENT_MODEL_TEXT => 'TextContentHandler',
00818 );
00819 
00828 $wgUseImageMagick = false;
00830 $wgImageMagickConvertCommand = '/usr/bin/convert';
00832 $wgImageMagickIdentifyCommand = '/usr/bin/identify';
00833 
00835 $wgSharpenParameter = '0x0.4';
00836 
00838 $wgSharpenReductionThreshold = 0.85;
00839 
00844 $wgImageMagickTempDir = false;
00845 
00858 $wgCustomConvertCommand = false;
00859 
00864 $wgJpegTran = '/usr/bin/jpegtran';
00865 
00866 
00871 $wgExiv2Command = '/usr/bin/exiv2';
00872 
00882 $wgSVGConverters = array(
00883         'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height\! $input PNG:$output',
00884         'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output',
00885         'inkscape' => '$path/inkscape -z -w $width -f $input -e $output',
00886         'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input',
00887         'rsvg' => '$path/rsvg -w $width -h $height $input $output',
00888         'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output',
00889         'ImagickExt' => array( 'SvgHandler::rasterizeImagickExt' ),
00890 );
00891 
00893 $wgSVGConverter = 'ImageMagick';
00894 
00896 $wgSVGConverterPath = '';
00897 
00899 $wgSVGMaxSize = 2048;
00900 
00904 $wgSVGMetadataCutoff = 262144;
00905 
00917 $wgAllowTitlesInSVG = false;
00918 
00932 $wgMaxImageArea = 1.25e7;
00939 $wgMaxAnimatedGifArea = 1.25e7;
00953 $wgTiffThumbnailType = false;
00954 
00961 $wgThumbnailEpoch = '20030516000000';
00962 
00974 $wgIgnoreImageErrors = false;
00975 
00983 $wgGenerateThumbnailOnParse = true;
00984 
00988 $wgShowArchiveThumbnails = true;
00989 
00991 $wgUseImageResize = true;
00992 
00998 $wgEnableAutoRotation = null;
00999 
01005 $wgAntivirus = null;
01006 
01041 $wgAntivirusSetup = array(
01042 
01043         #setup for clamav
01044         'clamav' => array(
01045                 'command' => 'clamscan --no-summary ',
01046                 'codemap' => array(
01047                         "0" => AV_NO_VIRUS, # no virus
01048                         "1" => AV_VIRUS_FOUND, # virus found
01049                         "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune)
01050                         "*" => AV_SCAN_FAILED, # else scan failed
01051                 ),
01052                 'messagepattern' => '/.*?:(.*)/sim',
01053         ),
01054 );
01055 
01057 $wgAntivirusRequired = true;
01058 
01060 $wgVerifyMimeType = true;
01061 
01063 $wgMimeTypeFile = 'includes/mime.types';
01064 #$wgMimeTypeFile = '/etc/mime.types';
01065 #$wgMimeTypeFile = null; #use built-in defaults only.
01066 
01068 $wgMimeInfoFile = 'includes/mime.info';
01069 #$wgMimeInfoFile = null; #use built-in defaults only.
01070 
01076 $wgLoadFileinfoExtension = false;
01077 
01088 $wgMimeDetectorCommand = null;
01089 
01095 $wgTrivialMimeDetection = false;
01096 
01101 $wgXMLMimeTypes = array(
01102         'http://www.w3.org/2000/svg:svg' => 'image/svg+xml',
01103         'svg' => 'image/svg+xml',
01104         'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram',
01105         'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml?
01106         'html' => 'text/html', // application/xhtml+xml?
01107 );
01108 
01117 $wgImageLimits = array(
01118         array( 320, 240 ),
01119         array( 640, 480 ),
01120         array( 800, 600 ),
01121         array( 1024, 768 ),
01122         array( 1280, 1024 )
01123 );
01124 
01130 $wgThumbLimits = array(
01131         120,
01132         150,
01133         180,
01134         200,
01135         250,
01136         300
01137 );
01138 
01142 $wgGalleryOptions = array(
01143         'imagesPerRow' => 0, // Default number of images per-row in the gallery. 0 -> Adapt to screensize
01144         'imageWidth' => 120, // Width of the cells containing images in galleries (in "px")
01145         'imageHeight' => 120, // Height of the cells containing images in galleries (in "px")
01146         'captionLength' => 25, // Length of caption to truncate (in characters)
01147         'showBytes' => true, // Show the filesize in bytes in categories
01148 );
01149 
01155 $wgThumbUpright = 0.75;
01156 
01160 $wgDirectoryMode = 0777;
01161 
01170 $wgResponsiveImages = true;
01171 
01180 # $wgDjvuDump = 'djvudump';
01181 $wgDjvuDump = null;
01182 
01187 # $wgDjvuRenderer = 'ddjvu';
01188 $wgDjvuRenderer = null;
01189 
01194 # $wgDjvuTxt = 'djvutxt';
01195 $wgDjvuTxt = null;
01196 
01211 $wgDjvuToXML = null;
01212 
01218 $wgDjvuPostProcessor = 'pnmtojpeg';
01222 $wgDjvuOutputExtension = 'jpg'; # end of DJvu }
01224  # end of file uploads }
01226 
01227 /************************************************************************/
01232 $serverName = substr( $wgServer, strrpos( $wgServer, '/' ) + 1 );
01233 
01237 $wgEmergencyContact = 'wikiadmin@' . $serverName;
01238 
01244 $wgPasswordSender = 'apache@' . $serverName;
01245 
01246 unset( $serverName ); # Don't leak local variables to global scope
01247 
01251 $wgPasswordSenderName = 'MediaWiki Mail';
01252 
01258 $wgNoReplyAddress = '[email protected]';
01259 
01265 $wgEnableEmail = true;
01266 
01271 $wgEnableUserEmail = true;
01272 
01281 $wgUserEmailUseReplyTo = false;
01282 
01287 $wgPasswordReminderResendTime = 24;
01288 
01292 $wgNewPasswordExpiry = 3600 * 24 * 7;
01293 
01297 $wgUserEmailConfirmationTokenExpiry = 7 * 24 * 60 * 60;
01298 
01316 $wgSMTP = false;
01317 
01322 $wgAdditionalMailParams = null;
01323 
01328 $wgAllowHTMLEmail = false;
01329 
01334 $wgEnotifFromEditor = false;
01335 
01336 // TODO move UPO to preferences probably ?
01337 # If set to true, users get a corresponding option in their preferences and can choose to enable or disable at their discretion
01338 # If set to false, the corresponding input form on the user preference page is suppressed
01339 # It call this to be a "user-preferences-option (UPO)"
01340 
01346 $wgEmailAuthentication = true;
01347 
01351 $wgEnotifWatchlist = false;
01352 
01357 $wgEnotifUserTalk = false;
01358 
01363 $wgEnotifRevealEditorAddress = false;
01364 
01369 $wgEnotifMinorEdits = true;
01370 
01378 $wgEnotifImpersonal = false;
01379 
01384 $wgEnotifMaxRecips = 500;
01385 
01390 $wgEnotifUseJobQ = false;
01391 
01395 $wgEnotifUseRealName = false;
01396 
01401 $wgUsersNotifiedOnAllChanges = array();
01402 
01403  # end of email settings
01405 
01406 /************************************************************************//**
01407  * @name   Database settings
01408  * @{
01409  */
01411 $wgDBserver = 'localhost';
01413 $wgDBport = 5432;
01415 $wgDBname = 'my_wiki';
01417 $wgDBuser = 'wikiuser';
01419 $wgDBpassword = '';
01421 $wgDBtype = 'mysql';
01423 $wgDBssl = false;
01425 $wgDBcompress = false;
01426 
01428 $wgDBadminuser = null;
01430 $wgDBadminpassword = null;
01431 
01438 $wgSearchType = null;
01439 
01441 $wgDBprefix = '';
01443 $wgDBTableOptions = 'ENGINE=InnoDB';
01444 
01451 $wgSQLMode = '';
01452 
01454 $wgDBmwschema = 'mediawiki';
01455 
01457 $wgSQLiteDataDir = '';
01458 
01464 $wgAllDBsAreLocalhost = false;
01465 
01488 $wgSharedDB = null;
01489 
01491 $wgSharedPrefix = false;
01493 $wgSharedTables = array( 'user', 'user_properties' );
01494 
01541 $wgDBservers = false;
01542 
01553 $wgLBFactoryConf = array( 'class' => 'LBFactory_Simple' );
01554 
01556 $wgMasterWaitTimeout = 10;
01557 
01559 $wgDBerrorLog = false;
01560 
01579 $wgDBerrorLogTZ = false;
01580 
01582 $wgDBClusterTimeout = 10;
01583 
01589 $wgDBAvgStatusPoll = 2000;
01590 
01607 $wgDBmysql5 = false;
01608 
01614 $wgLocalDatabases = array();
01615 
01621 $wgSlaveLagWarning = 10;
01623 $wgSlaveLagCritical = 30;
01624 
01628 $wgOldChangeTagsIndex = false;
01629  # End of DB settings }
01631 
01632 /************************************************************************//**
01633  * @name   Text storage
01634  * @{
01635  */
01636 
01643 $wgCompressRevisions = false;
01644 
01656 $wgExternalStores = false;
01657 
01672 $wgExternalServers = array();
01673 
01688 $wgDefaultExternalStore = false;
01689 
01696 $wgRevisionCacheExpiry = 0;
01697  # end text storage }
01699 
01700 /************************************************************************//**
01701  * @name   Performance hacks and limits
01702  * @{
01703  */
01705 $wgMiserMode = false;
01707 $wgDisableQueryPages = false;
01709 $wgQueryCacheLimit = 1000;
01711 $wgWantedPagesThreshold = 1;
01713 $wgAllowSlowParserFunctions = false;
01715 $wgAllowSchemaUpdates = true;
01716 
01720 $wgUseDumbLinkUpdate = false;
01721 
01729 $wgAntiLockFlags = 0;
01730 
01734 $wgMaxArticleSize = 2048;
01735 
01740 $wgMemoryLimit = "50M";
01741  # end performance hacks }
01743 
01744 /************************************************************************//**
01745  * @name   Cache settings
01746  * @{
01747  */
01748 
01757 $wgCacheDirectory = false;
01758 
01779 $wgMainCacheType = CACHE_NONE;
01780 
01787 $wgMessageCacheType = CACHE_ANYTHING;
01788 
01795 $wgParserCacheType = CACHE_ANYTHING;
01796 
01802 $wgSessionCacheType = CACHE_ANYTHING;
01803 
01812 $wgLanguageConverterCacheType = CACHE_ANYTHING;
01813 
01831 $wgObjectCaches = array(
01832         CACHE_NONE => array( 'class' => 'EmptyBagOStuff' ),
01833         CACHE_DB => array( 'class' => 'SqlBagOStuff', 'table' => 'objectcache' ),
01834         CACHE_DBA => array( 'class' => 'DBABagOStuff' ),
01835 
01836         CACHE_ANYTHING => array( 'factory' => 'ObjectCache::newAnything' ),
01837         CACHE_ACCEL => array( 'factory' => 'ObjectCache::newAccelerator' ),
01838         CACHE_MEMCACHED => array( 'factory' => 'ObjectCache::newMemcached' ),
01839 
01840         'apc' => array( 'class' => 'APCBagOStuff' ),
01841         'xcache' => array( 'class' => 'XCacheBagOStuff' ),
01842         'wincache' => array( 'class' => 'WinCacheBagOStuff' ),
01843         'memcached-php' => array( 'class' => 'MemcachedPhpBagOStuff' ),
01844         'memcached-pecl' => array( 'class' => 'MemcachedPeclBagOStuff' ),
01845         'hash' => array( 'class' => 'HashBagOStuff' ),
01846 );
01847 
01852 $wgParserCacheExpireTime = 86400;
01853 
01858 $wgDBAhandler = 'db3';
01859 
01865 $wgSessionsInMemcached = false;
01866 
01873 $wgSessionsInObjectCache = false;
01874 
01879 $wgObjectCacheSessionExpiry = 3600;
01880 
01887 $wgSessionHandler = null;
01888 
01890 $wgMemCachedDebug = false;
01891 
01893 $wgMemCachedServers = array( '127.0.0.1:11000' );
01894 
01899 $wgMemCachedPersistent = false;
01900 
01904 $wgMemCachedTimeout = 500000;
01905 
01910 $wgUseLocalMessageCache = false;
01911 
01917 $wgLocalMessageCacheSerialized = true;
01918 
01925 $wgAdaptiveMessageCache = false;
01926 
01947 $wgLocalisationCacheConf = array(
01948         'class' => 'LocalisationCache',
01949         'store' => 'detect',
01950         'storeClass' => false,
01951         'storeDirectory' => false,
01952         'manualRecache' => false,
01953 );
01954 
01956 $wgCachePages = true;
01957 
01966 $wgCacheEpoch = '20030516000000';
01967 
01975 $wgStyleVersion = '303';
01976 
01984 $wgUseFileCache = false;
01985 
01992 $wgFileCacheDepth = 2;
01993 
02003 $wgEnableParserCache = true;
02004 
02009 $wgRenderHashAppend = '';
02010 
02020 $wgEnableSidebarCache = false;
02021 
02025 $wgSidebarCacheExpiry = 86400;
02026 
02033 $wgUseGzip = false;
02034 
02039 $wgUseETag = false;
02040 
02046 $wgClockSkewFudge = 5;
02047 
02057 $wgInvalidateCacheOnLocalSettingsChange = true;
02058  # end of cache settings
02060 
02061 /************************************************************************//**
02062  * @name   HTTP proxy (Squid) settings
02063  *
02064  * Many of these settings apply to any HTTP proxy used in front of MediaWiki,
02065  * although they are referred to as Squid settings for historical reasons.
02066  *
02067  * Achieving a high hit ratio with an HTTP proxy requires special
02068  * configuration. See http://www.mediawiki.org/wiki/Manual:Squid_caching for
02069  * more details.
02070  *
02071  * @{
02072  */
02073 
02078 $wgUseSquid = false;
02079 
02081 $wgUseESI = false;
02082 
02084 $wgUseXVO = false;
02085 
02093 $wgVaryOnXFP = false;
02094 
02103 $wgInternalServer = false;
02104 
02111 $wgSquidMaxage = 18000;
02112 
02116 $wgForcedRawSMaxage = 300;
02117 
02126 $wgSquidServers = array();
02127 
02132 $wgSquidServersNoPurge = array();
02133 
02135 $wgMaxSquidPurgeTitles = 400;
02136 
02156 $wgSquidPurgeUseHostHeader = true;
02157 
02187 $wgHTCPMulticastRouting = array();
02188 
02202 $wgHTCPMulticastAddress = false;
02203 
02209 $wgHTCPPort = 4827;
02210 
02215 $wgHTCPMulticastTTL = 1;
02216 
02218 $wgUsePrivateIPs = false;
02219  # end of HTTP proxy settings
02221 
02222 /************************************************************************//**
02223  * @name   Language, regional and character encoding settings
02224  * @{
02225  */
02226 
02242 $wgLanguageCode = 'en';
02243 
02248 $wgLangObjCacheSize = 10;
02249 
02259 $wgGrammarForms = array();
02260 
02262 $wgInterwikiMagic = true;
02263 
02265 $wgHideInterlanguageLinks = false;
02266 
02268 $wgExtraLanguageNames = array();
02269 
02276 $wgDummyLanguageCodes = array(
02277         'als' => 'gsw',
02278         'bat-smg' => 'sgs',
02279         'be-x-old' => 'be-tarask',
02280         'bh' => 'bho',
02281         'fiu-vro' => 'vro',
02282         'no' => 'nb',
02283         'qqq' => 'qqq', # Used for message documentation.
02284         'qqx' => 'qqx', # Used for viewing message keys.
02285         'roa-rup' => 'rup',
02286         'simple' => 'en',
02287         'zh-classical' => 'lzh',
02288         'zh-min-nan' => 'nan',
02289         'zh-yue' => 'yue',
02290 );
02291 
02299 $wgEditEncoding = '';
02300 
02309 $wgFixArabicUnicode = true;
02310 
02320 $wgFixMalayalamUnicode = true;
02321 
02332 $wgAllUnicodeFixes = false;
02333 
02344 $wgLegacyEncoding = false;
02345 
02351 $wgBrowserBlackList = array(
02362         '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02363         '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02364         '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/',
02365 
02378         '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
02379 
02384         '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/'
02385 );
02386 
02399 $wgLegacySchemaConversion = false;
02400 
02405 $wgAmericanDates = false;
02410 $wgTranslateNumerals = true;
02411 
02416 $wgUseDatabaseMessages = true;
02417 
02421 $wgMsgCacheExpiry = 86400;
02422 
02426 $wgMaxMsgCacheEntrySize = 10000;
02427 
02429 $wgDisableLangConversion = false;
02430 
02432 $wgDisableTitleConversion = false;
02433 
02435 $wgCanonicalLanguageLinks = true;
02436 
02438 $wgDefaultLanguageVariant = false;
02439 
02449 $wgDisabledVariants = array();
02450 
02468 $wgVariantArticlePath = false;
02469 
02475 $wgLoginLanguageSelector = false;
02476 
02496 $wgForceUIMsgAsContentMsg = array();
02497 
02521 $wgLocaltimezone = null;
02522 
02532 $wgLocalTZoffset = null;
02533  # End of language/charset settings
02535 
02536 /*************************************************************************//**
02537  * @name   Output format and skin settings
02538  * @{
02539  */
02540 
02542 $wgMimeType = 'text/html';
02543 
02550 $wgJsMimeType = 'text/javascript';
02551 
02556 $wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
02557 
02563 $wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
02564 
02570 $wgXhtmlDefaultNamespace = 'http://www.w3.org/1999/xhtml';
02571 
02578 $wgHtml5 = true;
02579 
02588 $wgHtml5Version = null;
02589 
02594 $wgAllowRdfaAttributes = false;
02595 
02599 $wgAllowMicrodataAttributes = false;
02600 
02617 $wgWellFormedXml = true;
02618 
02634 $wgXhtmlNamespaces = array();
02635 
02641 $wgShowIPinHeader = true;
02642 
02650 $wgSiteNotice = '';
02651 
02655 $wgExtraSubtitle = '';
02656 
02660 $wgSiteSupportPage = '';
02661 
02666 $wgValidateAllHtml = false;
02667 
02674 $wgDefaultSkin = 'vector';
02675 
02681 $wgSkipSkin = '';
02683 $wgSkipSkins = array();
02684 
02697 $wgHandheldStyle = false;
02698 
02709 $wgHandheldForIPhone = false;
02710 
02716 $wgAllowUserJs = false;
02717 
02723 $wgAllowUserCss = false;
02724 
02730 $wgAllowUserCssPrefs = true;
02731 
02733 $wgUseSiteJs = true;
02734 
02736 $wgUseSiteCss = true;
02737 
02742 $wgBreakFrames = false;
02743 
02763 $wgEditPageFrameOptions = 'DENY';
02764 
02775 $wgApiFrameOptions = 'DENY';
02776 
02780 $wgDisableOutputCompression = false;
02781 
02791 $wgExperimentalHtmlIds = false;
02792 
02821 $wgFooterIcons = array(
02822         "copyright" => array(
02823                 "copyright" => array(), // placeholder for the built in copyright icon
02824         ),
02825         "poweredby" => array(
02826                 "mediawiki" => array(
02827                         "src" => null, // Defaults to "$wgStylePath/common/images/poweredby_mediawiki_88x31.png"
02828                         "url" => "//www.mediawiki.org/",
02829                         "alt" => "Powered by MediaWiki",
02830                 )
02831         ),
02832 );
02833 
02840 $wgUseCombinedLoginLink = false;
02841 
02847 $wgVectorUseSimpleSearch = true;
02848 
02854 $wgVectorUseIconWatch = false;
02855 
02859 $wgEdititis = false;
02860 
02867 $wgBetterDirectionality = true;
02868 
02880 $wgSend404Code = true;
02881 
02890 $wgShowRollbackEditCount = 10;
02891 
02898 $wgEnableCanonicalServerLink = false;
02899  # End of output format settings }
02901 
02902 /*************************************************************************/
02924 $wgResourceModules = array();
02925 
02939 $wgResourceLoaderSources = array();
02940 
02945 $wgResourceBasePath = null;
02946 
02952 $wgResourceLoaderMaxage = array(
02953         'versioned' => array(
02954                 // Squid/Varnish but also any other public proxy cache between the client and MediaWiki
02955                 'server' => 30 * 24 * 60 * 60, // 30 days
02956                 // On the client side (e.g. in the browser cache).
02957                 'client' => 30 * 24 * 60 * 60, // 30 days
02958         ),
02959         'unversioned' => array(
02960                 'server' => 5 * 60, // 5 minutes
02961                 'client' => 5 * 60, // 5 minutes
02962         ),
02963 );
02964 
02970 $wgResourceLoaderDebug = false;
02971 
02977 $wgResourceLoaderUseESI = false;
02978 
02983 $wgResourceLoaderMinifierStatementsOnOwnLine = false;
02984 
02990 $wgResourceLoaderMinifierMaxLineLength = 1000;
02991 
02996 $wgIncludeLegacyJavaScript = true;
02997 
03016 $wgPreloadJavaScriptMwUtil = false;
03017 
03043 $wgLegacyJavaScriptGlobals = true;
03044 
03056 $wgResourceLoaderMaxQueryLength = -1;
03057 
03065 $wgResourceLoaderValidateJS = true;
03066 
03075 $wgResourceLoaderValidateStaticJS = false;
03076 
03082 $wgResourceLoaderExperimentalAsyncLoading = false;
03083  # End of resource loader settings }
03085 
03086 /*************************************************************************/
03095 $wgMetaNamespace = false;
03096 
03104 $wgMetaNamespaceTalk = false;
03105 
03132 $wgExtraNamespaces = array();
03133 
03140 $wgExtraGenderNamespaces = array();
03141 
03160 $wgNamespaceAliases = array();
03161 
03188 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+";
03189 
03193 $wgLocalInterwiki = false;
03194 
03198 $wgInterwikiExpiry = 10800;
03199 
03217 $wgInterwikiCache = false;
03224 $wgInterwikiScopes = 3;
03228 $wgInterwikiFallbackSite = 'wiki'; # end of Interwiki caching settings.
03230 
03246 $wgRedirectSources = false;
03247 
03255 $wgCapitalLinks = true;
03256 
03271 $wgCapitalLinkOverrides = array();
03272 
03276 $wgNamespacesWithSubpages = array(
03277         NS_TALK => true,
03278         NS_USER => true,
03279         NS_USER_TALK => true,
03280         NS_PROJECT => true,
03281         NS_PROJECT_TALK => true,
03282         NS_FILE_TALK => true,
03283         NS_MEDIAWIKI => true,
03284         NS_MEDIAWIKI_TALK => true,
03285         NS_TEMPLATE_TALK => true,
03286         NS_HELP => true,
03287         NS_HELP_TALK => true,
03288         NS_CATEGORY_TALK => true
03289 );
03290 
03297 $wgContentNamespaces = array( NS_MAIN );
03298 
03304 $wgMaxRedirects = 1;
03305 
03316 $wgInvalidRedirectTargets = array( 'Filepath', 'Mypage', 'Mytalk' );
03317  # End of title and interwiki settings }
03319 
03320 /************************************************************************/
03347 $wgParserConf = array(
03348         'class' => 'Parser',
03349         #'preprocessorClass' => 'Preprocessor_Hash',
03350 );
03351 
03353 $wgMaxTocLevel = 999;
03354 
03359 $wgMaxPPNodeCount = 1000000;
03360 
03370 $wgMaxGeneratedPPNodeCount = 1000000;
03371 
03378 $wgMaxTemplateDepth = 40;
03379 
03381 $wgMaxPPExpandDepth = 40;
03382 
03384 $wgUrlProtocols = array(
03385         'http://',
03386         'https://',
03387         'ftp://',
03388         'irc://',
03389         'ircs://', // @bug 28503
03390         'gopher://',
03391         'telnet://', // Well if we're going to support the above.. -ævar
03392         'nntp://', // @bug 3808 RFC 1738
03393         'worldwind://',
03394         'mailto:',
03395         'news:',
03396         'svn://',
03397         'git://',
03398         'mms://',
03399         '//', // for protocol-relative URLs
03400 );
03401 
03405 $wgCleanSignatures = true;
03406 
03408 $wgAllowExternalImages = false;
03409 
03422 $wgAllowExternalImagesFrom = '';
03423 
03432 $wgEnableImageWhitelist = true;
03433 
03442 $wgAllowImageTag = false;
03443 
03459 $wgUseTidy = false;
03461 $wgAlwaysUseTidy = false;
03463 $wgTidyBin = 'tidy';
03465 $wgTidyConf = $IP . '/includes/tidy.conf';
03467 $wgTidyOpts = '';
03469 $wgTidyInternal = extension_loaded( 'tidy' );
03470 
03475 $wgDebugTidy = false;
03476 
03481 $wgRawHtml = false;
03482 
03486 $wgExternalLinkTarget = false;
03487 
03494 $wgNoFollowLinks = true;
03495 
03500 $wgNoFollowNsExceptions = array();
03501 
03513 $wgNoFollowDomainExceptions = array();
03514 
03518 $wgAllowDisplayTitle = true;
03519 
03524 $wgRestrictDisplayTitle = true;
03525 
03530 $wgExpensiveParserFunctionLimit = 100;
03531 
03536 $wgPreprocessorCacheThreshold = 1000;
03537 
03541 $wgEnableScaryTranscluding = false;
03542 
03546 $wgTranscludeCacheExpiry = 3600;
03547  # end of parser settings }
03549 
03550 /************************************************************************/
03575 $wgArticleCountMethod = null;
03576 
03581 $wgUseCommaCount = false;
03582 
03590 $wgHitcounterUpdateFreq = 1;
03591 
03598 $wgActiveUserDays = 30;
03599  # End of statistics }
03601 
03602 /************************************************************************/
03608 $wgPasswordSalt = true;
03609 
03614 $wgMinimalPasswordLength = 1;
03615 
03622 $wgPasswordResetRoutes = array(
03623         'username' => true,
03624         'email' => false,
03625 );
03626 
03630 $wgMaxSigChars = 255;
03631 
03636 $wgMaxNameChars = 255;
03637 
03642 $wgReservedUsernames = array(
03643         'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages
03644         'Conversion script', // Used for the old Wikipedia software upgrade
03645         'Maintenance script', // Maintenance scripts which perform editing, image import script
03646         'Template namespace initialisation script', // Used in 1.2->1.3 upgrade
03647         'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php
03648         'msg:double-redirect-fixer', // Automatic double redirect fix
03649         'msg:usermessage-editor', // Default user for leaving user messages
03650         'msg:proxyblocker', // For Special:Blockme
03651 );
03652 
03660 $wgDefaultUserOptions = array(
03661         'ccmeonemails' => 0,
03662         'cols' => 80,
03663         'date' => 'default',
03664         'diffonly' => 0,
03665         'disablemail' => 0,
03666         'disablesuggest' => 0,
03667         'editfont' => 'default',
03668         'editondblclick' => 0,
03669         'editsection' => 1,
03670         'editsectiononrightclick' => 0,
03671         'enotifminoredits' => 0,
03672         'enotifrevealaddr' => 0,
03673         'enotifusertalkpages' => 1,
03674         'enotifwatchlistpages' => 0,
03675         'extendwatchlist' => 0,
03676         'externaldiff' => 0,
03677         'externaleditor' => 0,
03678         'fancysig' => 0,
03679         'forceeditsummary' => 0,
03680         'gender' => 'unknown',
03681         'hideminor' => 0,
03682         'hidepatrolled' => 0,
03683         'imagesize' => 2,
03684         'justify' => 0,
03685         'math' => 1,
03686         'minordefault' => 0,
03687         'newpageshidepatrolled' => 0,
03688         'nocache' => 0,
03689         'noconvertlink' => 0,
03690         'norollbackdiff' => 0,
03691         'numberheadings' => 0,
03692         'previewonfirst' => 0,
03693         'previewontop' => 1,
03694         'quickbar' => 5,
03695         'rcdays' => 7,
03696         'rclimit' => 50,
03697         'rememberpassword' => 0,
03698         'rows' => 25,
03699         'searchlimit' => 20,
03700         'showhiddencats' => 0,
03701         'showjumplinks' => 1,
03702         'shownumberswatching' => 1,
03703         'showtoc' => 1,
03704         'showtoolbar' => 1,
03705         'skin' => false,
03706         'stubthreshold' => 0,
03707         'thumbsize' => 2,
03708         'underline' => 2,
03709         'uselivepreview' => 0,
03710         'usenewrc' => 0,
03711         'watchcreations' => 0,
03712         'watchdefault' => 0,
03713         'watchdeletion' => 0,
03714         'watchlistdays' => 3.0,
03715         'watchlisthideanons' => 0,
03716         'watchlisthidebots' => 0,
03717         'watchlisthideliu' => 0,
03718         'watchlisthideminor' => 0,
03719         'watchlisthideown' => 0,
03720         'watchlisthidepatrolled' => 0,
03721         'watchmoves' => 0,
03722         'wllimit' => 250,
03723 );
03724 
03726 $wgHiddenPrefs = array();
03727 
03733 $wgInvalidUsernameCharacters = '@';
03734 
03744 $wgUserrightsInterwikiDelimiter = '@';
03745 
03757 $wgExternalAuthType = null;
03758 
03766 $wgExternalAuthConf = array();
03767 
03776 $wgAutocreatePolicy = 'login';
03777 
03801 $wgAllowPrefChange = array();
03802 
03809 $wgSecureLogin = false;
03810 
03816 $wgSecureLoginDefaultHTTPS = true;
03817  # end user accounts }
03819 
03820 /************************************************************************/
03828 $wgAutoblockExpiry = 86400;
03829 
03833 $wgBlockAllowsUTEdit = false;
03834 
03836 $wgSysopEmailBans = true;
03837 
03852 $wgBlockCIDRLimit = array(
03853         'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
03854         'IPv6' => 19,
03855 );
03856 
03864 $wgBlockDisablesLogin = false;
03865 
03883 $wgWhitelistRead = false;
03884 
03911 $wgWhitelistReadRegexp = false;
03912 
03917 $wgEmailConfirmToEdit = false;
03918 
03943 $wgGroupPermissions = array();
03944 
03946 // Implicit group for all visitors
03947 $wgGroupPermissions['*']['createaccount'] = true;
03948 $wgGroupPermissions['*']['read'] = true;
03949 $wgGroupPermissions['*']['edit'] = true;
03950 $wgGroupPermissions['*']['createpage'] = true;
03951 $wgGroupPermissions['*']['createtalk'] = true;
03952 $wgGroupPermissions['*']['writeapi'] = true;
03953 #$wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled
03954 
03955 // Implicit group for all logged-in accounts
03956 $wgGroupPermissions['user']['move'] = true;
03957 $wgGroupPermissions['user']['move-subpages'] = true;
03958 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages
03959 $wgGroupPermissions['user']['movefile'] = true;
03960 $wgGroupPermissions['user']['read'] = true;
03961 $wgGroupPermissions['user']['edit'] = true;
03962 $wgGroupPermissions['user']['createpage'] = true;
03963 $wgGroupPermissions['user']['createtalk'] = true;
03964 $wgGroupPermissions['user']['writeapi'] = true;
03965 $wgGroupPermissions['user']['upload'] = true;
03966 $wgGroupPermissions['user']['reupload'] = true;
03967 $wgGroupPermissions['user']['reupload-shared'] = true;
03968 $wgGroupPermissions['user']['minoredit'] = true;
03969 $wgGroupPermissions['user']['purge'] = true; // can use ?action=purge without clicking "ok"
03970 $wgGroupPermissions['user']['sendemail'] = true;
03971 
03972 // Implicit group for accounts that pass $wgAutoConfirmAge
03973 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
03974 
03975 // Users with bot privilege can have their edits hidden
03976 // from various log pages by default
03977 $wgGroupPermissions['bot']['bot'] = true;
03978 $wgGroupPermissions['bot']['autoconfirmed'] = true;
03979 $wgGroupPermissions['bot']['nominornewtalk'] = true;
03980 $wgGroupPermissions['bot']['autopatrol'] = true;
03981 $wgGroupPermissions['bot']['suppressredirect'] = true;
03982 $wgGroupPermissions['bot']['apihighlimits'] = true;
03983 $wgGroupPermissions['bot']['writeapi'] = true;
03984 #$wgGroupPermissions['bot']['editprotected'] = true; // can edit all protected pages without cascade protection enabled
03985 
03986 // Most extra permission abilities go to this group
03987 $wgGroupPermissions['sysop']['block'] = true;
03988 $wgGroupPermissions['sysop']['createaccount'] = true;
03989 $wgGroupPermissions['sysop']['delete'] = true;
03990 $wgGroupPermissions['sysop']['bigdelete'] = true; // can be separately configured for pages with > $wgDeleteRevisionsLimit revs
03991 $wgGroupPermissions['sysop']['deletedhistory'] = true; // can view deleted history entries, but not see or restore the text
03992 $wgGroupPermissions['sysop']['deletedtext'] = true; // can view deleted revision text
03993 $wgGroupPermissions['sysop']['undelete'] = true;
03994 $wgGroupPermissions['sysop']['editinterface'] = true;
03995 $wgGroupPermissions['sysop']['editusercss'] = true;
03996 $wgGroupPermissions['sysop']['edituserjs'] = true;
03997 $wgGroupPermissions['sysop']['import'] = true;
03998 $wgGroupPermissions['sysop']['importupload'] = true;
03999 $wgGroupPermissions['sysop']['move'] = true;
04000 $wgGroupPermissions['sysop']['move-subpages'] = true;
04001 $wgGroupPermissions['sysop']['move-rootuserpages'] = true;
04002 $wgGroupPermissions['sysop']['patrol'] = true;
04003 $wgGroupPermissions['sysop']['autopatrol'] = true;
04004 $wgGroupPermissions['sysop']['protect'] = true;
04005 $wgGroupPermissions['sysop']['proxyunbannable'] = true;
04006 $wgGroupPermissions['sysop']['rollback'] = true;
04007 $wgGroupPermissions['sysop']['upload'] = true;
04008 $wgGroupPermissions['sysop']['reupload'] = true;
04009 $wgGroupPermissions['sysop']['reupload-shared'] = true;
04010 $wgGroupPermissions['sysop']['unwatchedpages'] = true;
04011 $wgGroupPermissions['sysop']['autoconfirmed'] = true;
04012 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
04013 $wgGroupPermissions['sysop']['blockemail'] = true;
04014 $wgGroupPermissions['sysop']['markbotedits'] = true;
04015 $wgGroupPermissions['sysop']['apihighlimits'] = true;
04016 $wgGroupPermissions['sysop']['browsearchive'] = true;
04017 $wgGroupPermissions['sysop']['noratelimit'] = true;
04018 $wgGroupPermissions['sysop']['movefile'] = true;
04019 $wgGroupPermissions['sysop']['unblockself'] = true;
04020 $wgGroupPermissions['sysop']['suppressredirect'] = true;
04021 #$wgGroupPermissions['sysop']['upload_by_url'] = true;
04022 #$wgGroupPermissions['sysop']['mergehistory'] = true;
04023 
04024 // Permission to change users' group assignments
04025 $wgGroupPermissions['bureaucrat']['userrights'] = true;
04026 $wgGroupPermissions['bureaucrat']['noratelimit'] = true;
04027 // Permission to change users' groups assignments across wikis
04028 #$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true;
04029 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth
04030 #$wgGroupPermissions['bureaucrat']['override-export-depth'] = true;
04031 
04032 #$wgGroupPermissions['sysop']['deletelogentry'] = true;
04033 #$wgGroupPermissions['sysop']['deleterevision'] = true;
04034 // To hide usernames from users and Sysops
04035 #$wgGroupPermissions['suppress']['hideuser'] = true;
04036 // To hide revisions/log items from users and Sysops
04037 #$wgGroupPermissions['suppress']['suppressrevision'] = true;
04038 // For private suppression log access
04039 #$wgGroupPermissions['suppress']['suppressionlog'] = true;
04040 
04047 # $wgGroupPermissions['developer']['siteadmin'] = true;
04048 
04060 $wgRevokePermissions = array();
04061 
04065 $wgImplicitGroups = array( '*', 'user', 'autoconfirmed' );
04066 
04089 $wgGroupsAddToSelf = array();
04090 
04092 $wgGroupsRemoveFromSelf = array();
04093 
04101 $wgRestrictionTypes = array( 'create', 'edit', 'move', 'upload' );
04102 
04113 $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' );
04114 
04122 $wgNamespaceProtection = array();
04123 
04133 $wgNonincludableNamespaces = array();
04134 
04155 $wgAutoConfirmAge = 0;
04156 
04166 $wgAutoConfirmCount = 0;
04167 
04191 $wgAutopromote = array(
04192         'autoconfirmed' => array( '&',
04193                 array( APCOND_EDITCOUNT, &$wgAutoConfirmCount ),
04194                 array( APCOND_AGE, &$wgAutoConfirmAge ),
04195         ),
04196 );
04197 
04217 $wgAutopromoteOnce = array(
04218         'onEdit' => array(),
04219         'onView' => array()
04220 );
04221 
04226 $wgAutopromoteOnceLogInRC = true;
04227 
04250 $wgAddGroups = array();
04252 $wgRemoveGroups = array();
04253 
04258 $wgAvailableRights = array();
04259 
04264 $wgDeleteRevisionsLimit = 0;
04265 
04271 $wgAccountCreationThrottle = 0;
04272 
04284 $wgSpamRegex = array();
04285 
04287 $wgSummarySpamRegex = array();
04288 
04294 $wgEnableDnsBlacklist = false;
04295 
04300 $wgEnableSorbs = false;
04301 
04325 $wgDnsBlacklistUrls = array( 'http.dnsbl.sorbs.net.' );
04326 
04331 $wgSorbsUrl = array();
04332 
04337 $wgProxyWhitelist = array();
04338 
04359 $wgRateLimits = array(
04360         'edit' => array(
04361                 'anon' => null, // for any and all anonymous edits (aggregate)
04362                 'user' => null, // for each logged-in user
04363                 'newbie' => null, // for each recent (autoconfirmed) account; overrides 'user'
04364                 'ip' => null, // for each anon and recent account
04365                 'subnet' => null, // ... with final octet removed
04366         ),
04367         'move' => array(
04368                 'user' => null,
04369                 'newbie' => null,
04370                 'ip' => null,
04371                 'subnet' => null,
04372         ),
04373         'mailpassword' => array(
04374                 'anon' => null,
04375         ),
04376         'emailuser' => array(
04377                 'user' => null,
04378         ),
04379 );
04380 
04384 $wgRateLimitLog = null;
04385 
04390 $wgRateLimitsExcludedIPs = array();
04391 
04397 $wgPutIPinRC = true;
04398 
04403 $wgQueryPageDefaultLimit = 50;
04404 
04410 $wgPasswordAttemptThrottle = array( 'count' => 5, 'seconds' => 300 );
04411  # end of user rights settings
04413 
04414 /************************************************************************/
04428 $wgBlockOpenProxies = false;
04430 $wgProxyPorts = array( 80, 81, 1080, 3128, 6588, 8000, 8080, 8888, 65506 );
04432 $wgProxyScriptPath = "$IP/maintenance/proxyCheck.php";
04434 $wgProxyMemcExpiry = 86400;
04436 $wgSecretKey = false;
04437 
04447 $wgProxyList = array();
04448 
04452 $wgProxyKey = false;
04453  # end of proxy scanner settings
04455 
04456 /************************************************************************/
04464 $wgCookieExpiration = 180 * 86400;
04465 
04470 $wgCookieDomain = '';
04471 
04476 $wgCookiePath = '/';
04477 
04484 $wgCookieSecure = 'detect';
04485 
04492 $wgDisableCookieCheck = false;
04493 
04499 $wgCookiePrefix = false;
04500 
04506 $wgCookieHttpOnly = true;
04507 
04512 $wgHttpOnlyBlacklist = array(
04513         // Internet Explorer for Mac; sometimes the cookies work, sometimes
04514         // they don't. It's difficult to predict, as combinations of path
04515         // and expiration options affect its parsing.
04516         '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/',
04517 );
04518 
04520 $wgCacheVaryCookies = array();
04521 
04523 $wgSessionName = false;
04524  # end of cookie settings }
04526 
04527 /************************************************************************/
04538 $wgUseTeX = false;
04539 
04540 /* @} */ # end LaTeX }
04541 
04542 /************************************************************************/
04555 $wgDebugLogFile = '';
04556 
04560 $wgDebugLogPrefix = '';
04561 
04567 $wgDebugRedirects = false;
04568 
04574 $wgDebugRawPage = false;
04575 
04584 $wgDebugComments = false;
04585 
04591 $wgDebugDBTransactions = false;
04592 
04596 $wgDebugDumpSql = false;
04597 
04604 $wgDebugLogGroups = array();
04605 
04611 $wgShowDebug = false;
04612 
04617 $wgDebugTimestamps = false;
04618 
04622 $wgDebugPrintHttpHeaders = true;
04623 
04627 $wgSpecialVersionShowHooks = false;
04628 
04634 $wgShowSQLErrors = false;
04635 
04642 $wgShowExceptionDetails = false;
04643 
04647 $wgShowDBErrorBacktrace = false;
04648 
04652 $wgLogExceptionBacktrace = true;
04653 
04657 $wgShowHostnames = false;
04658 
04664 $wgOverrideHostname = false;
04665 
04670 $wgDevelopmentWarnings = false;
04671 
04677 $wgDeprecationReleaseLimit = false;
04678 
04680 $wgProfileLimit = 0.0;
04681 
04683 $wgProfileOnly = false;
04684 
04695 $wgProfileToDatabase = false;
04696 
04698 $wgProfileCallTree = false;
04699 
04701 $wgProfilePerHost = false;
04702 
04709 $wgUDPProfilerHost = '127.0.0.1';
04710 
04715 $wgUDPProfilerPort = '3811';
04716 
04718 $wgDebugProfiling = false;
04719 
04721 $wgDebugFunctionEntry = false;
04722 
04729 $wgStatsMethod = 'cache';
04730 
04737 $wgAggregateStatsID = false;
04738 
04742 $wgDisableCounters = false;
04743 
04749 $wgPageInfoTransclusionLimit = 50;
04750 
04757 $wgSiteStatsAsyncFactor = false;
04758 
04768 $wgParserTestFiles = array(
04769         "$IP/tests/parser/parserTests.txt",
04770         "$IP/tests/parser/extraParserTests.txt"
04771 );
04772 
04786 $wgParserTestRemote = false;
04787 
04791 $wgEnableJavaScriptTest = false;
04792 
04796 $wgJavaScriptTestConfig = array(
04797         'qunit' => array(
04798                 // Page where documentation can be found relevant to the QUnit test suite being ran.
04799                 // Used in the intro paragraph on [[Special:JavaScriptTest/qunit]] for the
04800                 // documentation link in the "javascripttest-qunit-intro" message.
04801                 'documentation' => '//www.mediawiki.org/wiki/Manual:JavaScript_unit_testing',
04802                 // If you are submitting the QUnit test suite to a TestSwarm instance,
04803                 // point this to the "inject.js" script of that instance. This is was registers
04804                 // the QUnit hooks to extract the test results and push them back up into the
04805                 // TestSwarm database.
04806                 // @example 'http://localhost/testswarm/js/inject.js'
04807                 // @example '//integration.mediawiki.org/testswarm/js/inject.js'
04808                 'testswarm-injectjs' => false,
04809         ),
04810 );
04811 
04816 $wgCachePrefix = false;
04817 
04825 $wgDebugToolbar = false;
04826  # end of profiling, testing and debugging }
04828 
04829 /************************************************************************/
04837 $wgDisableTextSearch = false;
04838 
04843 $wgAdvancedSearchHighlighting = false;
04844 
04849 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]';
04850 
04861 $wgCountTotalSearchHits = false;
04862 
04872 $wgOpenSearchTemplate = false;
04873 
04880 $wgEnableOpenSearchSuggest = true;
04881 
04885 $wgSearchSuggestCacheExpiry = 1200;
04886 
04891 $wgDisableSearchUpdate = false;
04892 
04902 $wgNamespacesToBeSearchedDefault = array(
04903         NS_MAIN => true,
04904 );
04905 
04912 $wgNamespacesToBeSearchedHelp = array(
04913         NS_PROJECT => true,
04914         NS_HELP => true,
04915 );
04916 
04924 $wgSearchEverythingOnlyLoggedIn = false;
04925 
04930 $wgDisableInternalSearch = false;
04931 
04947 $wgSearchForwardUrl = null;
04948 
04954 $wgUseTwoButtonsSearchForm = true;
04955 
04961 $wgSitemapNamespaces = false;
04962 
04977 $wgSitemapNamespacesPriorities = false;
04978 
04984 $wgEnableSearchContributorsByIP = true;
04985  # end of search settings
04987 
04988 /************************************************************************/
04997 $wgDiff3 = '/usr/bin/diff3';
04998 
05002 $wgDiff = '/usr/bin/diff';
05003 
05009 $wgPreviewOnOpenNamespaces = array(
05010         NS_CATEGORY => true
05011 );
05012 
05017 $wgUseExternalEditor = true;
05018 
05020 $wgGoToEdit = false;
05021 
05027 $wgUniversalEditButton = true;
05028 
05034 $wgUseAutomaticEditSummaries = true;
05035  # end edit UI }
05037 
05038 /************************************************************************/
05048 if ( !isset( $wgCommandLineMode ) ) {
05049         $wgCommandLineMode = false;
05050 }
05054 $wgCommandLineDarkBg = false;
05055 
05061 $wgMaintenanceScripts = array();
05062 
05071 $wgReadOnly = null;
05072 
05080 $wgReadOnlyFile = false;
05081 
05091 $wgUpgradeKey = false;
05092 
05104 $wgGitRepositoryViewers = array(
05105         'https://gerrit.wikimedia.org/r/p/(.*)' => 'https://gerrit.wikimedia.org/r/gitweb?p=$1;h=%H',
05106         'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' => 'https://gerrit.wikimedia.org/r/gitweb?p=$1;h=%H',
05107 );
05108  # End of maintenance }
05110 
05111 /************************************************************************/
05121 $wgRCMaxAge = 13 * 7 * 24 * 3600;
05122 
05130 $wgRCFilterByAge = false;
05131 
05136 $wgRCLinkLimits = array( 50, 100, 250, 500 );
05137 $wgRCLinkDays = array( 1, 3, 7, 14, 30 );
05138 
05143 $wgRC2UDPAddress = false;
05144 
05148 $wgRC2UDPPort = false;
05149 
05156 $wgRC2UDPPrefix = '';
05157 
05162 $wgRC2UDPInterwikiPrefix = false;
05163 
05168 $wgRC2UDPOmitBots = false;
05169 
05175 $wgEnableNewpagesUserFilter = true;
05176 
05178 $wgUseRCPatrol = true;
05179 
05181 $wgUseNPPatrol = true;
05182 
05184 $wgFeed = true;
05185 
05188 $wgFeedLimit = 50;
05189 
05197 $wgFeedCacheTimeout = 60;
05198 
05201 $wgFeedDiffCutoff = 32768;
05202 
05214 $wgOverrideSiteFeed = array();
05215 
05221 $wgFeedClasses = array(
05222         'rss' => 'RSSFeed',
05223         'atom' => 'AtomFeed',
05224 );
05225 
05230 $wgAdvertisedFeedTypes = array( 'atom' );
05231 
05233 $wgRCShowWatchingUsers = false; # UPO
05235 $wgPageShowWatchingUsers = false;
05237 $wgRCShowChangedSize = true;
05238 
05244 $wgRCChangedSizeThreshold = 500;
05245 
05249 $wgShowUpdatedMarker = true;
05250 
05255 $wgDisableAnonTalk = false;
05256 
05260 $wgAllowCategorizedRecentChanges = false;
05261 
05266 $wgUseTagFilter = true;
05267 
05275 $wgUnwatchedPageThreshold = false;
05276  # end RC/watchlist }
05278 
05279 /************************************************************************/
05291 $wgRightsPage = null;
05292 
05297 $wgRightsUrl = null;
05298 
05304 $wgRightsText = null;
05305 
05309 $wgRightsIcon = null;
05310 
05314 $wgLicenseTerms = false;
05315 
05320 $wgCopyrightIcon = null;
05321 
05323 $wgUseCopyrightUpload = false;
05324 
05332 $wgMaxCredits = 0;
05333 
05336 $wgShowCreditsIfMax = true;
05337  # end of copyright and credits settings }
05339 
05340 /************************************************************************/
05353 $wgImportSources = array();
05354 
05362 $wgImportTargetNamespace = null;
05363 
05369 $wgExportAllowHistory = true;
05370 
05376 $wgExportMaxHistory = 0;
05377 
05381 $wgExportAllowListContributors = false;
05382 
05394 $wgExportMaxLinkDepth = 0;
05395 
05399 $wgExportFromNamespaces = false;
05400 
05404 $wgExportAllowAll = false;
05405  # end of import/export }
05407 
05408 /*************************************************************************/
05417 $wgExtensionFunctions = array();
05418 
05435 $wgExtensionMessagesFiles = array();
05436 
05451 $wgParserOutputHooks = array();
05452 
05462 $wgValidSkinNames = array();
05463 
05468 $wgSpecialPages = array();
05469 
05473 $wgAutoloadClasses = array();
05474 
05501 $wgExtensionCredits = array();
05502 
05507 $wgAuth = null;
05508 
05536 $wgHooks = array();
05537 
05542 $wgJobClasses = array(
05543         'refreshLinks' => 'RefreshLinksJob',
05544         'refreshLinks2' => 'RefreshLinksJob2',
05545         'htmlCacheUpdate' => 'HTMLCacheUpdateJob',
05546         'html_cache_update' => 'HTMLCacheUpdateJob', // backwards-compatible
05547         'sendMail' => 'EmaillingJob',
05548         'enotifNotify' => 'EnotifNotifyJob',
05549         'fixDoubleRedirect' => 'DoubleRedirectJob',
05550         'uploadFromUrl' => 'UploadFromUrlJob',
05551         'AssembleUploadChunks' => 'AssembleUploadChunksJob',
05552         'PublishStashedFile' => 'PublishStashedFileJob',
05553         'null' => 'NullJob'
05554 );
05555 
05566 $wgJobTypesExcludedFromDefaultQueue = array( 'AssembleUploadChunks', 'PublishStashedFile' );
05567 
05574 $wgJobTypeConf = array(
05575         'default' => array( 'class' => 'JobQueueDB', 'order' => 'random' ),
05576 );
05577 
05582 $wgJobQueueAggregator = array(
05583         'class' => 'JobQueueAggregatorMemc'
05584 );
05585 
05590 $wgSpecialPageCacheUpdates = array(
05591         'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' )
05592 );
05593 
05601 $wgExceptionHooks = array();
05602 
05610 $wgPagePropLinkInvalidations = array(
05611         'hiddencat' => 'categorylinks',
05612 );
05613  # End extensions }
05615 
05616 /*************************************************************************/
05624 $wgUseCategoryBrowser = false;
05625 
05630 $wgCategoryMagicGallery = true;
05631 
05635 $wgCategoryPagingLimit = 200;
05636 
05662 $wgCategoryCollation = 'uppercase';
05663  # End categories }
05665 
05666 /*************************************************************************/
05677 $wgLogTypes = array(
05678         '',
05679         'block',
05680         'protect',
05681         'rights',
05682         'delete',
05683         'upload',
05684         'move',
05685         'import',
05686         'patrol',
05687         'merge',
05688         'suppress',
05689 );
05690 
05698 $wgLogRestrictions = array(
05699         'suppress' => 'suppressionlog'
05700 );
05701 
05724 $wgFilterLogTypes = array(
05725         'patrol' => true
05726 );
05727 
05737 $wgLogNames = array(
05738         '' => 'all-logs-page',
05739         'block' => 'blocklogpage',
05740         'protect' => 'protectlogpage',
05741         'rights' => 'rightslog',
05742         'delete' => 'dellogpage',
05743         'upload' => 'uploadlogpage',
05744         'move' => 'movelogpage',
05745         'import' => 'importlogpage',
05746         'patrol' => 'patrol-log-page',
05747         'merge' => 'mergelog',
05748         'suppress' => 'suppressionlog',
05749 );
05750 
05760 $wgLogHeaders = array(
05761         '' => 'alllogstext',
05762         'block' => 'blocklogtext',
05763         'protect' => 'protectlogtext',
05764         'rights' => 'rightslogtext',
05765         'delete' => 'dellogpagetext',
05766         'upload' => 'uploadlogpagetext',
05767         'move' => 'movelogpagetext',
05768         'import' => 'importlogpagetext',
05769         'patrol' => 'patrol-log-header',
05770         'merge' => 'mergelogpagetext',
05771         'suppress' => 'suppressionlogtext',
05772 );
05773 
05780 $wgLogActions = array(
05781         'block/block' => 'blocklogentry',
05782         'block/unblock' => 'unblocklogentry',
05783         'block/reblock' => 'reblock-logentry',
05784         'protect/protect' => 'protectedarticle',
05785         'protect/modify' => 'modifiedarticleprotection',
05786         'protect/unprotect' => 'unprotectedarticle',
05787         'protect/move_prot' => 'movedarticleprotection',
05788         'upload/upload' => 'uploadedimage',
05789         'upload/overwrite' => 'overwroteimage',
05790         'upload/revert' => 'uploadedimage',
05791         'import/upload' => 'import-logentry-upload',
05792         'import/interwiki' => 'import-logentry-interwiki',
05793         'merge/merge' => 'pagemerge-logentry',
05794         'suppress/block' => 'blocklogentry',
05795         'suppress/reblock' => 'reblock-logentry',
05796 );
05797 
05804 $wgLogActionsHandlers = array(
05805         'move/move' => 'MoveLogFormatter',
05806         'move/move_redir' => 'MoveLogFormatter',
05807         'delete/delete' => 'DeleteLogFormatter',
05808         'delete/restore' => 'DeleteLogFormatter',
05809         'delete/revision' => 'DeleteLogFormatter',
05810         'delete/event' => 'DeleteLogFormatter',
05811         'suppress/revision' => 'DeleteLogFormatter',
05812         'suppress/event' => 'DeleteLogFormatter',
05813         'suppress/delete' => 'DeleteLogFormatter',
05814         'patrol/patrol' => 'PatrolLogFormatter',
05815         'rights/rights' => 'RightsLogFormatter',
05816         'rights/autopromote' => 'RightsLogFormatter',
05817 );
05818 
05822 $wgNewUserLog = true;
05823  # end logging }
05825 
05826 /*************************************************************************/
05834 $wgAllowSpecialInclusion = true;
05835 
05840 $wgDisableQueryPageUpdate = false;
05841 
05848 $wgSpecialPageGroups = array();
05849 
05852 $wgSortSpecialPages = true;
05853 
05858 $wgCountCategorizedImagesAsUsed = false;
05859 
05864 $wgMaxRedirectLinksRetrieved = 500;
05865  # end special pages }
05867 
05868 /*************************************************************************/
05883 $wgActions = array(
05884         'credits' => true,
05885         'delete' => true,
05886         'edit' => true,
05887         'history' => true,
05888         'info' => true,
05889         'markpatrolled' => true,
05890         'protect' => true,
05891         'purge' => true,
05892         'raw' => true,
05893         'render' => true,
05894         'revert' => true,
05895         'revisiondelete' => true,
05896         'rollback' => true,
05897         'submit' => true,
05898         'unprotect' => true,
05899         'unwatch' => true,
05900         'view' => true,
05901         'watch' => true,
05902 );
05903 
05908 $wgDisabledActions = array();
05909  # end actions }
05911 
05912 /*************************************************************************/
05923 $wgDefaultRobotPolicy = 'index,follow';
05924 
05939 $wgNamespaceRobotPolicies = array();
05940 
05967 $wgArticleRobotPolicies = array();
05968 
05979 $wgExemptFromUserRobotsControl = null;
05980  # End robot policy }
05982 
05983 /************************************************************************/
05997 $wgEnableAPI = true;
05998 
06004 $wgEnableWriteAPI = true;
06005 
06020 $wgDebugAPI = false;
06021 
06028 $wgAPIModules = array();
06029 $wgAPIMetaModules = array();
06030 $wgAPIPropModules = array();
06031 $wgAPIListModules = array();
06032 
06037 $wgAPIGeneratorModules = array();
06038 
06043 $wgAPIMaxDBRows = 5000;
06044 
06049 $wgAPIMaxResultSize = 8388608;
06050 
06055 $wgAPIMaxUncachedDiffs = 1;
06056 
06061 $wgAPIRequestLog = false;
06062 
06066 $wgAPICacheHelpTimeout = 60 * 60;
06067 
06071 $wgUseAjax = true;
06072 
06077 $wgAjaxExportList = array();
06078 
06083 $wgAjaxWatch = true;
06084 
06088 $wgAjaxUploadDestCheck = true;
06089 
06093 $wgAjaxLicensePreview = true;
06094 
06115 $wgCrossSiteAJAXdomains = array();
06116 
06123 $wgCrossSiteAJAXdomainExceptions = array();
06124  # End AJAX and API }
06126 
06127 /************************************************************************/
06135 $wgMaxShellMemory = 102400;
06136 
06141 $wgMaxShellFileSize = 102400;
06142 
06146 $wgMaxShellTime = 180;
06147 
06152 $wgMaxShellWallClockTime = 180;
06153 
06177 $wgShellCgroup = false;
06178 
06182 $wgPhpCli = '/usr/bin/php';
06183 
06189 $wgShellLocale = 'en_US.utf8';
06190  # End shell }
06192 
06193 /************************************************************************/
06201 $wgHTTPTimeout = 25;
06202 
06206 $wgAsyncHTTPTimeout = 25;
06207 
06211 $wgHTTPProxy = false;
06212  # End HTTP client }
06214 
06215 /************************************************************************/
06227 $wgJobRunRate = 1;
06228 
06232 $wgUpdateRowsPerJob = 500;
06233 
06237 $wgUpdateRowsPerQuery = 100;
06238 
06246 $wgMaxBacklinksInvalidate = false;
06247  # End job queue }
06249 
06250 /************************************************************************/
06259 $wgHipHopBuildDirectory = false;
06260 
06264 $wgHipHopBuildType = 'Debug';
06265 
06270 $wgHipHopCompilerProcs = 'detect';
06271 
06284 $wgExtensionsDirectory = false;
06285 
06296 $wgCompiledFiles = array();
06297  # End of HipHop compilation }
06299 
06300 /************************************************************************/
06306 $wgExternalDiffEngine = false;
06307 
06316 $wgDisableHardRedirects = false;
06317 
06322 $wgLinkHolderBatchSize = 1000;
06323 
06328 $wgRegisterInternalExternals = false;
06329 
06333 $wgMaximumMovedPages = 100;
06334 
06339 $wgFixDoubleRedirects = false;
06340 
06345 $wgRedirectOnLogin = null;
06346 
06367 $wgPoolCounterConf = null;
06368 
06372 $wgUploadMaintenance = false;
06373 
06377 $wgEnableSelenium = false;
06378 $wgSeleniumTestConfigs = array();
06379 $wgSeleniumConfigFile = null;
06380 $wgDBtestuser = ''; //db user that has permission to create and drop the test databases only
06381 $wgDBtestpassword = '';
06382 
06390 $wgNamespaceContentModels = array();
06391 
06401 $wgContentHandlerTextFallback = 'ignore';
06402 
06416 $wgContentHandlerUseDB = true;
06417 
06428 $wgTextModelsToParse = array(
06429         CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed.
06430         CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments.
06431         CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments.
06432 );
06433 
06439 $wgRequirePasswordforEmailChange = true;
06440 
06446 $wgSiteTypes = array(
06447         'mediawiki' => 'MediaWikiSite',
06448 );
06449