MediaWiki
REL1_23
|
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.23.5'; 00077 00081 $wgSitename = 'MediaWiki'; 00082 00099 $wgServer = WebRequest::detectServer(); 00100 00108 $wgCanonicalServer = false; 00109 00110 /************************************************************************/ 00124 $wgScriptPath = '/wiki'; 00125 00143 $wgUsePathInfo = ( strpos( PHP_SAPI, 'cgi' ) === false ) && 00144 ( strpos( PHP_SAPI, 'apache2filter' ) === false ) && 00145 ( strpos( PHP_SAPI, 'isapi' ) === false ); 00146 00155 $wgScriptExtension = '.php'; 00156 00159 /************************************************************************/ 00182 $wgScript = false; 00183 00190 $wgLoadScript = false; 00191 00197 $wgStylePath = false; 00198 $wgStyleSheetPath = &$wgStylePath; 00199 00205 $wgLocalStylePath = false; 00206 00212 $wgExtensionAssetsPath = false; 00213 00219 $wgStyleDirectory = false; 00220 00228 $wgArticlePath = false; 00229 00234 $wgUploadPath = false; 00235 00239 $wgUploadDirectory = false; 00240 00245 $wgFileCacheDirectory = false; 00246 00251 $wgLogo = false; 00252 00257 $wgFavicon = '/favicon.ico'; 00258 00264 $wgAppleTouchIcon = false; 00265 00280 $wgTmpDirectory = false; 00281 00287 $wgUploadBaseUrl = ''; 00288 00296 $wgUploadStashScalerBaseUrl = false; 00297 00312 $wgActionPaths = array(); 00313 00316 /************************************************************************/ 00324 $wgEnableUploads = false; 00325 00329 $wgUploadStashMaxAge = 6 * 3600; // 6 hours 00330 00334 $wgAllowImageMoving = true; 00335 00344 $wgEnableAsyncUploads = false; 00345 00349 $wgIllegalFileChars = ":"; 00350 00354 $wgFileStore = array(); 00355 00360 $wgDeletedDirectory = false; 00361 00365 $wgImgAuthDetails = false; 00366 00372 $wgImgAuthPublicTest = true; 00373 00388 $wgImgAuthUrlPathMap = array(); 00389 00474 $wgLocalFileRepo = false; 00475 00479 $wgForeignFileRepos = array(); 00480 00486 $wgUseInstantCommons = false; 00487 00519 $wgFileBackends = array(); 00520 00531 $wgLockManagers = array(); 00532 00545 $wgShowEXIF = function_exists( 'exif_read_data' ); 00546 00552 $wgUpdateCompatibleMetadata = false; 00553 00567 $wgUseSharedUploads = false; 00568 00572 $wgSharedUploadPath = "http://commons.wikimedia.org/shared/images"; 00573 00577 $wgFetchCommonsDescriptions = false; 00578 00582 $wgSharedUploadDirectory = "/var/www/wiki3/images"; 00583 00588 $wgSharedUploadDBname = false; 00589 00593 $wgSharedUploadDBprefix = ''; 00594 00599 $wgCacheSharedUploads = true; 00600 00606 $wgAllowCopyUploads = false; 00607 00612 $wgAllowAsyncCopyUploads = false; 00613 00619 $wgCopyUploadsDomains = array(); 00620 00626 $wgCopyUploadsFromSpecialUpload = false; 00627 00632 $wgCopyUploadProxy = false; 00633 00642 $wgCopyUploadTimeout = false; 00643 00653 $wgCopyUploadAsyncTimeout = false; 00654 00671 $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB 00672 00683 $wgUploadNavigationUrl = false; 00684 00690 $wgUploadMissingFileUrl = false; 00691 00703 $wgThumbnailScriptPath = false; 00704 00708 $wgSharedThumbnailScriptPath = false; 00709 00723 $wgHashedUploadDirectory = true; 00724 00730 $wgHashedSharedUploadDirectory = true; 00731 00740 $wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/File:"; 00741 00750 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' ); 00751 00757 $wgFileBlacklist = array( 00758 # HTML may contain cookie-stealing JavaScript and web bugs 00759 'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', 'xhtml', 'xht', 00760 # PHP scripts may execute arbitrary code on the server 00761 'php', 'phtml', 'php3', 'php4', 'php5', 'phps', 00762 # Other types that may be interpreted by some servers 00763 'shtml', 'jhtml', 'pl', 'py', 'cgi', 00764 # May contain harmful executables for Windows victims 00765 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ); 00766 00771 $wgMimeTypeBlacklist = array( 00772 # HTML may contain cookie-stealing JavaScript and web bugs 00773 'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript', 00774 # PHP scripts may execute arbitrary code on the server 00775 'application/x-php', 'text/x-php', 00776 # Other types that may be interpreted by some servers 00777 'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh', 00778 # Client-side hazards on Internet Explorer 00779 'text/scriptlet', 'application/x-msdownload', 00780 # Windows metafile, client-side vulnerability on some systems 00781 'application/x-msmetafile', 00782 ); 00783 00789 $wgAllowJavaUploads = false; 00790 00796 $wgCheckFileExtensions = true; 00797 00804 $wgStrictFileExtensions = true; 00805 00812 $wgDisableUploadScriptChecks = false; 00813 00817 $wgUploadSizeWarning = false; 00818 00829 $wgTrustedMediaFormats = array( 00830 MEDIATYPE_BITMAP, //all bitmap formats 00831 MEDIATYPE_AUDIO, //all audio formats 00832 MEDIATYPE_VIDEO, //all plain video formats 00833 "image/svg+xml", //svg (only needed if inline rendering of svg is not supported) 00834 "application/pdf", //PDF files 00835 #"application/x-shockwave-flash", //flash/shockwave movie 00836 ); 00837 00842 $wgMediaHandlers = array( 00843 'image/jpeg' => 'JpegHandler', 00844 'image/png' => 'PNGHandler', 00845 'image/gif' => 'GIFHandler', 00846 'image/tiff' => 'TiffHandler', 00847 'image/x-ms-bmp' => 'BmpHandler', 00848 'image/x-bmp' => 'BmpHandler', 00849 'image/x-xcf' => 'XCFHandler', 00850 'image/svg+xml' => 'SvgHandler', // official 00851 'image/svg' => 'SvgHandler', // compat 00852 'image/vnd.djvu' => 'DjVuHandler', // official 00853 'image/x.djvu' => 'DjVuHandler', // compat 00854 'image/x-djvu' => 'DjVuHandler', // compat 00855 ); 00856 00863 $wgContentHandlers = array( 00864 // the usual case 00865 CONTENT_MODEL_WIKITEXT => 'WikitextContentHandler', 00866 // dumb version, no syntax highlighting 00867 CONTENT_MODEL_JAVASCRIPT => 'JavaScriptContentHandler', 00868 // dumb version, no syntax highlighting 00869 CONTENT_MODEL_CSS => 'CssContentHandler', 00870 // plain text, for use by extensions etc 00871 CONTENT_MODEL_TEXT => 'TextContentHandler', 00872 ); 00873 00879 $wgUseImageResize = true; 00880 00889 $wgUseImageMagick = false; 00890 00894 $wgImageMagickConvertCommand = '/usr/bin/convert'; 00895 00899 $wgSharpenParameter = '0x0.4'; 00900 00904 $wgSharpenReductionThreshold = 0.85; 00905 00910 $wgImageMagickTempDir = false; 00911 00924 $wgCustomConvertCommand = false; 00925 00931 $wgJpegTran = '/usr/bin/jpegtran'; 00932 00937 $wgExiv2Command = '/usr/bin/exiv2'; 00938 00948 $wgSVGConverters = array( 00949 'ImageMagick' => '$path/convert -background white -thumbnail $widthx$height\! $input PNG:$output', 00950 'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output', 00951 'inkscape' => '$path/inkscape -z -w $width -f $input -e $output', 00952 'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d ' 00953 . '$output $input', 00954 'rsvg' => '$path/rsvg -w $width -h $height $input $output', 00955 'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output', 00956 'ImagickExt' => array( 'SvgHandler::rasterizeImagickExt' ), 00957 ); 00958 00962 $wgSVGConverter = 'ImageMagick'; 00963 00967 $wgSVGConverterPath = ''; 00968 00972 $wgSVGMaxSize = 2048; 00973 00978 $wgSVGMetadataCutoff = 262144; 00979 00991 $wgAllowTitlesInSVG = false; 00992 01006 $wgMaxImageArea = 1.25e7; 01007 01014 $wgMaxAnimatedGifArea = 1.25e7; 01015 01029 $wgTiffThumbnailType = false; 01030 01037 $wgThumbnailEpoch = '20030516000000'; 01038 01045 $wgAttemptFailureEpoch = 1; 01046 01058 $wgIgnoreImageErrors = false; 01059 01067 $wgGenerateThumbnailOnParse = true; 01068 01072 $wgShowArchiveThumbnails = true; 01073 01079 $wgEnableAutoRotation = null; 01080 01086 $wgAntivirus = null; 01087 01122 $wgAntivirusSetup = array( 01123 01124 #setup for clamav 01125 'clamav' => array( 01126 'command' => 'clamscan --no-summary ', 01127 'codemap' => array( 01128 "0" => AV_NO_VIRUS, # no virus 01129 "1" => AV_VIRUS_FOUND, # virus found 01130 "52" => AV_SCAN_ABORTED, # unsupported file format (probably immune) 01131 "*" => AV_SCAN_FAILED, # else scan failed 01132 ), 01133 'messagepattern' => '/.*?:(.*)/sim', 01134 ), 01135 ); 01136 01140 $wgAntivirusRequired = true; 01141 01145 $wgVerifyMimeType = true; 01146 01152 $wgMimeTypeFile = 'includes/mime.types'; 01153 01158 $wgMimeInfoFile = 'includes/mime.info'; 01159 01171 $wgMimeDetectorCommand = null; 01172 01178 $wgTrivialMimeDetection = false; 01179 01184 $wgXMLMimeTypes = array( 01185 'http://www.w3.org/2000/svg:svg' => 'image/svg+xml', 01186 'svg' => 'image/svg+xml', 01187 'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram', 01188 'http://www.w3.org/1999/xhtml:html' => 'text/html', // application/xhtml+xml? 01189 'html' => 'text/html', // application/xhtml+xml? 01190 ); 01191 01200 $wgImageLimits = array( 01201 array( 320, 240 ), 01202 array( 640, 480 ), 01203 array( 800, 600 ), 01204 array( 1024, 768 ), 01205 array( 1280, 1024 ) 01206 ); 01207 01213 $wgThumbLimits = array( 01214 120, 01215 150, 01216 180, 01217 200, 01218 250, 01219 300 01220 ); 01221 01225 $wgGalleryOptions = array( 01226 'imagesPerRow' => 0, // Default number of images per-row in the gallery. 0 -> Adapt to screensize 01227 'imageWidth' => 120, // Width of the cells containing images in galleries (in "px") 01228 'imageHeight' => 120, // Height of the cells containing images in galleries (in "px") 01229 'captionLength' => 25, // Length of caption to truncate (in characters) 01230 'showBytes' => true, // Show the filesize in bytes in categories 01231 'mode' => 'traditional', 01232 ); 01233 01239 $wgThumbUpright = 0.75; 01240 01244 $wgDirectoryMode = 0777; 01245 01254 $wgResponsiveImages = true; 01255 01266 $wgDjvuDump = null; 01267 01273 $wgDjvuRenderer = null; 01274 01280 $wgDjvuTxt = null; 01281 01296 $wgDjvuToXML = null; 01297 01303 $wgDjvuPostProcessor = 'pnmtojpeg'; 01304 01308 $wgDjvuOutputExtension = 'jpg'; 01309 # end of DJvu } 01311 # end of file uploads } 01313 01314 /************************************************************************/ 01319 $serverName = substr( $wgServer, strrpos( $wgServer, '/' ) + 1 ); 01320 01324 $wgEmergencyContact = 'wikiadmin@' . $serverName; 01325 01331 $wgPasswordSender = 'apache@' . $serverName; 01332 01333 unset( $serverName ); # Don't leak local variables to global scope 01334 01340 $wgPasswordSenderName = 'MediaWiki Mail'; 01341 01347 $wgNoReplyAddress = '[email protected]'; 01348 01354 $wgEnableEmail = true; 01355 01360 $wgEnableUserEmail = true; 01361 01370 $wgUserEmailUseReplyTo = false; 01371 01376 $wgPasswordReminderResendTime = 24; 01377 01381 $wgNewPasswordExpiry = 3600 * 24 * 7; 01382 01386 $wgUserEmailConfirmationTokenExpiry = 7 * 24 * 60 * 60; 01387 01392 $wgPasswordExpirationDays = false; 01393 01398 $wgPasswordExpireGrace = 3600 * 24 * 7; // 7 days 01399 01417 $wgSMTP = false; 01418 01423 $wgAdditionalMailParams = null; 01424 01429 $wgAllowHTMLEmail = false; 01430 01435 $wgEnotifFromEditor = false; 01436 01437 // TODO move UPO to preferences probably ? 01438 # If set to true, users get a corresponding option in their preferences and can choose to 01439 # enable or disable at their discretion 01440 # If set to false, the corresponding input form on the user preference page is suppressed 01441 # It call this to be a "user-preferences-option (UPO)" 01442 01448 $wgEmailAuthentication = true; 01449 01453 $wgEnotifWatchlist = false; 01454 01459 $wgEnotifUserTalk = false; 01460 01465 $wgEnotifRevealEditorAddress = false; 01466 01471 $wgEnotifMinorEdits = true; 01472 01480 $wgEnotifImpersonal = false; 01481 01486 $wgEnotifMaxRecips = 500; 01487 01492 $wgEnotifUseJobQ = false; 01493 01497 $wgEnotifUseRealName = false; 01498 01503 $wgUsersNotifiedOnAllChanges = array(); 01504 # end of email settings 01506 01507 /************************************************************************//** 01508 * @name Database settings 01509 * @{ 01510 */ 01511 01515 $wgDBserver = 'localhost'; 01516 01520 $wgDBport = 5432; 01521 01525 $wgDBname = 'my_wiki'; 01526 01530 $wgDBuser = 'wikiuser'; 01531 01535 $wgDBpassword = ''; 01536 01540 $wgDBtype = 'mysql'; 01541 01545 $wgDBssl = false; 01546 01550 $wgDBcompress = false; 01551 01555 $wgDBadminuser = null; 01556 01560 $wgDBadminpassword = null; 01561 01568 $wgSearchType = null; 01569 01577 $wgSearchTypeAlternatives = null; 01578 01582 $wgDBprefix = ''; 01583 01587 $wgDBTableOptions = 'ENGINE=InnoDB'; 01588 01595 $wgSQLMode = ''; 01596 01600 $wgDBmwschema = null; 01601 01605 $wgSQLiteDataDir = ''; 01606 01612 $wgAllDBsAreLocalhost = false; 01613 01636 $wgSharedDB = null; 01637 01641 $wgSharedPrefix = false; 01642 01646 $wgSharedTables = array( 'user', 'user_properties' ); 01647 01698 $wgDBservers = false; 01699 01710 $wgLBFactoryConf = array( 'class' => 'LBFactorySimple' ); 01711 01715 $wgMasterWaitTimeout = 10; 01716 01720 $wgDBerrorLog = false; 01721 01740 $wgDBerrorLogTZ = false; 01741 01745 $wgDBClusterTimeout = 10; 01746 01752 $wgDBAvgStatusPoll = 2000; 01753 01770 $wgDBmysql5 = false; 01771 01799 $wgDBOracleDRCP = false; 01800 01806 $wgLocalDatabases = array(); 01807 01813 $wgSlaveLagWarning = 10; 01814 01818 $wgSlaveLagCritical = 30; 01819 01823 $wgDBWindowsAuthentication = false; 01824 # End of DB settings } 01826 01827 /************************************************************************//** 01828 * @name Text storage 01829 * @{ 01830 */ 01831 01838 $wgCompressRevisions = false; 01839 01851 $wgExternalStores = array(); 01852 01867 $wgExternalServers = array(); 01868 01883 $wgDefaultExternalStore = false; 01884 01891 $wgRevisionCacheExpiry = 0; 01892 # end text storage } 01894 01895 /************************************************************************//** 01896 * @name Performance hacks and limits 01897 * @{ 01898 */ 01899 01903 $wgMiserMode = false; 01904 01908 $wgDisableQueryPages = false; 01909 01913 $wgQueryCacheLimit = 1000; 01914 01918 $wgWantedPagesThreshold = 1; 01919 01923 $wgAllowSlowParserFunctions = false; 01924 01928 $wgAllowSchemaUpdates = true; 01929 01937 $wgAntiLockFlags = 0; 01938 01942 $wgMaxArticleSize = 2048; 01943 01948 $wgMemoryLimit = "50M"; 01949 # end performance hacks } 01951 01952 /************************************************************************//** 01953 * @name Cache settings 01954 * @{ 01955 */ 01956 01965 $wgCacheDirectory = false; 01966 01984 $wgMainCacheType = CACHE_NONE; 01985 01992 $wgMessageCacheType = CACHE_ANYTHING; 01993 02000 $wgParserCacheType = CACHE_ANYTHING; 02001 02007 $wgSessionCacheType = CACHE_ANYTHING; 02008 02017 $wgLanguageConverterCacheType = CACHE_ANYTHING; 02018 02032 $wgObjectCaches = array( 02033 CACHE_NONE => array( 'class' => 'EmptyBagOStuff' ), 02034 CACHE_DB => array( 'class' => 'SqlBagOStuff', 'table' => 'objectcache' ), 02035 02036 CACHE_ANYTHING => array( 'factory' => 'ObjectCache::newAnything' ), 02037 CACHE_ACCEL => array( 'factory' => 'ObjectCache::newAccelerator' ), 02038 CACHE_MEMCACHED => array( 'factory' => 'ObjectCache::newMemcached' ), 02039 02040 'apc' => array( 'class' => 'APCBagOStuff' ), 02041 'xcache' => array( 'class' => 'XCacheBagOStuff' ), 02042 'wincache' => array( 'class' => 'WinCacheBagOStuff' ), 02043 'memcached-php' => array( 'class' => 'MemcachedPhpBagOStuff' ), 02044 'memcached-pecl' => array( 'class' => 'MemcachedPeclBagOStuff' ), 02045 'hash' => array( 'class' => 'HashBagOStuff' ), 02046 ); 02047 02052 $wgParserCacheExpireTime = 86400; 02053 02059 $wgSessionsInMemcached = false; 02060 02067 $wgSessionsInObjectCache = false; 02068 02073 $wgObjectCacheSessionExpiry = 3600; 02074 02081 $wgSessionHandler = null; 02082 02086 $wgMemCachedDebug = false; 02087 02091 $wgMemCachedServers = array( '127.0.0.1:11211' ); 02092 02097 $wgMemCachedPersistent = false; 02098 02102 $wgMemCachedTimeout = 500000; 02103 02108 $wgUseLocalMessageCache = false; 02109 02116 $wgAdaptiveMessageCache = false; 02117 02138 $wgLocalisationCacheConf = array( 02139 'class' => 'LocalisationCache', 02140 'store' => 'detect', 02141 'storeClass' => false, 02142 'storeDirectory' => false, 02143 'manualRecache' => false, 02144 ); 02145 02149 $wgCachePages = true; 02150 02159 $wgCacheEpoch = '20030516000000'; 02160 02168 $wgStyleVersion = '303'; 02169 02177 $wgUseFileCache = false; 02178 02185 $wgFileCacheDepth = 2; 02186 02196 $wgEnableParserCache = true; 02197 02202 $wgRenderHashAppend = ''; 02203 02213 $wgEnableSidebarCache = false; 02214 02218 $wgSidebarCacheExpiry = 86400; 02219 02226 $wgUseGzip = false; 02227 02232 $wgUseETag = false; 02233 02240 $wgClockSkewFudge = 5; 02241 02251 $wgInvalidateCacheOnLocalSettingsChange = true; 02252 # end of cache settings 02254 02255 /************************************************************************//** 02256 * @name HTTP proxy (Squid) settings 02257 * 02258 * Many of these settings apply to any HTTP proxy used in front of MediaWiki, 02259 * although they are referred to as Squid settings for historical reasons. 02260 * 02261 * Achieving a high hit ratio with an HTTP proxy requires special 02262 * configuration. See https://www.mediawiki.org/wiki/Manual:Squid_caching for 02263 * more details. 02264 * 02265 * @{ 02266 */ 02267 02272 $wgUseSquid = false; 02273 02277 $wgUseESI = false; 02278 02282 $wgUseXVO = false; 02283 02292 $wgVaryOnXFP = false; 02293 02302 $wgInternalServer = false; 02303 02310 $wgSquidMaxage = 18000; 02311 02315 $wgForcedRawSMaxage = 300; 02316 02325 $wgSquidServers = array(); 02326 02333 $wgSquidServersNoPurge = array(); 02334 02338 $wgMaxSquidPurgeTitles = 400; 02339 02359 $wgSquidPurgeUseHostHeader = true; 02360 02412 $wgHTCPRouting = array(); 02413 02423 $wgHTCPMulticastRouting = null; 02424 02439 $wgHTCPMulticastAddress = false; 02440 02448 $wgHTCPPort = 4827; 02449 02454 $wgHTCPMulticastTTL = 1; 02455 02459 $wgUsePrivateIPs = false; 02460 # end of HTTP proxy settings 02462 02463 /************************************************************************//** 02464 * @name Language, regional and character encoding settings 02465 * @{ 02466 */ 02467 02483 $wgLanguageCode = 'en'; 02484 02489 $wgLangObjCacheSize = 10; 02490 02500 $wgGrammarForms = array(); 02501 02505 $wgInterwikiMagic = true; 02506 02510 $wgHideInterlanguageLinks = false; 02511 02515 $wgExtraLanguageNames = array(); 02516 02523 $wgDummyLanguageCodes = array( 02524 'als' => 'gsw', 02525 'bat-smg' => 'sgs', 02526 'be-x-old' => 'be-tarask', 02527 'bh' => 'bho', 02528 'fiu-vro' => 'vro', 02529 'no' => 'nb', 02530 'qqq' => 'qqq', # Used for message documentation. 02531 'qqx' => 'qqx', # Used for viewing message keys. 02532 'roa-rup' => 'rup', 02533 'simple' => 'en', 02534 'zh-classical' => 'lzh', 02535 'zh-min-nan' => 'nan', 02536 'zh-yue' => 'yue', 02537 ); 02538 02546 $wgEditEncoding = ''; 02547 02556 $wgFixArabicUnicode = true; 02557 02567 $wgFixMalayalamUnicode = true; 02568 02579 $wgAllUnicodeFixes = false; 02580 02591 $wgLegacyEncoding = false; 02592 02598 $wgBrowserBlackList = array( 02609 '/^Mozilla\/2\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/', 02610 '/^Mozilla\/3\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/', 02611 '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/', 02612 02626 '/^Mozilla\/4\.0 \(compatible; MSIE \d+\.\d+; Mac_PowerPC\)/', 02627 02632 '/^Mozilla\/4\.0 \(compatible; MSIE 6.0; Windows NT 5.0; Google Wireless Transcoder;\)/' 02633 ); 02634 02647 $wgLegacySchemaConversion = false; 02648 02653 $wgAmericanDates = false; 02654 02659 $wgTranslateNumerals = true; 02660 02665 $wgUseDatabaseMessages = true; 02666 02670 $wgMsgCacheExpiry = 86400; 02671 02675 $wgMaxMsgCacheEntrySize = 10000; 02676 02680 $wgDisableLangConversion = false; 02681 02685 $wgDisableTitleConversion = false; 02686 02690 $wgCanonicalLanguageLinks = true; 02691 02695 $wgDefaultLanguageVariant = false; 02696 02706 $wgDisabledVariants = array(); 02707 02725 $wgVariantArticlePath = false; 02726 02732 $wgLoginLanguageSelector = false; 02733 02753 $wgForceUIMsgAsContentMsg = array(); 02754 02778 $wgLocaltimezone = null; 02779 02789 $wgLocalTZoffset = null; 02790 # End of language/charset settings 02792 02793 /*************************************************************************//** 02794 * @name Output format and skin settings 02795 * @{ 02796 */ 02797 02801 $wgMimeType = 'text/html'; 02802 02810 $wgJsMimeType = null; 02811 02819 $wgXhtmlDefaultNamespace = null; 02820 02828 $wgHtml5 = true; 02829 02837 $wgHtml5Version = null; 02838 02843 $wgAllowRdfaAttributes = false; 02844 02848 $wgAllowMicrodataAttributes = false; 02849 02866 $wgWellFormedXml = true; 02867 02882 $wgXhtmlNamespaces = array(); 02883 02889 $wgShowIPinHeader = true; 02890 02898 $wgSiteNotice = ''; 02899 02903 $wgExtraSubtitle = ''; 02904 02908 $wgSiteSupportPage = ''; 02909 02914 $wgValidateAllHtml = false; 02915 02922 $wgDefaultSkin = 'vector'; 02923 02931 $wgSkipSkin = ''; 02932 02936 $wgSkipSkins = array(); 02937 02943 $wgAllowUserJs = false; 02944 02950 $wgAllowUserCss = false; 02951 02957 $wgAllowUserCssPrefs = true; 02958 02962 $wgUseSiteJs = true; 02963 02967 $wgUseSiteCss = true; 02968 02973 $wgBreakFrames = false; 02974 02994 $wgEditPageFrameOptions = 'DENY'; 02995 03005 $wgApiFrameOptions = 'DENY'; 03006 03010 $wgDisableOutputCompression = false; 03011 03021 $wgExperimentalHtmlIds = false; 03022 03052 $wgFooterIcons = array( 03053 "copyright" => array( 03054 "copyright" => array(), // placeholder for the built in copyright icon 03055 ), 03056 "poweredby" => array( 03057 "mediawiki" => array( 03058 "src" => null, // Defaults to "$wgStylePath/common/images/poweredby_mediawiki_88x31.png" 03059 "url" => "//www.mediawiki.org/", 03060 "alt" => "Powered by MediaWiki", 03061 ) 03062 ), 03063 ); 03064 03071 $wgUseCombinedLoginLink = false; 03072 03078 $wgVectorUseSimpleSearch = true; 03079 03085 $wgVectorUseIconWatch = true; 03086 03090 $wgEdititis = false; 03091 03103 $wgSend404Code = true; 03104 03113 $wgShowRollbackEditCount = 10; 03114 03121 $wgEnableCanonicalServerLink = false; 03122 # End of output format settings } 03124 03125 /*************************************************************************//** 03126 * @name Resource loader settings 03127 * @{ 03128 */ 03129 03147 $wgResourceModules = array(); 03148 03162 $wgResourceLoaderSources = array(); 03163 03168 $wgResourceBasePath = null; 03169 03186 $wgResourceLoaderMaxage = array( 03187 'versioned' => array( 03188 'server' => 30 * 24 * 60 * 60, // 30 days 03189 'client' => 30 * 24 * 60 * 60, // 30 days 03190 ), 03191 'unversioned' => array( 03192 'server' => 5 * 60, // 5 minutes 03193 'client' => 5 * 60, // 5 minutes 03194 ), 03195 ); 03196 03202 $wgResourceLoaderDebug = false; 03203 03209 $wgResourceLoaderUseESI = false; 03210 03215 $wgResourceLoaderMinifierStatementsOnOwnLine = false; 03216 03222 $wgResourceLoaderMinifierMaxLineLength = 1000; 03223 03228 $wgIncludeLegacyJavaScript = true; 03229 03248 $wgPreloadJavaScriptMwUtil = false; 03249 03275 $wgLegacyJavaScriptGlobals = true; 03276 03290 $wgResourceLoaderMaxQueryLength = false; 03291 03299 $wgResourceLoaderValidateJS = true; 03300 03309 $wgResourceLoaderValidateStaticJS = false; 03310 03316 $wgResourceLoaderExperimentalAsyncLoading = false; 03317 03336 $wgResourceLoaderLESSVars = array(); 03337 03349 $wgResourceLoaderLESSFunctions = array( 03350 'embeddable' => 'ResourceLoaderLESSFunctions::embeddable', 03351 'embed' => 'ResourceLoaderLESSFunctions::embed', 03352 ); 03353 03367 $wgResourceLoaderLESSImportPaths = array( 03368 "$IP/resources/src/mediawiki.less/", 03369 ); 03370 03377 $wgResourceLoaderStorageEnabled = false; 03378 03385 $wgResourceLoaderStorageVersion = 1; 03386 # End of resource loader settings } 03388 03389 /*************************************************************************//** 03390 * @name Page title and interwiki link settings 03391 * @{ 03392 */ 03393 03398 $wgMetaNamespace = false; 03399 03407 $wgMetaNamespaceTalk = false; 03408 03435 $wgExtraNamespaces = array(); 03436 03443 $wgExtraGenderNamespaces = array(); 03444 03463 $wgNamespaceAliases = array(); 03464 03492 $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+"; 03493 03499 $wgLocalInterwiki = false; 03500 03509 $wgLocalInterwikis = array(); 03510 03514 $wgInterwikiExpiry = 10800; 03515 03534 $wgInterwikiCache = false; 03535 03542 $wgInterwikiScopes = 3; 03543 03547 $wgInterwikiFallbackSite = 'wiki'; 03548 # end of Interwiki caching settings. 03550 03566 $wgRedirectSources = false; 03567 03575 $wgCapitalLinks = true; 03576 03591 $wgCapitalLinkOverrides = array(); 03592 03597 $wgNamespacesWithSubpages = array( 03598 NS_TALK => true, 03599 NS_USER => true, 03600 NS_USER_TALK => true, 03601 NS_PROJECT => true, 03602 NS_PROJECT_TALK => true, 03603 NS_FILE_TALK => true, 03604 NS_MEDIAWIKI => true, 03605 NS_MEDIAWIKI_TALK => true, 03606 NS_TEMPLATE_TALK => true, 03607 NS_HELP => true, 03608 NS_HELP_TALK => true, 03609 NS_CATEGORY_TALK => true 03610 ); 03611 03621 $wgTrackingCategories = array( 03622 'index-category', 03623 'noindex-category', 03624 'expensive-parserfunction-category', 03625 'post-expand-template-argument-category', 03626 'post-expand-template-inclusion-category', 03627 'hidden-category-category', 03628 'broken-file-category', 03629 ); 03630 03637 $wgContentNamespaces = array( NS_MAIN ); 03638 03644 $wgMaxRedirects = 1; 03645 03656 $wgInvalidRedirectTargets = array( 'Filepath', 'Mypage', 'Mytalk', 'Redirect' ); 03657 # End of title and interwiki settings } 03659 03660 /************************************************************************//** 03661 * @name Parser settings 03662 * These settings configure the transformation from wikitext to HTML. 03663 * @{ 03664 */ 03665 03687 $wgParserConf = array( 03688 'class' => 'Parser', 03689 #'preprocessorClass' => 'Preprocessor_Hash', 03690 ); 03691 03695 $wgMaxTocLevel = 999; 03696 03701 $wgMaxPPNodeCount = 1000000; 03702 03712 $wgMaxGeneratedPPNodeCount = 1000000; 03713 03720 $wgMaxTemplateDepth = 40; 03721 03725 $wgMaxPPExpandDepth = 40; 03726 03730 $wgUrlProtocols = array( 03731 'http://', 03732 'https://', 03733 'ftp://', 03734 'ftps://', // If we allow ftp:// we should allow the secure version. 03735 'ssh://', 03736 'sftp://', // SFTP > FTP 03737 'irc://', 03738 'ircs://', // @bug 28503 03739 'xmpp:', // Another open communication protocol 03740 'sip:', 03741 'sips:', 03742 'gopher://', 03743 'telnet://', // Well if we're going to support the above.. -ævar 03744 'nntp://', // @bug 3808 RFC 1738 03745 'worldwind://', 03746 'mailto:', 03747 'tel:', // If we can make emails linkable, why not phone numbers? 03748 'sms:', // Likewise this is standardized too 03749 'news:', 03750 'svn://', 03751 'git://', 03752 'mms://', 03753 'bitcoin:', // Even registerProtocolHandler whitelists this along with mailto: 03754 'magnet:', // No reason to reject torrents over magnet: when they're allowed over http:// 03755 'urn:', // Allow URNs to be used in Microdata/RDFa <link ... href="urn:...">s 03756 'geo:', // urls define geo locations, they're useful in Microdata/RDFa and for coordinates 03757 '//', // for protocol-relative URLs 03758 ); 03759 03763 $wgCleanSignatures = true; 03764 03768 $wgAllowExternalImages = false; 03769 03782 $wgAllowExternalImagesFrom = ''; 03783 03793 $wgEnableImageWhitelist = true; 03794 03803 $wgAllowImageTag = false; 03804 03820 $wgUseTidy = false; 03821 03825 $wgAlwaysUseTidy = false; 03826 03830 $wgTidyBin = 'tidy'; 03831 03835 $wgTidyConf = $IP . '/includes/tidy.conf'; 03836 03840 $wgTidyOpts = ''; 03841 03845 $wgTidyInternal = extension_loaded( 'tidy' ); 03846 03851 $wgDebugTidy = false; 03852 03858 $wgRawHtml = false; 03859 03863 $wgExternalLinkTarget = false; 03864 03871 $wgNoFollowLinks = true; 03872 03877 $wgNoFollowNsExceptions = array(); 03878 03893 $wgNoFollowDomainExceptions = array( 'mediawiki.org' ); 03894 03898 $wgAllowDisplayTitle = true; 03899 03905 $wgRestrictDisplayTitle = true; 03906 03911 $wgExpensiveParserFunctionLimit = 100; 03912 03917 $wgPreprocessorCacheThreshold = 1000; 03918 03922 $wgEnableScaryTranscluding = false; 03923 03928 $wgTranscludeCacheExpiry = 3600; 03929 # end of parser settings } 03931 03932 /************************************************************************//** 03933 * @name Statistics 03934 * @{ 03935 */ 03936 03957 $wgArticleCountMethod = null; 03958 03963 $wgUseCommaCount = false; 03964 03972 $wgHitcounterUpdateFreq = 1; 03973 03981 $wgActiveUserDays = 30; 03982 # End of statistics } 03984 03985 /************************************************************************//** 03986 * @name User accounts, authentication 03987 * @{ 03988 */ 03989 03993 $wgPasswordSalt = true; 03994 03999 $wgMinimalPasswordLength = 1; 04000 04006 $wgInvalidPasswordReset = true; 04007 04014 $wgPasswordResetRoutes = array( 04015 'username' => true, 04016 'email' => false, 04017 ); 04018 04022 $wgMaxSigChars = 255; 04023 04028 $wgMaxNameChars = 255; 04029 04034 $wgReservedUsernames = array( 04035 'MediaWiki default', // Default 'Main Page' and MediaWiki: message pages 04036 'Conversion script', // Used for the old Wikipedia software upgrade 04037 'Maintenance script', // Maintenance scripts which perform editing, image import script 04038 'Template namespace initialisation script', // Used in 1.2->1.3 upgrade 04039 'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php 04040 'msg:double-redirect-fixer', // Automatic double redirect fix 04041 'msg:usermessage-editor', // Default user for leaving user messages 04042 'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22) 04043 ); 04044 04051 $wgDefaultUserOptions = array( 04052 'ccmeonemails' => 0, 04053 'cols' => 80, 04054 'date' => 'default', 04055 'diffonly' => 0, 04056 'disablemail' => 0, 04057 'editfont' => 'default', 04058 'editondblclick' => 0, 04059 'editsectiononrightclick' => 0, 04060 'enotifminoredits' => 0, 04061 'enotifrevealaddr' => 0, 04062 'enotifusertalkpages' => 1, 04063 'enotifwatchlistpages' => 1, 04064 'extendwatchlist' => 0, 04065 'fancysig' => 0, 04066 'forceeditsummary' => 0, 04067 'gender' => 'unknown', 04068 'hideminor' => 0, 04069 'hidepatrolled' => 0, 04070 'imagesize' => 2, 04071 'math' => 1, 04072 'minordefault' => 0, 04073 'newpageshidepatrolled' => 0, 04074 'nickname' => '', 04075 'norollbackdiff' => 0, 04076 'numberheadings' => 0, 04077 'previewonfirst' => 0, 04078 'previewontop' => 1, 04079 'rcdays' => 7, 04080 'rclimit' => 50, 04081 'rows' => 25, 04082 'showhiddencats' => 0, 04083 'shownumberswatching' => 1, 04084 'showtoolbar' => 1, 04085 'skin' => false, 04086 'stubthreshold' => 0, 04087 'thumbsize' => 2, 04088 'underline' => 2, 04089 'uselivepreview' => 0, 04090 'usenewrc' => 0, 04091 'watchcreations' => 1, 04092 'watchdefault' => 1, 04093 'watchdeletion' => 0, 04094 'watchlistdays' => 3.0, 04095 'watchlisthideanons' => 0, 04096 'watchlisthidebots' => 0, 04097 'watchlisthideliu' => 0, 04098 'watchlisthideminor' => 0, 04099 'watchlisthideown' => 0, 04100 'watchlisthidepatrolled' => 0, 04101 'watchmoves' => 0, 04102 'wllimit' => 250, 04103 'useeditwarning' => 1, 04104 'prefershttps' => 1, 04105 ); 04106 04110 $wgHiddenPrefs = array(); 04111 04117 $wgInvalidUsernameCharacters = '@'; 04118 04128 $wgUserrightsInterwikiDelimiter = '@'; 04129 04136 $wgSecureLogin = false; 04137 # end user accounts } 04139 04140 /************************************************************************//** 04141 * @name User rights, access control and monitoring 04142 * @{ 04143 */ 04144 04148 $wgAutoblockExpiry = 86400; 04149 04153 $wgBlockAllowsUTEdit = false; 04154 04158 $wgSysopEmailBans = true; 04159 04174 $wgBlockCIDRLimit = array( 04175 'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed 04176 'IPv6' => 19, 04177 ); 04178 04186 $wgBlockDisablesLogin = false; 04187 04205 $wgWhitelistRead = false; 04206 04233 $wgWhitelistReadRegexp = false; 04234 04239 $wgEmailConfirmToEdit = false; 04240 04265 $wgGroupPermissions = array(); 04266 04268 // Implicit group for all visitors 04269 $wgGroupPermissions['*']['createaccount'] = true; 04270 $wgGroupPermissions['*']['read'] = true; 04271 $wgGroupPermissions['*']['edit'] = true; 04272 $wgGroupPermissions['*']['createpage'] = true; 04273 $wgGroupPermissions['*']['createtalk'] = true; 04274 $wgGroupPermissions['*']['writeapi'] = true; 04275 $wgGroupPermissions['*']['editmyusercss'] = true; 04276 $wgGroupPermissions['*']['editmyuserjs'] = true; 04277 $wgGroupPermissions['*']['viewmywatchlist'] = true; 04278 $wgGroupPermissions['*']['editmywatchlist'] = true; 04279 $wgGroupPermissions['*']['viewmyprivateinfo'] = true; 04280 $wgGroupPermissions['*']['editmyprivateinfo'] = true; 04281 $wgGroupPermissions['*']['editmyoptions'] = true; 04282 #$wgGroupPermissions['*']['patrolmarks'] = false; // let anons see what was patrolled 04283 04284 // Implicit group for all logged-in accounts 04285 $wgGroupPermissions['user']['move'] = true; 04286 $wgGroupPermissions['user']['move-subpages'] = true; 04287 $wgGroupPermissions['user']['move-rootuserpages'] = true; // can move root userpages 04288 $wgGroupPermissions['user']['movefile'] = true; 04289 $wgGroupPermissions['user']['read'] = true; 04290 $wgGroupPermissions['user']['edit'] = true; 04291 $wgGroupPermissions['user']['createpage'] = true; 04292 $wgGroupPermissions['user']['createtalk'] = true; 04293 $wgGroupPermissions['user']['writeapi'] = true; 04294 $wgGroupPermissions['user']['upload'] = true; 04295 $wgGroupPermissions['user']['reupload'] = true; 04296 $wgGroupPermissions['user']['reupload-shared'] = true; 04297 $wgGroupPermissions['user']['minoredit'] = true; 04298 $wgGroupPermissions['user']['purge'] = true; // can use ?action=purge without clicking "ok" 04299 $wgGroupPermissions['user']['sendemail'] = true; 04300 04301 // Implicit group for accounts that pass $wgAutoConfirmAge 04302 $wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true; 04303 $wgGroupPermissions['autoconfirmed']['editsemiprotected'] = true; 04304 04305 // Users with bot privilege can have their edits hidden 04306 // from various log pages by default 04307 $wgGroupPermissions['bot']['bot'] = true; 04308 $wgGroupPermissions['bot']['autoconfirmed'] = true; 04309 $wgGroupPermissions['bot']['editsemiprotected'] = true; 04310 $wgGroupPermissions['bot']['nominornewtalk'] = true; 04311 $wgGroupPermissions['bot']['autopatrol'] = true; 04312 $wgGroupPermissions['bot']['suppressredirect'] = true; 04313 $wgGroupPermissions['bot']['apihighlimits'] = true; 04314 $wgGroupPermissions['bot']['writeapi'] = true; 04315 04316 // Most extra permission abilities go to this group 04317 $wgGroupPermissions['sysop']['block'] = true; 04318 $wgGroupPermissions['sysop']['createaccount'] = true; 04319 $wgGroupPermissions['sysop']['delete'] = true; 04320 // can be separately configured for pages with > $wgDeleteRevisionsLimit revs 04321 $wgGroupPermissions['sysop']['bigdelete'] = true; 04322 // can view deleted history entries, but not see or restore the text 04323 $wgGroupPermissions['sysop']['deletedhistory'] = true; 04324 // can view deleted revision text 04325 $wgGroupPermissions['sysop']['deletedtext'] = true; 04326 $wgGroupPermissions['sysop']['undelete'] = true; 04327 $wgGroupPermissions['sysop']['editinterface'] = true; 04328 $wgGroupPermissions['sysop']['editusercss'] = true; 04329 $wgGroupPermissions['sysop']['edituserjs'] = true; 04330 $wgGroupPermissions['sysop']['import'] = true; 04331 $wgGroupPermissions['sysop']['importupload'] = true; 04332 $wgGroupPermissions['sysop']['move'] = true; 04333 $wgGroupPermissions['sysop']['move-subpages'] = true; 04334 $wgGroupPermissions['sysop']['move-rootuserpages'] = true; 04335 $wgGroupPermissions['sysop']['patrol'] = true; 04336 $wgGroupPermissions['sysop']['autopatrol'] = true; 04337 $wgGroupPermissions['sysop']['protect'] = true; 04338 $wgGroupPermissions['sysop']['editprotected'] = true; 04339 $wgGroupPermissions['sysop']['proxyunbannable'] = true; 04340 $wgGroupPermissions['sysop']['rollback'] = true; 04341 $wgGroupPermissions['sysop']['upload'] = true; 04342 $wgGroupPermissions['sysop']['reupload'] = true; 04343 $wgGroupPermissions['sysop']['reupload-shared'] = true; 04344 $wgGroupPermissions['sysop']['unwatchedpages'] = true; 04345 $wgGroupPermissions['sysop']['autoconfirmed'] = true; 04346 $wgGroupPermissions['sysop']['editsemiprotected'] = true; 04347 $wgGroupPermissions['sysop']['ipblock-exempt'] = true; 04348 $wgGroupPermissions['sysop']['blockemail'] = true; 04349 $wgGroupPermissions['sysop']['markbotedits'] = true; 04350 $wgGroupPermissions['sysop']['apihighlimits'] = true; 04351 $wgGroupPermissions['sysop']['browsearchive'] = true; 04352 $wgGroupPermissions['sysop']['noratelimit'] = true; 04353 $wgGroupPermissions['sysop']['movefile'] = true; 04354 $wgGroupPermissions['sysop']['unblockself'] = true; 04355 $wgGroupPermissions['sysop']['suppressredirect'] = true; 04356 #$wgGroupPermissions['sysop']['upload_by_url'] = true; 04357 #$wgGroupPermissions['sysop']['mergehistory'] = true; 04358 04359 // Permission to change users' group assignments 04360 $wgGroupPermissions['bureaucrat']['userrights'] = true; 04361 $wgGroupPermissions['bureaucrat']['noratelimit'] = true; 04362 // Permission to change users' groups assignments across wikis 04363 #$wgGroupPermissions['bureaucrat']['userrights-interwiki'] = true; 04364 // Permission to export pages including linked pages regardless of $wgExportMaxLinkDepth 04365 #$wgGroupPermissions['bureaucrat']['override-export-depth'] = true; 04366 04367 #$wgGroupPermissions['sysop']['deletelogentry'] = true; 04368 #$wgGroupPermissions['sysop']['deleterevision'] = true; 04369 // To hide usernames from users and Sysops 04370 #$wgGroupPermissions['suppress']['hideuser'] = true; 04371 // To hide revisions/log items from users and Sysops 04372 #$wgGroupPermissions['suppress']['suppressrevision'] = true; 04373 // For private suppression log access 04374 #$wgGroupPermissions['suppress']['suppressionlog'] = true; 04375 04382 # $wgGroupPermissions['developer']['siteadmin'] = true; 04383 04395 $wgRevokePermissions = array(); 04396 04400 $wgImplicitGroups = array( '*', 'user', 'autoconfirmed' ); 04401 04423 $wgGroupsAddToSelf = array(); 04424 04428 $wgGroupsRemoveFromSelf = array(); 04429 04437 $wgRestrictionTypes = array( 'create', 'edit', 'move', 'upload' ); 04438 04450 $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' ); 04451 04461 $wgCascadingRestrictionLevels = array( 'sysop' ); 04462 04475 $wgSemiprotectedRestrictionLevels = array( 'autoconfirmed' ); 04476 04484 $wgNamespaceProtection = array(); 04485 04495 $wgNonincludableNamespaces = array(); 04496 04517 $wgAutoConfirmAge = 0; 04518 04528 $wgAutoConfirmCount = 0; 04529 04553 $wgAutopromote = array( 04554 'autoconfirmed' => array( '&', 04555 array( APCOND_EDITCOUNT, &$wgAutoConfirmCount ), 04556 array( APCOND_AGE, &$wgAutoConfirmAge ), 04557 ), 04558 ); 04559 04579 $wgAutopromoteOnce = array( 04580 'onEdit' => array(), 04581 'onView' => array() 04582 ); 04583 04588 $wgAutopromoteOnceLogInRC = true; 04589 04612 $wgAddGroups = array(); 04613 04617 $wgRemoveGroups = array(); 04618 04623 $wgAvailableRights = array(); 04624 04629 $wgDeleteRevisionsLimit = 0; 04630 04638 $wgHideUserContribLimit = 1000; 04639 04645 $wgAccountCreationThrottle = 0; 04646 04658 $wgSpamRegex = array(); 04659 04663 $wgSummarySpamRegex = array(); 04664 04670 $wgEnableDnsBlacklist = false; 04671 04676 $wgEnableSorbs = false; 04677 04701 $wgDnsBlacklistUrls = array( 'http.dnsbl.sorbs.net.' ); 04702 04707 $wgSorbsUrl = array(); 04708 04713 $wgProxyWhitelist = array(); 04714 04720 $wgApplyIpBlocksToXff = false; 04721 04742 $wgRateLimits = array( 04743 'edit' => array( 04744 'anon' => null, // for any and all anonymous edits (aggregate) 04745 'user' => null, // for each logged-in user 04746 'newbie' => null, // for each recent (autoconfirmed) account; overrides 'user' 04747 'ip' => null, // for each anon and recent account 04748 'subnet' => null, // ... within a /24 subnet in IPv4 or /64 in IPv6 04749 ), 04750 'move' => array( 04751 'user' => null, 04752 'newbie' => null, 04753 'ip' => null, 04754 'subnet' => null, 04755 ), 04756 'mailpassword' => array( // triggering password resets emails 04757 'anon' => null, 04758 ), 04759 'emailuser' => array( // emailing other users using MediaWiki 04760 'user' => null, 04761 ), 04762 'linkpurge' => array( // purges of link tables 04763 'anon' => null, 04764 'user' => null, 04765 'newbie' => null, 04766 'ip' => null, 04767 'subnet' => null, 04768 ), 04769 'renderfile' => array( // files rendered via thumb.php or thumb_handler.php 04770 'anon' => null, 04771 'user' => null, 04772 'newbie' => null, 04773 'ip' => null, 04774 'subnet' => null, 04775 ), 04776 ); 04777 04783 $wgRateLimitLog = null; 04784 04789 $wgRateLimitsExcludedIPs = array(); 04790 04796 $wgPutIPinRC = true; 04797 04802 $wgQueryPageDefaultLimit = 50; 04803 04809 $wgPasswordAttemptThrottle = array( 'count' => 5, 'seconds' => 300 ); 04810 # end of user rights settings 04812 04813 /************************************************************************//** 04814 * @name Proxy scanner settings 04815 * @{ 04816 */ 04817 04821 $wgSecretKey = false; 04822 04832 $wgProxyList = array(); 04833 04837 $wgProxyKey = false; 04838 # end of proxy scanner settings 04840 04841 /************************************************************************//** 04842 * @name Cookie settings 04843 * @{ 04844 */ 04845 04849 $wgCookieExpiration = 180 * 86400; 04850 04855 $wgCookieDomain = ''; 04856 04861 $wgCookiePath = '/'; 04862 04869 $wgCookieSecure = 'detect'; 04870 04877 $wgDisableCookieCheck = false; 04878 04884 $wgCookiePrefix = false; 04885 04891 $wgCookieHttpOnly = true; 04892 04896 $wgCacheVaryCookies = array(); 04897 04901 $wgSessionName = false; 04902 # end of cookie settings } 04904 04905 /************************************************************************//** 04906 * @name LaTeX (mathematical formulas) 04907 * @{ 04908 */ 04909 04916 $wgUseTeX = false; 04917 # end LaTeX } 04919 04920 /************************************************************************//** 04921 * @name Profiling, testing and debugging 04922 * 04923 * To enable profiling, edit StartProfiler.php 04924 * 04925 * @{ 04926 */ 04927 04933 $wgDebugLogFile = ''; 04934 04938 $wgDebugLogPrefix = ''; 04939 04945 $wgDebugRedirects = false; 04946 04952 $wgDebugRawPage = false; 04953 04962 $wgDebugComments = false; 04963 04969 $wgDebugDBTransactions = false; 04970 04974 $wgDebugDumpSql = false; 04975 05003 $wgDebugLogGroups = array(); 05004 05010 $wgShowDebug = false; 05011 05016 $wgDebugTimestamps = false; 05017 05021 $wgDebugPrintHttpHeaders = true; 05022 05026 $wgSpecialVersionShowHooks = false; 05027 05033 $wgShowSQLErrors = false; 05034 05041 $wgShowExceptionDetails = false; 05042 05051 $wgShowDBErrorBacktrace = false; 05052 05056 $wgLogExceptionBacktrace = true; 05057 05061 $wgShowHostnames = false; 05062 05068 $wgOverrideHostname = false; 05069 05074 $wgDevelopmentWarnings = false; 05075 05081 $wgDeprecationReleaseLimit = false; 05082 05086 $wgProfileLimit = 0.0; 05087 05094 $wgProfileOnly = false; 05095 05106 $wgProfileToDatabase = false; 05107 05111 $wgProfileCallTree = false; 05112 05116 $wgProfilePerHost = false; 05117 05125 $wgUDPProfilerHost = '127.0.0.1'; 05126 05131 $wgUDPProfilerPort = '3811'; 05132 05142 $wgUDPProfilerFormatString = "%s - %d %f %f %f %f %s\n"; 05143 05147 $wgDebugFunctionEntry = false; 05148 05155 $wgStatsMethod = 'cache'; 05156 05163 $wgAggregateStatsID = false; 05164 05176 $wgStatsFormatString = "stats/%s - %s 1 1 1 1 %s\n"; 05177 05182 $wgDisableCounters = false; 05183 05189 $wgPageInfoTransclusionLimit = 50; 05190 05197 $wgSiteStatsAsyncFactor = false; 05198 05208 $wgParserTestFiles = array( 05209 "$IP/tests/parser/parserTests.txt", 05210 "$IP/tests/parser/extraParserTests.txt" 05211 ); 05212 05226 $wgParserTestRemote = false; 05227 05231 $wgEnableJavaScriptTest = false; 05232 05236 $wgJavaScriptTestConfig = array( 05237 'qunit' => array( 05238 // Page where documentation can be found relevant to the QUnit test suite being ran. 05239 // Used in the intro paragraph on [[Special:JavaScriptTest/qunit]] for the 05240 // documentation link in the "javascripttest-qunit-intro" message. 05241 'documentation' => '//www.mediawiki.org/wiki/Manual:JavaScript_unit_testing', 05242 // If you are submitting the QUnit test suite to a TestSwarm instance, 05243 // point this to the "inject.js" script of that instance. This is was registers 05244 // the QUnit hooks to extract the test results and push them back up into the 05245 // TestSwarm database. 05246 // @example 'http://localhost/testswarm/js/inject.js' 05247 // @example '//integration.mediawiki.org/testswarm/js/inject.js' 05248 'testswarm-injectjs' => false, 05249 ), 05250 ); 05251 05256 $wgCachePrefix = false; 05257 05265 $wgDebugToolbar = false; 05266 # end of profiling, testing and debugging } 05268 05269 /************************************************************************//** 05270 * @name Search 05271 * @{ 05272 */ 05273 05277 $wgDisableTextSearch = false; 05278 05283 $wgAdvancedSearchHighlighting = false; 05284 05289 $wgSearchHighlightBoundaries = '[\p{Z}\p{P}\p{C}]'; 05290 05301 $wgCountTotalSearchHits = false; 05302 05311 $wgOpenSearchTemplate = false; 05312 05319 $wgEnableOpenSearchSuggest = true; 05320 05325 $wgOpenSearchDefaultLimit = 10; 05326 05330 $wgSearchSuggestCacheExpiry = 1200; 05331 05336 $wgDisableSearchUpdate = false; 05337 05347 $wgNamespacesToBeSearchedDefault = array( 05348 NS_MAIN => true, 05349 ); 05350 05357 $wgNamespacesToBeSearchedHelp = array( 05358 NS_PROJECT => true, 05359 NS_HELP => true, 05360 ); 05361 05368 $wgSearchEverythingOnlyLoggedIn = false; 05369 05374 $wgDisableInternalSearch = false; 05375 05391 $wgSearchForwardUrl = null; 05392 05398 $wgUseTwoButtonsSearchForm = true; 05399 05405 $wgSitemapNamespaces = false; 05406 05421 $wgSitemapNamespacesPriorities = false; 05422 05428 $wgEnableSearchContributorsByIP = true; 05429 # end of search settings 05431 05432 /************************************************************************//** 05433 * @name Edit user interface 05434 * @{ 05435 */ 05436 05441 $wgDiff3 = '/usr/bin/diff3'; 05442 05446 $wgDiff = '/usr/bin/diff'; 05447 05453 $wgPreviewOnOpenNamespaces = array( 05454 NS_CATEGORY => true 05455 ); 05456 05460 $wgGoToEdit = false; 05461 05467 $wgUniversalEditButton = true; 05468 05474 $wgUseAutomaticEditSummaries = true; 05475 # end edit UI } 05477 05478 /************************************************************************//** 05479 * @name Maintenance 05480 * See also $wgSiteNotice 05481 * @{ 05482 */ 05483 05488 if ( !isset( $wgCommandLineMode ) ) { 05489 $wgCommandLineMode = false; 05490 } 05496 $wgCommandLineDarkBg = false; 05497 05506 $wgReadOnly = null; 05507 05515 $wgReadOnlyFile = false; 05516 05526 $wgUpgradeKey = false; 05527 05531 $wgGitBin = '/usr/bin/git'; 05532 05545 $wgGitRepositoryViewers = array( 05546 'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' => 05547 'https://git.wikimedia.org/commit/%r/%H', 05548 'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' => 05549 'https://git.wikimedia.org/commit/%r/%H', 05550 ); 05551 # End of maintenance } 05553 05554 /************************************************************************//** 05555 * @name Recent changes, new pages, watchlist and history 05556 * @{ 05557 */ 05558 05564 $wgRCMaxAge = 13 * 7 * 24 * 3600; 05565 05573 $wgRCFilterByAge = false; 05574 05579 $wgRCLinkLimits = array( 50, 100, 250, 500 ); 05580 05585 $wgRCLinkDays = array( 1, 3, 7, 14, 30 ); 05586 05593 $wgRC2UDPAddress = false; 05594 05600 $wgRC2UDPPort = false; 05601 05610 $wgRC2UDPPrefix = ''; 05611 05619 $wgRC2UDPInterwikiPrefix = false; 05620 05627 $wgRC2UDPOmitBots = false; 05628 05669 $wgRCFeeds = array(); 05670 05675 $wgRCEngines = array( 05676 'redis' => 'RedisPubSubFeedEngine', 05677 'udp' => 'UDPRCFeedEngine', 05678 ); 05679 05685 $wgEnableNewpagesUserFilter = true; 05686 05690 $wgUseRCPatrol = true; 05691 05695 $wgUseNPPatrol = true; 05696 05700 $wgLogAutopatrol = true; 05701 05705 $wgFeed = true; 05706 05711 $wgFeedLimit = 50; 05712 05721 $wgFeedCacheTimeout = 60; 05722 05727 $wgFeedDiffCutoff = 32768; 05728 05741 $wgOverrideSiteFeed = array(); 05742 05748 $wgFeedClasses = array( 05749 'rss' => 'RSSFeed', 05750 'atom' => 'AtomFeed', 05751 ); 05752 05757 $wgAdvertisedFeedTypes = array( 'atom' ); 05758 05762 $wgRCShowWatchingUsers = false; # UPO 05763 05767 $wgPageShowWatchingUsers = false; 05768 05772 $wgRCShowChangedSize = true; 05773 05779 $wgRCChangedSizeThreshold = 500; 05780 05785 $wgShowUpdatedMarker = true; 05786 05791 $wgDisableAnonTalk = false; 05792 05796 $wgAllowCategorizedRecentChanges = false; 05797 05802 $wgUseTagFilter = true; 05803 05811 $wgUnwatchedPageThreshold = false; 05812 05829 $wgRecentChangesFlags = array( 05830 'newpage' => array( 'letter' => 'newpageletter', 05831 'title' => 'recentchanges-label-newpage' ), 05832 'minor' => array( 'letter' => 'minoreditletter', 05833 'title' => 'recentchanges-label-minor', 'class' => 'minoredit' ), 05834 'bot' => array( 'letter' => 'boteditletter', 05835 'title' => 'recentchanges-label-bot', 'class' => 'botedit' ), 05836 'unpatrolled' => array( 'letter' => 'unpatrolledletter', 05837 'title' => 'recentchanges-label-unpatrolled' ), 05838 ); 05839 # end RC/watchlist } 05841 05842 /************************************************************************//** 05843 * @name Copyright and credits settings 05844 * @{ 05845 */ 05846 05854 $wgRightsPage = null; 05855 05861 $wgRightsUrl = null; 05862 05869 $wgRightsText = null; 05870 05874 $wgRightsIcon = null; 05875 05880 $wgCopyrightIcon = null; 05881 05885 $wgUseCopyrightUpload = false; 05886 05894 $wgMaxCredits = 0; 05895 05900 $wgShowCreditsIfMax = true; 05901 # end of copyright and credits settings } 05903 05904 /************************************************************************//** 05905 * @name Import / Export 05906 * @{ 05907 */ 05908 05917 $wgImportSources = array(); 05918 05926 $wgImportTargetNamespace = null; 05927 05933 $wgExportAllowHistory = true; 05934 05940 $wgExportMaxHistory = 0; 05941 05945 $wgExportAllowListContributors = false; 05946 05958 $wgExportMaxLinkDepth = 0; 05959 05963 $wgExportFromNamespaces = false; 05964 05968 $wgExportAllowAll = false; 05969 # end of import/export } 05971 05972 /*************************************************************************//** 05973 * @name Extensions 05974 * @{ 05975 */ 05976 05981 $wgExtensionFunctions = array(); 05982 06009 $wgExtensionMessagesFiles = array(); 06010 06034 $wgMessagesDirs = array( 06035 'core' => "$IP/languages/i18n", 06036 'oojs-ui' => "$IP/resources/lib/oojs-ui/i18n", 06037 ); 06038 06044 $wgExtensionEntryPointListFiles = array(); 06045 06060 $wgParserOutputHooks = array(); 06061 06065 $wgEnableParserLimitReporting = true; 06066 06076 $wgValidSkinNames = array(); 06077 06082 $wgSpecialPages = array(); 06083 06087 $wgAutoloadClasses = array(); 06088 06094 $wgAutoloadAttemptLowercase = true; 06095 06136 $wgExtensionCredits = array(); 06137 06142 $wgAuth = null; 06143 06178 $wgHooks = array(); 06179 06184 $wgJobClasses = array( 06185 'refreshLinks' => 'RefreshLinksJob', 06186 'refreshLinks2' => 'RefreshLinksJob2', // b/c 06187 'htmlCacheUpdate' => 'HTMLCacheUpdateJob', 06188 'sendMail' => 'EmaillingJob', 06189 'enotifNotify' => 'EnotifNotifyJob', 06190 'fixDoubleRedirect' => 'DoubleRedirectJob', 06191 'uploadFromUrl' => 'UploadFromUrlJob', 06192 'AssembleUploadChunks' => 'AssembleUploadChunksJob', 06193 'PublishStashedFile' => 'PublishStashedFileJob', 06194 'null' => 'NullJob' 06195 ); 06196 06208 $wgJobTypesExcludedFromDefaultQueue = array( 'AssembleUploadChunks', 'PublishStashedFile' ); 06209 06218 $wgJobBackoffThrottling = array(); 06219 06226 $wgJobTypeConf = array( 06227 'default' => array( 'class' => 'JobQueueDB', 'order' => 'random' ), 06228 ); 06229 06234 $wgJobQueueAggregator = array( 06235 'class' => 'JobQueueAggregatorMemc' 06236 ); 06237 06242 $wgSpecialPageCacheUpdates = array( 06243 'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' ), 06244 'Activeusers' => array( 'SpecialActiveUsers', 'cacheUpdate' ), 06245 ); 06246 06254 $wgExceptionHooks = array(); 06255 06263 $wgPagePropLinkInvalidations = array( 06264 'hiddencat' => 'categorylinks', 06265 ); 06266 # End extensions } 06268 06269 /*************************************************************************//** 06270 * @name Categories 06271 * @{ 06272 */ 06273 06277 $wgUseCategoryBrowser = false; 06278 06283 $wgCategoryMagicGallery = true; 06284 06288 $wgCategoryPagingLimit = 200; 06289 06315 $wgCategoryCollation = 'uppercase'; 06316 # End categories } 06318 06319 /*************************************************************************//** 06320 * @name Logging 06321 * @{ 06322 */ 06323 06330 $wgLogTypes = array( 06331 '', 06332 'block', 06333 'protect', 06334 'rights', 06335 'delete', 06336 'upload', 06337 'move', 06338 'import', 06339 'patrol', 06340 'merge', 06341 'suppress', 06342 ); 06343 06351 $wgLogRestrictions = array( 06352 'suppress' => 'suppressionlog' 06353 ); 06354 06377 $wgFilterLogTypes = array( 06378 'patrol' => true 06379 ); 06380 06390 $wgLogNames = array( 06391 '' => 'all-logs-page', 06392 'block' => 'blocklogpage', 06393 'protect' => 'protectlogpage', 06394 'rights' => 'rightslog', 06395 'delete' => 'dellogpage', 06396 'upload' => 'uploadlogpage', 06397 'move' => 'movelogpage', 06398 'import' => 'importlogpage', 06399 'patrol' => 'patrol-log-page', 06400 'merge' => 'mergelog', 06401 'suppress' => 'suppressionlog', 06402 ); 06403 06413 $wgLogHeaders = array( 06414 '' => 'alllogstext', 06415 'block' => 'blocklogtext', 06416 'protect' => 'protectlogtext', 06417 'rights' => 'rightslogtext', 06418 'delete' => 'dellogpagetext', 06419 'upload' => 'uploadlogpagetext', 06420 'move' => 'movelogpagetext', 06421 'import' => 'importlogpagetext', 06422 'patrol' => 'patrol-log-header', 06423 'merge' => 'mergelogpagetext', 06424 'suppress' => 'suppressionlogtext', 06425 ); 06426 06433 $wgLogActions = array( 06434 'block/block' => 'blocklogentry', 06435 'block/unblock' => 'unblocklogentry', 06436 'block/reblock' => 'reblock-logentry', 06437 'protect/protect' => 'protectedarticle', 06438 'protect/modify' => 'modifiedarticleprotection', 06439 'protect/unprotect' => 'unprotectedarticle', 06440 'protect/move_prot' => 'movedarticleprotection', 06441 'upload/upload' => 'uploadedimage', 06442 'upload/overwrite' => 'overwroteimage', 06443 'upload/revert' => 'uploadedimage', 06444 'import/upload' => 'import-logentry-upload', 06445 'import/interwiki' => 'import-logentry-interwiki', 06446 'merge/merge' => 'pagemerge-logentry', 06447 'suppress/block' => 'blocklogentry', 06448 'suppress/reblock' => 'reblock-logentry', 06449 ); 06450 06457 $wgLogActionsHandlers = array( 06458 'move/move' => 'MoveLogFormatter', 06459 'move/move_redir' => 'MoveLogFormatter', 06460 'delete/delete' => 'DeleteLogFormatter', 06461 'delete/restore' => 'DeleteLogFormatter', 06462 'delete/revision' => 'DeleteLogFormatter', 06463 'delete/event' => 'DeleteLogFormatter', 06464 'suppress/revision' => 'DeleteLogFormatter', 06465 'suppress/event' => 'DeleteLogFormatter', 06466 'suppress/delete' => 'DeleteLogFormatter', 06467 'patrol/patrol' => 'PatrolLogFormatter', 06468 'rights/rights' => 'RightsLogFormatter', 06469 'rights/autopromote' => 'RightsLogFormatter', 06470 ); 06471 06475 $wgNewUserLog = true; 06476 # end logging } 06478 06479 /*************************************************************************//** 06480 * @name Special pages (general and miscellaneous) 06481 * @{ 06482 */ 06483 06487 $wgAllowSpecialInclusion = true; 06488 06493 $wgDisableQueryPageUpdate = false; 06494 06501 $wgSpecialPageGroups = array(); 06502 06506 $wgSortSpecialPages = true; 06507 06512 $wgCountCategorizedImagesAsUsed = false; 06513 06518 $wgMaxRedirectLinksRetrieved = 500; 06519 # end special pages } 06521 06522 /*************************************************************************//** 06523 * @name Actions 06524 * @{ 06525 */ 06526 06537 $wgActions = array( 06538 'credits' => true, 06539 'delete' => true, 06540 'edit' => true, 06541 'history' => true, 06542 'info' => true, 06543 'markpatrolled' => true, 06544 'protect' => true, 06545 'purge' => true, 06546 'raw' => true, 06547 'render' => true, 06548 'revert' => true, 06549 'revisiondelete' => true, 06550 'rollback' => true, 06551 'submit' => true, 06552 'unprotect' => true, 06553 'unwatch' => true, 06554 'view' => true, 06555 'watch' => true, 06556 ); 06557 # end actions } 06559 06560 /*************************************************************************//** 06561 * @name Robot (search engine crawler) policy 06562 * See also $wgNoFollowLinks. 06563 * @{ 06564 */ 06565 06571 $wgDefaultRobotPolicy = 'index,follow'; 06572 06587 $wgNamespaceRobotPolicies = array(); 06588 06615 $wgArticleRobotPolicies = array(); 06616 06627 $wgExemptFromUserRobotsControl = null; 06628 # End robot policy } 06630 06631 /************************************************************************//** 06632 * @name AJAX and API 06633 * Note: The AJAX entry point which this section refers to is gradually being 06634 * replaced by the API entry point, api.php. They are essentially equivalent. 06635 * Both of them are used for dynamic client-side features, via XHR. 06636 * @{ 06637 */ 06638 06645 $wgEnableAPI = true; 06646 06652 $wgEnableWriteAPI = true; 06653 06668 $wgDebugAPI = false; 06669 06677 $wgAPIModules = array(); 06678 06686 $wgAPIFormatModules = array(); 06687 06695 $wgAPIMetaModules = array(); 06696 06704 $wgAPIPropModules = array(); 06705 06713 $wgAPIListModules = array(); 06714 06719 $wgAPIGeneratorModules = array(); 06720 06725 $wgAPIMaxDBRows = 5000; 06726 06731 $wgAPIMaxResultSize = 8388608; 06732 06737 $wgAPIMaxUncachedDiffs = 1; 06738 06743 $wgAPIRequestLog = false; 06744 06748 $wgAPICacheHelpTimeout = 60 * 60; 06749 06754 $wgAPIUselessQueryPages = array( 06755 'MIMEsearch', // aiprop=mime 06756 'LinkSearch', // list=exturlusage 06757 'FileDuplicateSearch', // prop=duplicatefiles 06758 ); 06759 06763 $wgUseAjax = true; 06764 06769 $wgAjaxExportList = array(); 06770 06775 $wgAjaxWatch = true; 06776 06780 $wgAjaxUploadDestCheck = true; 06781 06785 $wgAjaxLicensePreview = true; 06786 06807 $wgCrossSiteAJAXdomains = array(); 06808 06814 $wgCrossSiteAJAXdomainExceptions = array(); 06815 # End AJAX and API } 06817 06818 /************************************************************************//** 06819 * @name Shell and process control 06820 * @{ 06821 */ 06822 06826 $wgMaxShellMemory = 307200; 06827 06832 $wgMaxShellFileSize = 102400; 06833 06837 $wgMaxShellTime = 180; 06838 06843 $wgMaxShellWallClockTime = 180; 06844 06868 $wgShellCgroup = false; 06869 06873 $wgPhpCli = '/usr/bin/php'; 06874 06880 $wgShellLocale = 'en_US.utf8'; 06881 # End shell } 06883 06884 /************************************************************************//** 06885 * @name HTTP client 06886 * @{ 06887 */ 06888 06892 $wgHTTPTimeout = 25; 06893 06897 $wgAsyncHTTPTimeout = 25; 06898 06902 $wgHTTPProxy = false; 06903 06908 $wgHTTPConnectTimeout = 5e0; 06909 # End HTTP client } 06911 06912 /************************************************************************//** 06913 * @name Job queue 06914 * See also $wgEnotifUseJobQ. 06915 * @{ 06916 */ 06917 06924 $wgJobRunRate = 1; 06925 06932 $wgRunJobsAsync = true; 06933 06937 $wgUpdateRowsPerJob = 500; 06938 06942 $wgUpdateRowsPerQuery = 100; 06943 # End job queue } 06945 06946 /************************************************************************//** 06947 * @name Miscellaneous 06948 * @{ 06949 */ 06950 06954 $wgExternalDiffEngine = false; 06955 06964 $wgDisableHardRedirects = false; 06965 06970 $wgLinkHolderBatchSize = 1000; 06971 06976 $wgRegisterInternalExternals = false; 06977 06981 $wgMaximumMovedPages = 100; 06982 06987 $wgFixDoubleRedirects = false; 06988 06993 $wgRedirectOnLogin = null; 06994 07015 $wgPoolCounterConf = null; 07016 07020 $wgUploadMaintenance = false; 07021 07030 $wgNamespaceContentModels = array(); 07031 07042 $wgContentHandlerTextFallback = 'ignore'; 07043 07057 $wgContentHandlerUseDB = true; 07058 07069 $wgTextModelsToParse = array( 07070 CONTENT_MODEL_WIKITEXT, // Just for completeness, wikitext will always be parsed. 07071 CONTENT_MODEL_JAVASCRIPT, // Make categories etc work, people put them into comments. 07072 CONTENT_MODEL_CSS, // Make categories etc work, people put them into comments. 07073 ); 07074 07080 $wgRequirePasswordforEmailChange = true; 07081 07087 $wgSiteTypes = array( 07088 'mediawiki' => 'MediaWikiSite', 07089 ); 07090 07095 $wgCompiledFiles = array(); 07096