2022-01-26 19:42:59 +00:00
< ? php
2022-06-01 20:53:05 +00:00
// This file is automatically generated using maintenance/generateConfigSchema.php.
2022-05-06 09:55:40 +00:00
// Do not modify this file manually, edit includes/MainConfigSchema.php instead.
2022-01-26 19:42:59 +00:00
// phpcs:disable Generic.Files.LineLength
return [
2022-04-29 17:09:57 +00:00
'config-schema-inverse' => [
'default' => [
'ConfigRegistry' => [
2022-01-26 19:42:59 +00:00
'main' => 'GlobalVarConfig::newInstance' ,
],
2022-04-29 17:09:57 +00:00
'Sitename' => 'MediaWiki' ,
'Server' => false ,
'CanonicalServer' => false ,
'ServerName' => false ,
'AssumeProxiesUseDefaultProtocolPorts' => true ,
'HttpsPort' => 443 ,
'ForceHTTPS' => false ,
'ScriptPath' => '/wiki' ,
'UsePathInfo' => null ,
'Script' => false ,
'LoadScript' => false ,
'RestPath' => false ,
'StylePath' => false ,
'LocalStylePath' => false ,
'ExtensionAssetsPath' => false ,
'ExtensionDirectory' => null ,
'StyleDirectory' => null ,
'BaseDirectory' => null ,
'ArticlePath' => false ,
'UploadPath' => false ,
'ImgAuthPath' => false ,
'ThumbPath' => false ,
'UploadDirectory' => false ,
'FileCacheDirectory' => false ,
'Logo' => false ,
'Logos' => false ,
'LogoHD' => false ,
'Favicon' => '/favicon.ico' ,
'AppleTouchIcon' => false ,
'ReferrerPolicy' => false ,
'TmpDirectory' => false ,
'UploadBaseUrl' => '' ,
'UploadStashScalerBaseUrl' => false ,
'ActionPaths' => [
],
'MainPageIsDomainRoot' => false ,
'EnableUploads' => false ,
'UploadStashMaxAge' => 21600 ,
'EnableAsyncUploads' => false ,
'UploadMaintenance' => false ,
'IllegalFileChars' => ':\\/\\\\' ,
'DeletedDirectory' => false ,
'ImgAuthDetails' => false ,
'ImgAuthUrlPathMap' => [
],
'LocalFileRepo' => false ,
'ForeignFileRepos' => [
],
'UseInstantCommons' => false ,
'UseSharedUploads' => false ,
'SharedUploadDirectory' => null ,
'SharedUploadPath' => null ,
'HashedSharedUploadDirectory' => true ,
'RepositoryBaseUrl' => 'https://commons.wikimedia.org/wiki/File:' ,
'FetchCommonsDescriptions' => false ,
'SharedUploadDBname' => false ,
'SharedUploadDBprefix' => '' ,
'CacheSharedUploads' => true ,
'ForeignUploadTargets' => [
2022-01-26 19:42:59 +00:00
0 => 'local' ,
],
2022-04-29 17:09:57 +00:00
'UploadDialog' => [
2022-01-26 19:42:59 +00:00
'fields' => [
'description' => true ,
'date' => false ,
'categories' => false ,
],
'licensemessages' => [
'local' => 'generic-local' ,
'foreign' => 'generic-foreign' ,
],
'comment' => [
'local' => '' ,
'foreign' => '' ,
],
'format' => [
'filepage' => '$DESCRIPTION' ,
'description' => '$TEXT' ,
'ownwork' => '' ,
'license' => '' ,
'uncategorized' => '' ,
],
],
2022-04-29 17:09:57 +00:00
'FileBackends' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'LockManagers' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ShowEXIF' => null ,
'UpdateCompatibleMetadata' => false ,
'AllowCopyUploads' => false ,
'CopyUploadsDomains' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'CopyUploadsFromSpecialUpload' => false ,
'CopyUploadProxy' => false ,
'CopyUploadTimeout' => false ,
'CopyUploadAllowOnWikiDomainConfig' => false ,
'MaxUploadSize' => 104857600 ,
'MinUploadChunkSize' => 1024 ,
'UploadNavigationUrl' => false ,
'UploadMissingFileUrl' => false ,
'ThumbnailScriptPath' => false ,
'SharedThumbnailScriptPath' => false ,
'HashedUploadDirectory' => true ,
'FileExtensions' => [
2022-01-26 19:42:59 +00:00
0 => 'png' ,
1 => 'gif' ,
2 => 'jpg' ,
3 => 'jpeg' ,
4 => 'webp' ,
],
2022-04-29 17:09:57 +00:00
'ProhibitedFileExtensions' => [
2022-01-26 19:42:59 +00:00
0 => 'html' ,
1 => 'htm' ,
2 => 'js' ,
3 => 'jsb' ,
4 => 'mhtml' ,
5 => 'mht' ,
6 => 'xhtml' ,
7 => 'xht' ,
8 => 'php' ,
9 => 'phtml' ,
10 => 'php3' ,
11 => 'php4' ,
12 => 'php5' ,
13 => 'phps' ,
14 => 'phar' ,
15 => 'shtml' ,
16 => 'jhtml' ,
17 => 'pl' ,
18 => 'py' ,
19 => 'cgi' ,
20 => 'exe' ,
21 => 'scr' ,
22 => 'dll' ,
23 => 'msi' ,
24 => 'vbs' ,
25 => 'bat' ,
26 => 'com' ,
27 => 'pif' ,
28 => 'cmd' ,
29 => 'vxd' ,
30 => 'cpl' ,
2023-09-27 12:08:52 +00:00
31 => 'xml' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'MimeTypeExclusions' => [
2022-01-26 19:42:59 +00:00
0 => 'text/html' ,
1 => 'application/javascript' ,
2 => 'text/javascript' ,
3 => 'text/x-javascript' ,
4 => 'application/x-shellscript' ,
5 => 'application/x-php' ,
6 => 'text/x-php' ,
7 => 'text/x-python' ,
8 => 'text/x-perl' ,
9 => 'text/x-bash' ,
10 => 'text/x-sh' ,
11 => 'text/x-csh' ,
12 => 'text/scriptlet' ,
13 => 'application/x-msdownload' ,
14 => 'application/x-msmetafile' ,
2022-05-03 01:27:36 +00:00
15 => 'application/java' ,
2023-09-27 15:27:34 +00:00
16 => 'application/xml' ,
17 => 'text/xml' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'CheckFileExtensions' => true ,
'StrictFileExtensions' => true ,
'DisableUploadScriptChecks' => false ,
'UploadSizeWarning' => false ,
'TrustedMediaFormats' => [
2022-01-26 19:42:59 +00:00
0 => 'BITMAP' ,
1 => 'AUDIO' ,
2 => 'VIDEO' ,
3 => 'image/svg+xml' ,
4 => 'application/pdf' ,
],
2022-04-29 17:09:57 +00:00
'MediaHandlers' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'NativeImageLazyLoading' => false ,
'ParserTestMediaHandlers' => [
2022-01-26 19:42:59 +00:00
'image/jpeg' => 'MockBitmapHandler' ,
'image/png' => 'MockBitmapHandler' ,
'image/gif' => 'MockBitmapHandler' ,
'image/tiff' => 'MockBitmapHandler' ,
'image/webp' => 'MockBitmapHandler' ,
'image/x-ms-bmp' => 'MockBitmapHandler' ,
'image/x-bmp' => 'MockBitmapHandler' ,
'image/x-xcf' => 'MockBitmapHandler' ,
'image/svg+xml' => 'MockSvgHandler' ,
'image/vnd.djvu' => 'MockDjVuHandler' ,
],
2022-04-29 17:09:57 +00:00
'UseImageResize' => true ,
'UseImageMagick' => false ,
'ImageMagickConvertCommand' => '/usr/bin/convert' ,
'MaxInterlacingAreas' => [
],
'SharpenParameter' => '0x0.4' ,
'SharpenReductionThreshold' => 0.85 ,
'ImageMagickTempDir' => false ,
'CustomConvertCommand' => false ,
'JpegTran' => '/usr/bin/jpegtran' ,
'JpegPixelFormat' => 'yuv420' ,
'JpegQuality' => 80 ,
'Exiv2Command' => '/usr/bin/exiv2' ,
'Exiftool' => '/usr/bin/exiftool' ,
'SVGConverters' => [
2022-01-26 19:42:59 +00:00
'ImageMagick' => '$path/convert -background "#ffffff00" -thumbnail $widthx$height\\! $input PNG:$output' ,
'sodipodi' => '$path/sodipodi -z -w $width -f $input -e $output' ,
'inkscape' => '$path/inkscape -z -w $width -f $input -e $output' ,
'batik' => 'java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input' ,
'rsvg' => '$path/rsvg-convert -w $width -h $height -o $output $input' ,
'imgserv' => '$path/imgserv-wrapper -i svg -o png -w$width $input $output' ,
'ImagickExt' => [
0 => 'SvgHandler::rasterizeImagickExt' ,
],
],
2022-04-29 17:09:57 +00:00
'SVGConverter' => 'ImageMagick' ,
'SVGConverterPath' => '' ,
'SVGMaxSize' => 5120 ,
'SVGMetadataCutoff' => 262144 ,
2023-05-27 07:37:57 +00:00
'SVGNativeRendering' => false ,
2023-05-19 14:56:44 +00:00
'SVGNativeRenderingSizeLimit' => 51200 ,
2022-04-29 17:09:57 +00:00
'MediaInTargetLanguage' => true ,
'MaxImageArea' => 12500000 ,
'MaxAnimatedGifArea' => 12500000 ,
'TiffThumbnailType' => [
],
'ThumbnailEpoch' => '20030516000000' ,
'AttemptFailureEpoch' => 1 ,
'IgnoreImageErrors' => false ,
'GenerateThumbnailOnParse' => true ,
'ShowArchiveThumbnails' => true ,
'EnableAutoRotation' => null ,
'Antivirus' => null ,
'AntivirusSetup' => [
2022-01-26 19:42:59 +00:00
'clamav' => [
'command' => 'clamscan --no-summary ' ,
'codemap' => [
0 => 0 ,
1 => 1 ,
52 => - 1 ,
'*' => false ,
],
'messagepattern' => '/.*?:(.*)/sim' ,
],
],
2022-04-29 17:09:57 +00:00
'AntivirusRequired' => true ,
'VerifyMimeType' => true ,
'MimeTypeFile' => 'internal' ,
'MimeInfoFile' => 'internal' ,
'MimeDetectorCommand' => null ,
'TrivialMimeDetection' => false ,
'XMLMimeTypes' => [
2022-01-26 19:42:59 +00:00
'http://www.w3.org/2000/svg:svg' => 'image/svg+xml' ,
'svg' => 'image/svg+xml' ,
'http://www.lysator.liu.se/~alla/dia/:diagram' => 'application/x-dia-diagram' ,
'http://www.w3.org/1999/xhtml:html' => 'text/html' ,
'html' => 'text/html' ,
],
2022-04-29 17:09:57 +00:00
'ImageLimits' => [
2022-01-26 19:42:59 +00:00
0 => [
0 => 320 ,
1 => 240 ,
],
1 => [
0 => 640 ,
1 => 480 ,
],
2 => [
0 => 800 ,
1 => 600 ,
],
3 => [
0 => 1024 ,
1 => 768 ,
],
4 => [
0 => 1280 ,
1 => 1024 ,
],
5 => [
0 => 2560 ,
1 => 2048 ,
],
],
2022-04-29 17:09:57 +00:00
'ThumbLimits' => [
2022-01-26 19:42:59 +00:00
0 => 120 ,
1 => 150 ,
2 => 180 ,
3 => 200 ,
4 => 250 ,
5 => 300 ,
],
2022-08-31 14:51:57 +00:00
'ThumbnailNamespaces' => [
0 => 6 ,
],
2022-04-29 17:09:57 +00:00
'ThumbnailBuckets' => null ,
'ThumbnailMinimumBucketDistance' => 50 ,
'UploadThumbnailRenderMap' => [
],
'UploadThumbnailRenderMethod' => 'jobqueue' ,
'UploadThumbnailRenderHttpCustomHost' => false ,
'UploadThumbnailRenderHttpCustomDomain' => false ,
'UseTinyRGBForJPGThumbnails' => false ,
'GalleryOptions' => [
],
'ThumbUpright' => 0.75 ,
'DirectoryMode' => 511 ,
'ResponsiveImages' => true ,
'ImagePreconnect' => false ,
2023-12-01 16:01:19 +00:00
'DjvuUseBoxedCommand' => false ,
2022-04-29 17:09:57 +00:00
'DjvuDump' => null ,
'DjvuRenderer' => null ,
'DjvuTxt' => null ,
'DjvuPostProcessor' => 'pnmtojpeg' ,
'DjvuOutputExtension' => 'jpg' ,
'EmergencyContact' => false ,
'PasswordSender' => false ,
'NoReplyAddress' => false ,
'EnableEmail' => true ,
'EnableUserEmail' => true ,
'EnableSpecialMute' => false ,
'EnableUserEmailMuteList' => false ,
'UserEmailUseReplyTo' => true ,
'PasswordReminderResendTime' => 24 ,
'NewPasswordExpiry' => 604800 ,
'UserEmailConfirmationTokenExpiry' => 604800 ,
'PasswordExpirationDays' => false ,
'PasswordExpireGrace' => 604800 ,
'SMTP' => false ,
'AdditionalMailParams' => null ,
'AllowHTMLEmail' => false ,
'EnotifFromEditor' => false ,
'EmailAuthentication' => true ,
'EnotifWatchlist' => false ,
'EnotifUserTalk' => false ,
'EnotifRevealEditorAddress' => false ,
'EnotifMinorEdits' => true ,
'EnotifImpersonal' => false ,
'EnotifMaxRecips' => 500 ,
'EnotifUseRealName' => false ,
'UsersNotifiedOnAllChanges' => [
],
'DBname' => 'my_wiki' ,
'DBmwschema' => null ,
'DBprefix' => '' ,
'DBserver' => 'localhost' ,
'DBport' => 5432 ,
'DBuser' => 'wikiuser' ,
'DBpassword' => '' ,
'DBtype' => 'mysql' ,
'DBssl' => false ,
'DBcompress' => false ,
'DBadminuser' => null ,
'DBadminpassword' => null ,
'SearchType' => null ,
'SearchTypeAlternatives' => null ,
'DBTableOptions' => 'ENGINE=InnoDB, DEFAULT CHARSET=binary' ,
'SQLMode' => '' ,
'DBDefaultGroup' => null ,
'SQLiteDataDir' => '' ,
'SharedDB' => null ,
'SharedPrefix' => false ,
'SharedTables' => [
2022-01-26 19:42:59 +00:00
0 => 'user' ,
1 => 'user_properties' ,
2022-02-28 03:05:58 +00:00
2 => 'user_autocreate_serial' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'SharedSchema' => false ,
'DBservers' => false ,
'LBFactoryConf' => [
2022-01-26 19:42:59 +00:00
'class' => 'Wikimedia\\Rdbms\\LBFactorySimple' ,
],
2022-04-29 17:09:57 +00:00
'DataCenterUpdateStickTTL' => 10 ,
'DBerrorLog' => false ,
'DBerrorLogTZ' => false ,
'LocalDatabases' => [
],
'DatabaseReplicaLagWarning' => 10 ,
'DatabaseReplicaLagCritical' => 30 ,
'MaxExecutionTimeForExpensiveQueries' => 0 ,
2023-10-04 11:41:19 +00:00
'VirtualDomainsMapping' => [
],
2022-09-06 09:27:52 +00:00
'TemplateLinksSchemaMigrationStage' => 768 ,
2023-09-05 21:27:59 +00:00
'PageLinksSchemaMigrationStage' => 3 ,
2023-08-03 13:54:40 +00:00
'ExternalLinksDomainGaps' => [
],
2022-04-29 17:09:57 +00:00
'ContentHandlers' => [
2022-08-24 12:55:03 +00:00
'wikitext' => [
'class' => 'WikitextContentHandler' ,
'services' => [
0 => 'TitleFactory' ,
1 => 'ParserFactory' ,
2 => 'GlobalIdGenerator' ,
3 => 'LanguageNameUtils' ,
2023-09-15 15:10:09 +00:00
4 => 'LinkRenderer' ,
5 => 'MagicWordFactory' ,
6 => 'ParsoidParserFactory' ,
2022-08-24 12:55:03 +00:00
],
],
2022-01-26 19:42:59 +00:00
'javascript' => 'JavaScriptContentHandler' ,
'json' => 'JsonContentHandler' ,
'css' => 'CssContentHandler' ,
'text' => 'TextContentHandler' ,
'unknown' => 'FallbackContentHandler' ,
],
2022-04-29 17:09:57 +00:00
'NamespaceContentModels' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ContentHandlerTextFallback' => 'ignore' ,
'TextModelsToParse' => [
2022-01-26 19:42:59 +00:00
0 => 'wikitext' ,
1 => 'javascript' ,
2 => 'css' ,
],
2022-04-29 17:09:57 +00:00
'CompressRevisions' => false ,
'ExternalStores' => [
],
'ExternalServers' => [
],
'DefaultExternalStore' => false ,
'RevisionCacheExpiry' => 604800 ,
'PageLanguageUseDB' => false ,
'DiffEngine' => null ,
'ExternalDiffEngine' => false ,
2023-07-06 05:39:17 +00:00
'Wikidiff2Options' => [
],
2022-04-29 17:09:57 +00:00
'RequestTimeLimit' => null ,
'TransactionalTimeLimit' => 120 ,
'CriticalSectionTimeLimit' => 180.0 ,
'MiserMode' => false ,
'DisableQueryPages' => false ,
'QueryCacheLimit' => 1000 ,
'WantedPagesThreshold' => 1 ,
'AllowSlowParserFunctions' => false ,
'AllowSchemaUpdates' => true ,
'MaxArticleSize' => 2048 ,
'MemoryLimit' => '50M' ,
'PoolCounterConf' => null ,
2022-09-22 23:47:42 +00:00
'PoolCountClientConf' => [
'servers' => [
0 => '127.0.0.1' ,
],
'timeout' => 0.1 ,
],
2022-04-29 17:09:57 +00:00
'MaxUserDBWriteDuration' => false ,
'MaxJobDBWriteDuration' => false ,
'LinkHolderBatchSize' => 1000 ,
'MaximumMovedPages' => 100 ,
'ForceDeferredUpdatesPreSend' => false ,
2022-04-26 21:09:38 +00:00
'MultiShardSiteStats' => false ,
2022-04-29 17:09:57 +00:00
'CacheDirectory' => false ,
'MainCacheType' => 0 ,
'MessageCacheType' => - 1 ,
'ParserCacheType' => - 1 ,
'SessionCacheType' => - 1 ,
'LanguageConverterCacheType' => - 1 ,
'ObjectCaches' => [
2022-01-26 19:42:59 +00:00
0 => [
'class' => 'EmptyBagOStuff' ,
'reportDupes' => false ,
],
1 => [
'class' => 'SqlBagOStuff' ,
'loggroup' => 'SQLBagOStuff' ,
],
- 1 => [
'factory' => 'ObjectCache::newAnything' ,
],
3 => [
'factory' => 'ObjectCache::getLocalServerInstance' ,
],
'memcached-php' => [
'class' => 'MemcachedPhpBagOStuff' ,
'loggroup' => 'memcached' ,
],
'memcached-pecl' => [
'class' => 'MemcachedPeclBagOStuff' ,
'loggroup' => 'memcached' ,
],
'hash' => [
'class' => 'HashBagOStuff' ,
'reportDupes' => false ,
],
'apc' => [
'class' => 'APCUBagOStuff' ,
'reportDupes' => false ,
],
'apcu' => [
'class' => 'APCUBagOStuff' ,
'reportDupes' => false ,
],
'wincache' => [
'class' => 'WinCacheBagOStuff' ,
'reportDupes' => false ,
2022-04-29 17:09:57 +00:00
],
2022-02-10 21:12:10 +00:00
],
objectcache: Remove $wgMainWANCache and $wgWANObjectCaches
We always wrap the local cluster cache, and there are no subclasses
of WANObjectCache. It was never documented or recommended how these
would be used. It is a left-over from the original 2015 Multi-DC plan
in which WANObjectCache would work differently. See task for details.
Note that this requires no configuration changes, even in the
theoretical case of these variables being used, as the only
option is to use the main cache, and that's also the default.
* Update WAN overrides to override the underlying main cache
instead.
* Fix EditPageTest which was previously implicitly using a 'hash'
as main cache but also relying on wan cache to be 'none'.
The part that it actually needs is the 'none'. When WAN cache is
enabled, testUpdateNoMinor fails due to an edit conflict because
one of the edits it makes is made with a current timestamp whereas
it expects to simulate wpEdittime in the year 2012 which, when
caching is enabled, is ignored and becomes the current time instead.
I don't understand exactly why, but I'm going to conserve that
behaviour for now.
* Fix TemplateCategoriesTest, which was failing due to an unexpected
cache hit:
> [objectcache] fetchOrRegenerate(…:page:10:…): volatile hit
This could be solved in a more realistic way by splitting the test,
or by explicitly resetting services half-way the test to clear
WikiPageFactory, PageStore and WANCache process state.
For now, keep the prior behaviour of no cache in this test.
Bug: T305093
Bug: T329680
Depends-On: If890622eed0d0f8b4bd73d36ba1815a3d760ea05
Depends-On: Ie1def75208822bdf19bb2cfd7e6edf32c2000e6b
Depends-On: I35cce61dc3ee90dcee3dd6f0b36f84133be029ed
Change-Id: I53781a8c06ebb2583f6ca83dd91bbfe8a5c88b13
2023-02-14 21:43:12 +00:00
'WANObjectCache' => [
2022-01-26 19:42:59 +00:00
],
2023-11-07 13:53:52 +00:00
'MicroStashType' => - 1 ,
2023-12-08 17:07:58 +00:00
'MainStash' => 1 ,
2022-06-02 18:15:36 +00:00
'ParsoidCacheConfig' => [
2022-06-17 15:17:42 +00:00
'StashType' => null ,
2022-06-02 18:15:36 +00:00
'StashDuration' => 86400 ,
2022-06-17 14:00:27 +00:00
'WarmParsoidParserCache' => false ,
2022-06-02 18:15:36 +00:00
],
2023-09-28 15:03:33 +00:00
'ParserCacheFilterConfig' => [
'pcache' => [
'default' => [
'minCpuTime' => 0 ,
],
],
'parsoid-pcache' => [
'default' => [
'minCpuTime' => 0 ,
],
],
],
2022-04-29 17:09:57 +00:00
'ChronologyProtectorStash' => null ,
2023-08-25 11:03:30 +00:00
'ChronologyProtectorSecret' => '' ,
2022-04-29 17:09:57 +00:00
'ParserCacheExpireTime' => 86400 ,
'OldRevisionParserCacheExpireTime' => 3600 ,
'ObjectCacheSessionExpiry' => 3600 ,
'PHPSessionHandling' => 'enable' ,
'SuspiciousIpExpiry' => false ,
'SessionPbkdf2Iterations' => 10001 ,
'MemCachedServers' => [
2022-01-26 19:42:59 +00:00
0 => '127.0.0.1:11211' ,
],
2022-04-29 17:09:57 +00:00
'MemCachedPersistent' => false ,
'MemCachedTimeout' => 500000 ,
'UseLocalMessageCache' => false ,
'AdaptiveMessageCache' => false ,
'LocalisationCacheConf' => [
2022-01-26 19:42:59 +00:00
'class' => 'LocalisationCache' ,
'store' => 'detect' ,
'storeClass' => false ,
'storeDirectory' => false ,
'storeServer' => [
],
'forceRecache' => false ,
'manualRecache' => false ,
],
2022-04-29 17:09:57 +00:00
'CachePages' => true ,
'CacheEpoch' => '20030516000000' ,
'GitInfoCacheDirectory' => false ,
'UseFileCache' => false ,
'FileCacheDepth' => 2 ,
'RenderHashAppend' => '' ,
'EnableSidebarCache' => false ,
'SidebarCacheExpiry' => 86400 ,
'UseGzip' => false ,
'InvalidateCacheOnLocalSettingsChange' => true ,
'ExtensionInfoMTime' => false ,
'EnableRemoteBagOStuffTests' => false ,
'UseCdn' => false ,
'VaryOnXFP' => false ,
'InternalServer' => false ,
'CdnMaxAge' => 18000 ,
'CdnMaxageLagged' => 30 ,
'CdnMaxageStale' => 10 ,
'CdnReboundPurgeDelay' => 0 ,
'CdnMaxageSubstitute' => 60 ,
'ForcedRawSMaxage' => 300 ,
'CdnServers' => [
],
'CdnServersNoPurge' => [
],
'SquidPurgeUseHostHeader' => true ,
'HTCPRouting' => [
],
'HTCPMulticastTTL' => 1 ,
'UsePrivateIPs' => false ,
2022-08-08 03:50:57 +00:00
'CdnMatchParameterOrder' => true ,
2022-04-29 17:09:57 +00:00
'LanguageCode' => 'en' ,
'GrammarForms' => [
],
'InterwikiMagic' => true ,
'HideInterlanguageLinks' => false ,
'ExtraInterlanguageLinkPrefixes' => [
],
'InterlanguageLinkCodeMap' => [
],
'ExtraLanguageNames' => [
],
'ExtraLanguageCodes' => [
2022-01-26 19:42:59 +00:00
'bh' => 'bho' ,
'no' => 'nb' ,
'simple' => 'en' ,
],
2022-04-29 17:09:57 +00:00
'DummyLanguageCodes' => [
],
'AllUnicodeFixes' => false ,
'LegacyEncoding' => false ,
'AmericanDates' => false ,
'TranslateNumerals' => true ,
'UseDatabaseMessages' => true ,
'MaxMsgCacheEntrySize' => 10000 ,
'DisableLangConversion' => false ,
'DisableTitleConversion' => false ,
'DefaultLanguageVariant' => false ,
'UsePigLatinVariant' => false ,
'DisabledVariants' => [
],
'VariantArticlePath' => false ,
2023-07-12 15:44:30 +00:00
'UseXssLanguage' => false ,
2022-04-29 17:09:57 +00:00
'LoginLanguageSelector' => false ,
'ForceUIMsgAsContentMsg' => [
],
'RawHtmlMessages' => [
2022-01-26 19:42:59 +00:00
0 => 'copyright' ,
1 => 'history_copyright' ,
2 => 'googlesearch' ,
],
2022-04-29 17:09:57 +00:00
'Localtimezone' => null ,
'LocalTZoffset' => null ,
'OverrideUcfirstCharacters' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'MimeType' => 'text/html' ,
'Html5Version' => null ,
'HTMLFormAllowTableFormat' => true ,
'UseMediaWikiUIEverywhere' => false ,
'EditSubmitButtonLabelPublish' => false ,
'XhtmlNamespaces' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'SiteNotice' => '' ,
'BrowserFormatDetection' => 'telephone=no' ,
'SkinMetaTags' => [
2022-01-26 19:42:59 +00:00
],
2023-05-20 14:58:10 +00:00
'DefaultSkin' => 'vector-2022' ,
2022-04-29 17:09:57 +00:00
'FallbackSkin' => 'fallback' ,
'SkipSkins' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'DisableOutputCompression' => false ,
'FragmentMode' => [
2022-01-26 19:42:59 +00:00
0 => 'html5' ,
1 => 'legacy' ,
],
2022-04-29 17:09:57 +00:00
'ExternalInterwikiFragmentMode' => 'legacy' ,
'FooterIcons' => [
2022-01-26 19:42:59 +00:00
'copyright' => [
'copyright' => [
],
],
'poweredby' => [
'mediawiki' => [
'src' => null ,
'url' => 'https://www.mediawiki.org/' ,
'alt' => 'Powered by MediaWiki' ,
],
],
],
2022-04-29 17:09:57 +00:00
'UseCombinedLoginLink' => false ,
'Edititis' => false ,
'Send404Code' => true ,
'ShowRollbackEditCount' => 10 ,
'EnableCanonicalServerLink' => false ,
2023-03-17 11:25:59 +00:00
'InterwikiLogoOverride' => [
],
2022-04-29 17:09:57 +00:00
'ResourceModules' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ResourceModuleSkinStyles' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ResourceLoaderSources' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ResourceBasePath' => null ,
'ResourceLoaderMaxage' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ResourceLoaderUseObjectCacheForDeps' => false ,
'ResourceLoaderDebug' => false ,
'ResourceLoaderMaxQueryLength' => false ,
'ResourceLoaderValidateJS' => true ,
'ResourceLoaderEnableJSProfiler' => false ,
'ResourceLoaderStorageEnabled' => true ,
'ResourceLoaderStorageVersion' => 1 ,
2023-09-25 17:28:52 +00:00
'ResourceLoaderEnableSourceMapLinks' => true ,
2022-04-29 17:09:57 +00:00
'AllowSiteCSSOnRestrictedPages' => false ,
'VueDevelopmentMode' => false ,
'MetaNamespace' => false ,
'MetaNamespaceTalk' => false ,
'CanonicalNamespaceNames' => [
2022-01-26 19:42:59 +00:00
- 2 => 'Media' ,
- 1 => 'Special' ,
0 => '' ,
1 => 'Talk' ,
2 => 'User' ,
3 => 'User_talk' ,
4 => 'Project' ,
5 => 'Project_talk' ,
6 => 'File' ,
7 => 'File_talk' ,
8 => 'MediaWiki' ,
9 => 'MediaWiki_talk' ,
10 => 'Template' ,
11 => 'Template_talk' ,
12 => 'Help' ,
13 => 'Help_talk' ,
14 => 'Category' ,
15 => 'Category_talk' ,
],
2022-04-29 17:09:57 +00:00
'ExtraNamespaces' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ExtraGenderNamespaces' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'NamespaceAliases' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'LegalTitleChars' => ' %!"$&\'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+' ,
'CapitalLinks' => true ,
'CapitalLinkOverrides' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'NamespacesWithSubpages' => [
2022-01-26 19:42:59 +00:00
1 => true ,
2 => true ,
3 => true ,
4 => true ,
5 => true ,
7 => true ,
8 => true ,
9 => true ,
10 => true ,
11 => true ,
12 => true ,
13 => true ,
15 => true ,
],
2022-04-29 17:09:57 +00:00
'ContentNamespaces' => [
2022-01-26 19:42:59 +00:00
0 => 0 ,
],
2022-04-29 17:09:57 +00:00
'ShortPagesNamespaceExclusions' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ExtraSignatureNamespaces' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'InvalidRedirectTargets' => [
2022-01-26 19:42:59 +00:00
0 => 'Filepath' ,
1 => 'Mypage' ,
2 => 'Mytalk' ,
3 => 'Redirect' ,
2023-01-21 00:16:34 +00:00
4 => 'Mylog' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'DisableHardRedirects' => false ,
'FixDoubleRedirects' => false ,
'LocalInterwikis' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'InterwikiExpiry' => 10800 ,
'InterwikiCache' => false ,
'InterwikiScopes' => 3 ,
'InterwikiFallbackSite' => 'wiki' ,
'RedirectSources' => false ,
'SiteTypes' => [
2023-12-14 18:36:16 +00:00
'mediawiki' => 'MediaWiki\\Site\\MediaWikiSite' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'MaxTocLevel' => 999 ,
'MaxPPNodeCount' => 1000000 ,
'MaxTemplateDepth' => 100 ,
'MaxPPExpandDepth' => 100 ,
'UrlProtocols' => [
2022-01-26 19:42:59 +00:00
0 => 'bitcoin:' ,
1 => 'ftp://' ,
2 => 'ftps://' ,
3 => 'geo:' ,
4 => 'git://' ,
5 => 'gopher://' ,
6 => 'http://' ,
7 => 'https://' ,
8 => 'irc://' ,
9 => 'ircs://' ,
10 => 'magnet:' ,
11 => 'mailto:' ,
2022-12-30 04:47:56 +00:00
12 => 'matrix:' ,
13 => 'mms://' ,
14 => 'news:' ,
15 => 'nntp://' ,
16 => 'redis://' ,
17 => 'sftp://' ,
18 => 'sip:' ,
19 => 'sips:' ,
20 => 'sms:' ,
21 => 'ssh://' ,
22 => 'svn://' ,
23 => 'tel:' ,
24 => 'telnet://' ,
25 => 'urn:' ,
26 => 'worldwind://' ,
27 => 'xmpp:' ,
28 => '//' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'CleanSignatures' => true ,
'AllowExternalImages' => false ,
'AllowExternalImagesFrom' => '' ,
'EnableImageWhitelist' => false ,
'AllowImageTag' => false ,
'TidyConfig' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ParsoidSettings' => [
2022-03-25 20:34:04 +00:00
'useSelser' => true ,
],
2023-02-10 06:24:15 +00:00
'ParserEnableLegacyMediaDOM' => false ,
2022-04-29 17:09:57 +00:00
'UseContentMediaStyles' => false ,
2023-07-11 00:17:44 +00:00
'UseLegacyMediaStyles' => false ,
2022-04-29 17:09:57 +00:00
'RawHtml' => false ,
'ExternalLinkTarget' => false ,
'NoFollowLinks' => true ,
'NoFollowNsExceptions' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'NoFollowDomainExceptions' => [
2022-01-26 19:42:59 +00:00
0 => 'mediawiki.org' ,
],
2022-04-29 17:09:57 +00:00
'RegisterInternalExternals' => false ,
'AllowDisplayTitle' => true ,
'RestrictDisplayTitle' => true ,
'ExpensiveParserFunctionLimit' => 100 ,
'PreprocessorCacheThreshold' => 1000 ,
'EnableScaryTranscluding' => false ,
'TranscludeCacheExpiry' => 3600 ,
'EnableMagicLinks' => [
2022-01-26 19:42:59 +00:00
'ISBN' => false ,
'PMID' => false ,
'RFC' => false ,
],
2022-04-29 17:09:57 +00:00
'ArticleCountMethod' => 'link' ,
'ActiveUserDays' => 30 ,
'LearnerEdits' => 10 ,
'LearnerMemberSince' => 4 ,
'ExperiencedUserEdits' => 500 ,
'ExperiencedUserMemberSince' => 30 ,
'ManualRevertSearchRadius' => 15 ,
'RevertedTagMaxDepth' => 15 ,
'CentralIdLookupProviders' => [
2022-01-26 19:42:59 +00:00
'local' => [
2023-09-19 16:42:44 +00:00
'class' => 'MediaWiki\\User\\CentralId\\LocalIdLookup' ,
2022-01-26 19:42:59 +00:00
'services' => [
0 => 'MainConfig' ,
2023-06-01 11:05:31 +00:00
1 => 'DBLoadBalancerFactory' ,
Support new block schema
Support migration stages when reading and writing blocks.
I tried to set it up for an easy next stage, in which support for the
old schema is removed. I tried to avoid factoring out of shared code
between the two schemas, so that the old schema cases can simply be
deleted without the need to revert unnecessary abstractions.
However, I added HideUserUtils to factor out ipb_deleted queries. Code
review showed that this was already quite complex, with multiple
approaches to the problem, so it benefits from refactoring even without
the schema abstraction.
HideUserUtils is a service rather than a standalone class to support
unit tests, since unit tests do not allow global config access. When
the migration stage config is removed, it will be a service with no
constructor parameters -- an unnecessary abstraction which should
ideally be resolved at that time.
When interpreting result rows, it is possible to share code by using
field aliases. But when constructing WHERE conditions, the actual field
names need to be used, so the migration is more intrusive in
ApiQueryBlocks and SpecialBlockList, where complex conditions are used.
Bug: T346293
Bug: T51504
Bug: T349883
Change-Id: I408acf7a57b0100fe18c455fc13141277a598925
2023-10-27 03:34:10 +00:00
2 => 'HideUserUtils' ,
2022-01-26 19:42:59 +00:00
],
],
],
2022-04-29 17:09:57 +00:00
'CentralIdLookupProvider' => 'local' ,
2023-09-14 10:18:56 +00:00
'UserRegistrationProviders' => [
'local' => [
'class' => 'MediaWiki\\User\\Registration\\LocalUserRegistrationProvider' ,
'services' => [
0 => 'UserFactory' ,
],
],
],
2022-04-29 17:09:57 +00:00
'PasswordPolicy' => [
2022-01-26 19:42:59 +00:00
'policies' => [
'bureaucrat' => [
'MinimalPasswordLength' => 10 ,
'MinimumPasswordLengthToLogin' => 1 ,
],
'sysop' => [
'MinimalPasswordLength' => 10 ,
'MinimumPasswordLengthToLogin' => 1 ,
],
'interface-admin' => [
'MinimalPasswordLength' => 10 ,
'MinimumPasswordLengthToLogin' => 1 ,
],
'bot' => [
'MinimalPasswordLength' => 10 ,
'MinimumPasswordLengthToLogin' => 1 ,
],
'default' => [
'MinimalPasswordLength' => [
2022-09-27 21:03:25 +00:00
'value' => 8 ,
2022-01-26 19:42:59 +00:00
'suggestChangeOnLogin' => true ,
],
'PasswordCannotBeSubstringInUsername' => [
'value' => true ,
'suggestChangeOnLogin' => true ,
],
'PasswordCannotMatchDefaults' => [
'value' => true ,
'suggestChangeOnLogin' => true ,
],
'MaximalPasswordLength' => [
'value' => 4096 ,
'suggestChangeOnLogin' => true ,
],
'PasswordNotInCommonList' => [
'value' => true ,
'suggestChangeOnLogin' => true ,
],
],
],
'checks' => [
'MinimalPasswordLength' => 'PasswordPolicyChecks::checkMinimalPasswordLength' ,
'MinimumPasswordLengthToLogin' => 'PasswordPolicyChecks::checkMinimumPasswordLengthToLogin' ,
'PasswordCannotBeSubstringInUsername' => 'PasswordPolicyChecks::checkPasswordCannotBeSubstringInUsername' ,
'PasswordCannotMatchDefaults' => 'PasswordPolicyChecks::checkPasswordCannotMatchDefaults' ,
'MaximalPasswordLength' => 'PasswordPolicyChecks::checkMaximalPasswordLength' ,
'PasswordNotInCommonList' => 'PasswordPolicyChecks::checkPasswordNotInCommonList' ,
],
],
2022-04-29 17:09:57 +00:00
'AuthManagerConfig' => null ,
'AuthManagerAutoConfig' => [
2022-01-26 19:42:59 +00:00
'preauth' => [
'MediaWiki\\Auth\\ThrottlePreAuthenticationProvider' => [
'class' => 'MediaWiki\\Auth\\ThrottlePreAuthenticationProvider' ,
'sort' => 0 ,
],
],
'primaryauth' => [
'MediaWiki\\Auth\\TemporaryPasswordPrimaryAuthenticationProvider' => [
'class' => 'MediaWiki\\Auth\\TemporaryPasswordPrimaryAuthenticationProvider' ,
'services' => [
2023-04-25 11:37:41 +00:00
0 => 'DBLoadBalancerFactory' ,
2022-04-29 19:54:27 +00:00
1 => 'UserOptionsLookup' ,
2022-01-26 19:42:59 +00:00
],
'args' => [
0 => [
'authoritative' => false ,
],
],
'sort' => 0 ,
],
'MediaWiki\\Auth\\LocalPasswordPrimaryAuthenticationProvider' => [
'class' => 'MediaWiki\\Auth\\LocalPasswordPrimaryAuthenticationProvider' ,
'services' => [
2023-04-25 11:37:41 +00:00
0 => 'DBLoadBalancerFactory' ,
2022-01-26 19:42:59 +00:00
],
'args' => [
0 => [
'authoritative' => true ,
],
],
'sort' => 100 ,
],
],
'secondaryauth' => [
'MediaWiki\\Auth\\CheckBlocksSecondaryAuthenticationProvider' => [
'class' => 'MediaWiki\\Auth\\CheckBlocksSecondaryAuthenticationProvider' ,
'sort' => 0 ,
],
'MediaWiki\\Auth\\ResetPasswordSecondaryAuthenticationProvider' => [
'class' => 'MediaWiki\\Auth\\ResetPasswordSecondaryAuthenticationProvider' ,
'sort' => 100 ,
],
'MediaWiki\\Auth\\EmailNotificationSecondaryAuthenticationProvider' => [
'class' => 'MediaWiki\\Auth\\EmailNotificationSecondaryAuthenticationProvider' ,
'services' => [
2023-04-25 11:37:41 +00:00
0 => 'DBLoadBalancerFactory' ,
2022-01-26 19:42:59 +00:00
],
'sort' => 200 ,
],
],
],
2022-04-29 17:09:57 +00:00
'RememberMe' => 'choose' ,
'ReauthenticateTime' => [
2022-01-26 19:42:59 +00:00
'default' => 300 ,
],
2022-04-29 17:09:57 +00:00
'AllowSecuritySensitiveOperationIfCannotReauthenticate' => [
2022-01-26 19:42:59 +00:00
'default' => true ,
],
2022-04-29 17:09:57 +00:00
'ChangeCredentialsBlacklist' => [
2022-01-26 19:42:59 +00:00
0 => 'MediaWiki\\Auth\\TemporaryPasswordAuthenticationRequest' ,
],
2022-04-29 17:09:57 +00:00
'RemoveCredentialsBlacklist' => [
2022-01-26 19:42:59 +00:00
0 => 'MediaWiki\\Auth\\PasswordAuthenticationRequest' ,
],
2022-04-29 17:09:57 +00:00
'MinimalPasswordLength' => false ,
'MaximalPasswordLength' => false ,
'InvalidPasswordReset' => true ,
'PasswordDefault' => 'pbkdf2' ,
'PasswordConfig' => [
2022-01-26 19:42:59 +00:00
'A' => [
'class' => 'MWOldPassword' ,
],
'B' => [
'class' => 'MWSaltedPassword' ,
],
'pbkdf2-legacyA' => [
'class' => 'LayeredParameterizedPassword' ,
'types' => [
0 => 'A' ,
1 => 'pbkdf2' ,
],
],
'pbkdf2-legacyB' => [
'class' => 'LayeredParameterizedPassword' ,
'types' => [
0 => 'B' ,
1 => 'pbkdf2' ,
],
],
'bcrypt' => [
'class' => 'BcryptPassword' ,
'cost' => 9 ,
],
'pbkdf2' => [
2022-06-20 07:05:31 +00:00
'factory' => [
0 => 'AbstractPbkdf2Password' ,
1 => 'newInstance' ,
],
2022-01-26 19:42:59 +00:00
'algo' => 'sha512' ,
'cost' => '30000' ,
'length' => '64' ,
],
'argon2' => [
'class' => 'Argon2Password' ,
'algo' => 'auto' ,
],
],
2022-04-29 17:09:57 +00:00
'PasswordResetRoutes' => [
2022-01-26 19:42:59 +00:00
'username' => true ,
'email' => true ,
],
2022-04-29 17:09:57 +00:00
'MaxSigChars' => 255 ,
'SignatureValidation' => 'warning' ,
'SignatureAllowedLintErrors' => [
2022-01-26 19:42:59 +00:00
0 => 'obsolete-tag' ,
],
2022-04-29 17:09:57 +00:00
'MaxNameChars' => 255 ,
'ReservedUsernames' => [
2022-01-26 19:42:59 +00:00
0 => 'MediaWiki default' ,
1 => 'Conversion script' ,
2 => 'Maintenance script' ,
3 => 'Template namespace initialisation script' ,
4 => 'ScriptImporter' ,
2023-01-02 17:48:46 +00:00
5 => 'Delete page script' ,
6 => 'Move page script' ,
7 => 'Command line script' ,
8 => 'Unknown user' ,
9 => 'msg:double-redirect-fixer' ,
10 => 'msg:usermessage-editor' ,
11 => 'msg:proxyblocker' ,
12 => 'msg:sorbs' ,
13 => 'msg:spambot_username' ,
14 => 'msg:autochange-username' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'DefaultUserOptions' => [
2022-01-26 19:42:59 +00:00
'ccmeonemails' => 0 ,
'date' => 'default' ,
'diffonly' => 0 ,
2023-07-14 01:35:08 +00:00
'diff-type' => 'table' ,
2022-01-26 19:42:59 +00:00
'disablemail' => 0 ,
'editfont' => 'monospace' ,
'editondblclick' => 0 ,
'editsectiononrightclick' => 0 ,
'email-allow-new-users' => 1 ,
'enotifminoredits' => 0 ,
'enotifrevealaddr' => 0 ,
'enotifusertalkpages' => 1 ,
'enotifwatchlistpages' => 1 ,
'extendwatchlist' => 1 ,
'fancysig' => 0 ,
'forceeditsummary' => 0 ,
2023-07-20 14:06:18 +00:00
'forcesafemode' => 0 ,
2022-01-26 19:42:59 +00:00
'gender' => 'unknown' ,
2023-07-13 04:17:49 +00:00
'hidecategorization' => 1 ,
2022-01-26 19:42:59 +00:00
'hideminor' => 0 ,
'hidepatrolled' => 0 ,
'imagesize' => 2 ,
'minordefault' => 0 ,
'newpageshidepatrolled' => 0 ,
'nickname' => '' ,
'norollbackdiff' => 0 ,
2023-07-13 04:17:49 +00:00
'prefershttps' => 1 ,
2022-01-26 19:42:59 +00:00
'previewonfirst' => 0 ,
'previewontop' => 1 ,
2023-07-13 04:17:49 +00:00
'pst-cssjs' => 1 ,
2022-01-26 19:42:59 +00:00
'rcdays' => 7 ,
'rcenhancedfilters-disable' => 0 ,
'rclimit' => 50 ,
2023-07-13 04:17:49 +00:00
'requireemail' => 0 ,
2022-01-26 19:42:59 +00:00
'search-match-redirect' => true ,
'search-special-page' => 'Search' ,
2022-10-18 09:23:24 +00:00
'search-thumbnail-extra-namespaces' => true ,
2023-07-13 04:17:49 +00:00
'searchlimit' => 20 ,
2022-01-26 19:42:59 +00:00
'showhiddencats' => 0 ,
'shownumberswatching' => 1 ,
'showrollbackconfirmation' => 0 ,
'skin' => false ,
2023-07-13 04:17:49 +00:00
'skin-responsive' => 1 ,
2022-01-26 19:42:59 +00:00
'thumbsize' => 5 ,
'underline' => 2 ,
2023-07-13 04:17:49 +00:00
'useeditwarning' => 1 ,
2022-01-26 19:42:59 +00:00
'uselivepreview' => 0 ,
'usenewrc' => 1 ,
'watchcreations' => 1 ,
'watchdefault' => 1 ,
'watchdeletion' => 0 ,
'watchlistdays' => 7 ,
'watchlisthideanons' => 0 ,
'watchlisthidebots' => 0 ,
2023-07-13 04:17:49 +00:00
'watchlisthidecategorization' => 1 ,
2022-01-26 19:42:59 +00:00
'watchlisthideliu' => 0 ,
'watchlisthideminor' => 0 ,
'watchlisthideown' => 0 ,
'watchlisthidepatrolled' => 0 ,
'watchlistreloadautomatically' => 0 ,
'watchlistunwatchlinks' => 0 ,
'watchmoves' => 0 ,
'watchrollback' => 0 ,
2023-07-13 04:17:49 +00:00
'watchuploads' => 1 ,
2022-01-26 19:42:59 +00:00
'wlenhancedfilters-disable' => 0 ,
'wllimit' => 250 ,
],
2022-04-29 17:09:57 +00:00
'HiddenPrefs' => [
2022-01-26 19:42:59 +00:00
],
2022-10-17 23:08:17 +00:00
'InvalidUsernameCharacters' => '@:>=' ,
2022-04-29 17:09:57 +00:00
'UserrightsInterwikiDelimiter' => '@' ,
'SecureLogin' => false ,
'AuthenticationTokenVersion' => null ,
'SessionProviders' => [
2022-01-26 19:42:59 +00:00
'MediaWiki\\Session\\CookieSessionProvider' => [
'class' => 'MediaWiki\\Session\\CookieSessionProvider' ,
'args' => [
0 => [
'priority' => 30 ,
],
],
],
'MediaWiki\\Session\\BotPasswordSessionProvider' => [
'class' => 'MediaWiki\\Session\\BotPasswordSessionProvider' ,
'args' => [
0 => [
'priority' => 75 ,
],
],
2022-04-12 16:17:54 +00:00
'services' => [
0 => 'GrantsInfo' ,
],
2022-01-26 19:42:59 +00:00
],
],
2022-04-29 17:09:57 +00:00
'AllowRequiringEmailForResets' => false ,
'AutoCreateTempUser' => [
2022-02-28 03:05:58 +00:00
'enabled' => false ,
'actions' => [
0 => 'edit' ,
],
'genPattern' => '*Unregistered $1' ,
'matchPattern' => '*$1' ,
2023-03-14 05:11:17 +00:00
'reservedPattern' => null ,
2022-02-28 03:05:58 +00:00
'serialProvider' => [
'type' => 'local' ,
],
'serialMapping' => [
'type' => 'plain-numeric' ,
],
2023-08-23 12:06:00 +00:00
'expireAfterDays' => null ,
2023-08-31 11:11:18 +00:00
'notifyBeforeExpirationDays' => null ,
2022-02-28 03:05:58 +00:00
],
2022-04-29 17:09:57 +00:00
'AutoblockExpiry' => 86400 ,
'BlockAllowsUTEdit' => true ,
'BlockCIDRLimit' => [
2022-01-26 19:42:59 +00:00
'IPv4' => 16 ,
'IPv6' => 19 ,
],
2022-04-29 17:09:57 +00:00
'BlockDisablesLogin' => false ,
'EnablePartialActionBlocks' => false ,
2023-10-25 20:35:41 +00:00
'EnableMultiBlocks' => false ,
'BlockTargetMigrationStage' => 3 ,
2022-04-29 17:09:57 +00:00
'WhitelistRead' => false ,
'WhitelistReadRegexp' => false ,
'EmailConfirmToEdit' => false ,
'HideIdentifiableRedirects' => true ,
'GroupPermissions' => [
2022-01-26 19:42:59 +00:00
'*' => [
'createaccount' => true ,
'read' => true ,
'edit' => true ,
'createpage' => true ,
'createtalk' => true ,
'writeapi' => true ,
'viewmyprivateinfo' => true ,
'editmyprivateinfo' => true ,
'editmyoptions' => true ,
],
'user' => [
'move' => true ,
'move-subpages' => true ,
'move-rootuserpages' => true ,
'move-categorypages' => true ,
'movefile' => true ,
'read' => true ,
'edit' => true ,
'createpage' => true ,
'createtalk' => true ,
'writeapi' => true ,
'upload' => true ,
'reupload' => true ,
'reupload-shared' => true ,
'minoredit' => true ,
'editmyusercss' => true ,
'editmyuserjson' => true ,
'editmyuserjs' => true ,
'editmyuserjsredirect' => true ,
'sendemail' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
2023-08-12 18:01:59 +00:00
'viewmywatchlist' => true ,
'editmywatchlist' => true ,
2022-01-26 19:42:59 +00:00
],
'autoconfirmed' => [
'autoconfirmed' => true ,
'editsemiprotected' => true ,
],
'bot' => [
'bot' => true ,
'autoconfirmed' => true ,
'editsemiprotected' => true ,
'nominornewtalk' => true ,
'autopatrol' => true ,
'suppressredirect' => true ,
'apihighlimits' => true ,
'writeapi' => true ,
],
'sysop' => [
'block' => true ,
'createaccount' => true ,
'delete' => true ,
'bigdelete' => true ,
'deletedhistory' => true ,
'deletedtext' => true ,
'undelete' => true ,
'editinterface' => true ,
'editsitejson' => true ,
'edituserjson' => true ,
'import' => true ,
'importupload' => true ,
'move' => true ,
'move-subpages' => true ,
'move-rootuserpages' => true ,
'move-categorypages' => true ,
'patrol' => true ,
'autopatrol' => true ,
'protect' => true ,
'editprotected' => true ,
'rollback' => true ,
'upload' => true ,
'reupload' => true ,
'reupload-shared' => true ,
'unwatchedpages' => true ,
'autoconfirmed' => true ,
'editsemiprotected' => true ,
'ipblock-exempt' => true ,
'blockemail' => true ,
'markbotedits' => true ,
'apihighlimits' => true ,
'browsearchive' => true ,
'noratelimit' => true ,
'movefile' => true ,
'unblockself' => true ,
'suppressredirect' => true ,
'mergehistory' => true ,
'managechangetags' => true ,
'deletechangetags' => true ,
],
'interface-admin' => [
'editinterface' => true ,
'editsitecss' => true ,
'editsitejson' => true ,
'editsitejs' => true ,
'editusercss' => true ,
'edituserjson' => true ,
'edituserjs' => true ,
],
'bureaucrat' => [
'userrights' => true ,
'noratelimit' => true ,
2023-02-28 05:51:43 +00:00
'renameuser' => true ,
2022-01-26 19:42:59 +00:00
],
'suppress' => [
'hideuser' => true ,
'suppressrevision' => true ,
'viewsuppressed' => true ,
'suppressionlog' => true ,
'deleterevision' => true ,
'deletelogentry' => true ,
],
],
2019-01-07 08:01:00 +00:00
'PrivilegedGroups' => [
0 => 'bureaucrat' ,
1 => 'interface-admin' ,
2 => 'suppress' ,
3 => 'sysop' ,
],
2022-04-29 17:09:57 +00:00
'RevokePermissions' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'GroupInheritsPermissions' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ImplicitGroups' => [
2022-01-26 19:42:59 +00:00
0 => '*' ,
1 => 'user' ,
2 => 'autoconfirmed' ,
],
2022-04-29 17:09:57 +00:00
'GroupsAddToSelf' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'GroupsRemoveFromSelf' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'RestrictionTypes' => [
2022-01-26 19:42:59 +00:00
0 => 'create' ,
1 => 'edit' ,
2 => 'move' ,
3 => 'upload' ,
],
2022-04-29 17:09:57 +00:00
'RestrictionLevels' => [
2022-01-26 19:42:59 +00:00
0 => '' ,
1 => 'autoconfirmed' ,
2 => 'sysop' ,
],
2022-04-29 17:09:57 +00:00
'CascadingRestrictionLevels' => [
2022-01-26 19:42:59 +00:00
0 => 'sysop' ,
],
2022-04-29 17:09:57 +00:00
'SemiprotectedRestrictionLevels' => [
2022-01-26 19:42:59 +00:00
0 => 'autoconfirmed' ,
],
2022-04-29 17:09:57 +00:00
'NamespaceProtection' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'NonincludableNamespaces' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'AutoConfirmAge' => 0 ,
'AutoConfirmCount' => 0 ,
'Autopromote' => [
2022-01-26 19:42:59 +00:00
'autoconfirmed' => [
0 => '&' ,
1 => [
0 => 1 ,
1 => null ,
],
2 => [
0 => 2 ,
1 => null ,
],
],
],
2022-04-29 17:09:57 +00:00
'AutopromoteOnce' => [
2022-01-26 19:42:59 +00:00
'onEdit' => [
],
],
2022-04-29 17:09:57 +00:00
'AutopromoteOnceLogInRC' => true ,
'AddGroups' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'RemoveGroups' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'AvailableRights' => [
2022-01-26 19:42:59 +00:00
],
2023-07-28 11:47:07 +00:00
'ImplicitRights' => [
],
2022-04-29 17:09:57 +00:00
'DeleteRevisionsLimit' => 0 ,
'DeleteRevisionsBatchSize' => 1000 ,
'HideUserContribLimit' => 1000 ,
'AccountCreationThrottle' => [
2022-01-26 19:42:59 +00:00
0 => [
'count' => 0 ,
'seconds' => 86400 ,
],
],
2022-04-29 17:09:57 +00:00
'SpamRegex' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'SummarySpamRegex' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'EnableDnsBlacklist' => false ,
'DnsBlacklistUrls' => [
2022-01-26 19:42:59 +00:00
0 => 'http.dnsbl.sorbs.net.' ,
],
2022-04-29 17:09:57 +00:00
'ProxyList' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ProxyWhitelist' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'SoftBlockRanges' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ApplyIpBlocksToXff' => false ,
'RateLimits' => [
2022-01-26 19:42:59 +00:00
'edit' => [
'ip' => [
0 => 8 ,
1 => 60 ,
],
'newbie' => [
0 => 8 ,
1 => 60 ,
],
'user' => [
0 => 90 ,
1 => 60 ,
],
],
'move' => [
'newbie' => [
0 => 2 ,
1 => 120 ,
],
'user' => [
0 => 8 ,
1 => 60 ,
],
],
'upload' => [
'ip' => [
0 => 8 ,
1 => 60 ,
],
'newbie' => [
0 => 8 ,
1 => 60 ,
],
],
'rollback' => [
'user' => [
0 => 10 ,
1 => 60 ,
],
'newbie' => [
0 => 5 ,
1 => 120 ,
],
],
'mailpassword' => [
'ip' => [
0 => 5 ,
1 => 3600 ,
],
],
2023-01-13 20:29:31 +00:00
'sendemail' => [
2022-01-26 19:42:59 +00:00
'ip' => [
0 => 5 ,
1 => 86400 ,
],
'newbie' => [
0 => 5 ,
1 => 86400 ,
],
'user' => [
0 => 20 ,
1 => 86400 ,
],
],
'changeemail' => [
'ip-all' => [
0 => 10 ,
1 => 3600 ,
],
'user' => [
0 => 4 ,
1 => 86400 ,
],
],
'confirmemail' => [
'ip-all' => [
0 => 10 ,
1 => 3600 ,
],
'user' => [
0 => 4 ,
1 => 86400 ,
],
],
'purge' => [
'ip' => [
0 => 30 ,
1 => 60 ,
],
'user' => [
0 => 30 ,
1 => 60 ,
],
],
'linkpurge' => [
'ip' => [
0 => 30 ,
1 => 60 ,
],
'user' => [
0 => 30 ,
1 => 60 ,
],
],
'renderfile' => [
'ip' => [
0 => 700 ,
1 => 30 ,
],
'user' => [
0 => 700 ,
1 => 30 ,
],
],
'renderfile-nonstandard' => [
'ip' => [
0 => 70 ,
1 => 30 ,
],
'user' => [
0 => 70 ,
1 => 30 ,
],
],
'stashedit' => [
'ip' => [
0 => 30 ,
1 => 60 ,
],
'newbie' => [
0 => 30 ,
1 => 60 ,
],
],
2022-06-13 09:31:50 +00:00
'stashbasehtml' => [
'ip' => [
0 => 5 ,
1 => 60 ,
],
'newbie' => [
0 => 5 ,
1 => 60 ,
],
],
2023-01-13 20:29:31 +00:00
'changetags' => [
2022-01-26 19:42:59 +00:00
'ip' => [
0 => 8 ,
1 => 60 ,
],
'newbie' => [
0 => 8 ,
1 => 60 ,
],
],
'editcontentmodel' => [
'newbie' => [
0 => 2 ,
1 => 120 ,
],
'user' => [
0 => 8 ,
1 => 60 ,
],
],
],
2022-04-29 17:09:57 +00:00
'RateLimitsExcludedIPs' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'PutIPinRC' => true ,
'QueryPageDefaultLimit' => 50 ,
'PasswordAttemptThrottle' => [
2022-01-26 19:42:59 +00:00
0 => [
'count' => 5 ,
'seconds' => 300 ,
],
1 => [
'count' => 150 ,
'seconds' => 172800 ,
],
],
2022-04-29 17:09:57 +00:00
'GrantPermissions' => [
2022-01-26 19:42:59 +00:00
'basic' => [
'autocreateaccount' => true ,
'autoconfirmed' => true ,
'autopatrol' => true ,
'editsemiprotected' => true ,
'ipblock-exempt' => true ,
'nominornewtalk' => true ,
'patrolmarks' => true ,
'read' => true ,
'writeapi' => true ,
'unwatchedpages' => true ,
],
'highvolume' => [
'bot' => true ,
'apihighlimits' => true ,
'noratelimit' => true ,
'markbotedits' => true ,
],
'import' => [
'import' => true ,
'importupload' => true ,
],
'editpage' => [
'edit' => true ,
'minoredit' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
],
'editprotected' => [
'edit' => true ,
'minoredit' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
'editprotected' => true ,
],
'editmycssjs' => [
'edit' => true ,
'minoredit' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
'editmyusercss' => true ,
'editmyuserjson' => true ,
'editmyuserjs' => true ,
],
'editmyoptions' => [
'editmyoptions' => true ,
'editmyuserjson' => true ,
],
'editinterface' => [
'edit' => true ,
'minoredit' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
'editinterface' => true ,
'edituserjson' => true ,
'editsitejson' => true ,
],
'editsiteconfig' => [
'edit' => true ,
'minoredit' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
'editinterface' => true ,
'edituserjson' => true ,
'editsitejson' => true ,
'editusercss' => true ,
'edituserjs' => true ,
'editsitecss' => true ,
'editsitejs' => true ,
],
'createeditmovepage' => [
'edit' => true ,
'minoredit' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
'createpage' => true ,
'createtalk' => true ,
'delete-redirect' => true ,
'move' => true ,
'move-rootuserpages' => true ,
'move-subpages' => true ,
'move-categorypages' => true ,
'suppressredirect' => true ,
],
'uploadfile' => [
'upload' => true ,
'reupload-own' => true ,
],
'uploadeditmovefile' => [
'upload' => true ,
'reupload-own' => true ,
'reupload' => true ,
'reupload-shared' => true ,
'upload_by_url' => true ,
'movefile' => true ,
'suppressredirect' => true ,
],
'patrol' => [
'patrol' => true ,
],
'rollback' => [
'rollback' => true ,
],
'blockusers' => [
'block' => true ,
'blockemail' => true ,
],
'viewdeleted' => [
'browsearchive' => true ,
'deletedhistory' => true ,
'deletedtext' => true ,
],
'viewrestrictedlogs' => [
'suppressionlog' => true ,
],
'delete' => [
'edit' => true ,
'minoredit' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
'browsearchive' => true ,
'deletedhistory' => true ,
'deletedtext' => true ,
'delete' => true ,
'bigdelete' => true ,
'deletelogentry' => true ,
'deleterevision' => true ,
'undelete' => true ,
],
'oversight' => [
'suppressrevision' => true ,
'viewsuppressed' => true ,
],
'protect' => [
'edit' => true ,
'minoredit' => true ,
'applychangetags' => true ,
'changetags' => true ,
'editcontentmodel' => true ,
'editprotected' => true ,
'protect' => true ,
],
'viewmywatchlist' => [
'viewmywatchlist' => true ,
],
'editmywatchlist' => [
'editmywatchlist' => true ,
],
'sendemail' => [
'sendemail' => true ,
],
'createaccount' => [
'createaccount' => true ,
],
'privateinfo' => [
'viewmyprivateinfo' => true ,
],
'mergehistory' => [
'mergehistory' => true ,
],
],
2022-04-29 17:09:57 +00:00
'GrantPermissionGroups' => [
2022-01-26 19:42:59 +00:00
'basic' => 'hidden' ,
'editpage' => 'page-interaction' ,
'createeditmovepage' => 'page-interaction' ,
'editprotected' => 'page-interaction' ,
'patrol' => 'page-interaction' ,
'uploadfile' => 'file-interaction' ,
'uploadeditmovefile' => 'file-interaction' ,
'sendemail' => 'email' ,
'viewmywatchlist' => 'watchlist-interaction' ,
'editviewmywatchlist' => 'watchlist-interaction' ,
'editmycssjs' => 'customization' ,
'editmyoptions' => 'customization' ,
'editinterface' => 'administration' ,
'editsiteconfig' => 'administration' ,
'rollback' => 'administration' ,
'blockusers' => 'administration' ,
'delete' => 'administration' ,
'viewdeleted' => 'administration' ,
'viewrestrictedlogs' => 'administration' ,
'protect' => 'administration' ,
'oversight' => 'administration' ,
'createaccount' => 'administration' ,
'mergehistory' => 'administration' ,
'import' => 'administration' ,
'highvolume' => 'high-volume' ,
'privateinfo' => 'private-information' ,
],
2022-04-29 17:09:57 +00:00
'EnableBotPasswords' => true ,
'BotPasswordsCluster' => false ,
'BotPasswordsDatabase' => false ,
'SecretKey' => false ,
'AllowUserJs' => false ,
'AllowUserCss' => false ,
'AllowUserCssPrefs' => true ,
'UseSiteJs' => true ,
'UseSiteCss' => true ,
'BreakFrames' => false ,
'EditPageFrameOptions' => 'DENY' ,
'ApiFrameOptions' => 'DENY' ,
'CSPHeader' => false ,
'CSPReportOnlyHeader' => false ,
'CSPFalsePositiveUrls' => [
2022-01-26 19:42:59 +00:00
'https://3hub.co' => true ,
'https://morepro.info' => true ,
'https://p.ato.mx' => true ,
'https://s.ato.mx' => true ,
'https://adserver.adtech.de' => true ,
'https://ums.adtechus.com' => true ,
'https://cas.criteo.com' => true ,
'https://cat.nl.eu.criteo.com' => true ,
'https://atpixel.alephd.com' => true ,
'https://rtb.metrigo.com' => true ,
'https://d5p.de17a.com' => true ,
'https://ad.lkqd.net/vpaid/vpaid.js' => true ,
'https://ad.lkqd.net/vpaid/vpaid.js?fusion=1.0' => true ,
'https://t.lkqd.net/t' => true ,
'chrome-extension' => true ,
],
2022-04-29 17:09:57 +00:00
'AllowCrossOrigin' => false ,
'RestAllowCrossOriginCookieAuth' => false ,
'SessionSecret' => false ,
'SessionInsecureSecrets' => false ,
'HKDFSecret' => false ,
'HKDFAlgorithm' => 'sha256' ,
'CookieExpiration' => 2592000 ,
'ExtendedLoginCookieExpiration' => 15552000 ,
'CookieDomain' => '' ,
'CookiePath' => '/' ,
'CookieSecure' => 'detect' ,
'CookiePrefix' => false ,
'CookieHttpOnly' => true ,
'CookieSameSite' => null ,
'UseSameSiteLegacyCookies' => false ,
'CacheVaryCookies' => [
],
'SessionName' => false ,
'CookieSetOnAutoblock' => true ,
'CookieSetOnIpBlock' => true ,
'DebugLogFile' => '' ,
'DebugLogPrefix' => '' ,
'DebugRedirects' => false ,
'DebugRawPage' => false ,
'DebugComments' => false ,
'DebugDumpSql' => false ,
'TrxProfilerLimits' => [
2022-01-26 19:42:59 +00:00
'GET' => [
'masterConns' => 0 ,
'writes' => 0 ,
'readQueryTime' => 5 ,
'readQueryRows' => 10000 ,
],
'POST' => [
'readQueryTime' => 5 ,
'writeQueryTime' => 1 ,
'readQueryRows' => 100000 ,
'maxAffected' => 1000 ,
],
'POST-nonwrite' => [
'writes' => 0 ,
'readQueryTime' => 5 ,
'readQueryRows' => 10000 ,
],
'PostSend-GET' => [
'readQueryTime' => 5 ,
'writeQueryTime' => 1 ,
'readQueryRows' => 10000 ,
'maxAffected' => 1000 ,
'masterConns' => 0 ,
'writes' => 0 ,
],
'PostSend-POST' => [
'readQueryTime' => 5 ,
'writeQueryTime' => 1 ,
'readQueryRows' => 100000 ,
'maxAffected' => 1000 ,
],
'JobRunner' => [
'readQueryTime' => 30 ,
'writeQueryTime' => 5 ,
'readQueryRows' => 100000 ,
'maxAffected' => 500 ,
],
'Maintenance' => [
'writeQueryTime' => 5 ,
'maxAffected' => 1000 ,
],
],
2022-04-29 17:09:57 +00:00
'DebugLogGroups' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'MWLoggerDefaultSpi' => [
2022-01-26 19:42:59 +00:00
'class' => 'MediaWiki\\Logger\\LegacySpi' ,
],
2022-04-29 17:09:57 +00:00
'ShowDebug' => false ,
'SpecialVersionShowHooks' => false ,
'ShowExceptionDetails' => false ,
'LogExceptionBacktrace' => true ,
'PropagateErrors' => true ,
'ShowHostnames' => false ,
'OverrideHostname' => false ,
'DevelopmentWarnings' => false ,
'DeprecationReleaseLimit' => false ,
'Profiler' => [
],
'StatsdServer' => false ,
'StatsdMetricPrefix' => 'MediaWiki' ,
'StatsdSamplingRates' => [
],
2023-02-24 21:18:13 +00:00
'StatsTarget' => null ,
'StatsFormat' => null ,
'StatsPrefix' => 'mediawiki' ,
2022-04-29 17:09:57 +00:00
'PageInfoTransclusionLimit' => 50 ,
'EnableJavaScriptTest' => false ,
'CachePrefix' => false ,
'DebugToolbar' => false ,
'DisableTextSearch' => false ,
'AdvancedSearchHighlighting' => false ,
'SearchHighlightBoundaries' => '[\\p{Z}\\p{P}\\p{C}]' ,
'OpenSearchTemplate' => false ,
'OpenSearchTemplates' => [
2022-01-26 19:42:59 +00:00
'application/x-suggestions+json' => false ,
'application/x-suggestions+xml' => false ,
],
2022-04-29 17:09:57 +00:00
'OpenSearchDefaultLimit' => 10 ,
'OpenSearchDescriptionLength' => 100 ,
'SearchSuggestCacheExpiry' => 1200 ,
'DisableSearchUpdate' => false ,
'NamespacesToBeSearchedDefault' => [
2022-01-26 19:42:59 +00:00
0 => true ,
],
2022-04-29 17:09:57 +00:00
'DisableInternalSearch' => false ,
'SearchForwardUrl' => null ,
'SitemapNamespaces' => false ,
'SitemapNamespacesPriorities' => false ,
'EnableSearchContributorsByIP' => true ,
'SpecialSearchFormOptions' => [
],
'SearchMatchRedirectPreference' => false ,
'SearchRunSuggestedQuery' => true ,
'Diff3' => '/usr/bin/diff3' ,
'Diff' => '/usr/bin/diff' ,
'PreviewOnOpenNamespaces' => [
2022-01-26 19:42:59 +00:00
14 => true ,
],
2022-04-29 17:09:57 +00:00
'UniversalEditButton' => true ,
'UseAutomaticEditSummaries' => true ,
'CommandLineDarkBg' => false ,
'ReadOnly' => null ,
'ReadOnlyWatchedItemStore' => false ,
'ReadOnlyFile' => false ,
'UpgradeKey' => false ,
'GitBin' => '/usr/bin/git' ,
'GitRepositoryViewers' => [
2022-01-26 19:42:59 +00:00
'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' => 'https://gerrit.wikimedia.org/g/%R/+/%H' ,
'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' => 'https://gerrit.wikimedia.org/g/%R/+/%H' ,
],
2022-04-29 17:09:57 +00:00
'RCMaxAge' => 7776000 ,
'WatchersMaxAge' => 15552000 ,
'UnwatchedPageSecret' => 1 ,
'RCFilterByAge' => false ,
'RCLinkLimits' => [
2022-01-26 19:42:59 +00:00
0 => 50 ,
1 => 100 ,
2 => 250 ,
3 => 500 ,
],
2022-04-29 17:09:57 +00:00
'RCLinkDays' => [
2022-01-26 19:42:59 +00:00
0 => 1 ,
1 => 3 ,
2 => 7 ,
3 => 14 ,
4 => 30 ,
],
2022-04-29 17:09:57 +00:00
'RCFeeds' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'RCEngines' => [
2022-01-26 19:42:59 +00:00
'redis' => 'RedisPubSubFeedEngine' ,
'udp' => 'UDPRCFeedEngine' ,
],
2022-04-29 17:09:57 +00:00
'RCWatchCategoryMembership' => false ,
'UseRCPatrol' => true ,
'StructuredChangeFiltersLiveUpdatePollingRate' => 3 ,
'UseNPPatrol' => true ,
'UseFilePatrol' => true ,
'Feed' => true ,
'FeedLimit' => 50 ,
'FeedCacheTimeout' => 60 ,
'FeedDiffCutoff' => 32768 ,
'OverrideSiteFeed' => [
],
'FeedClasses' => [
2022-10-17 11:10:57 +00:00
'rss' => 'MediaWiki\\Feed\\RSSFeed' ,
'atom' => 'MediaWiki\\Feed\\AtomFeed' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'AdvertisedFeedTypes' => [
2022-01-26 19:42:59 +00:00
0 => 'atom' ,
],
2022-04-29 17:09:57 +00:00
'RCShowWatchingUsers' => false ,
'RCShowChangedSize' => true ,
'RCChangedSizeThreshold' => 500 ,
'ShowUpdatedMarker' => true ,
'DisableAnonTalk' => false ,
'UseTagFilter' => true ,
'SoftwareTags' => [
2022-01-26 19:42:59 +00:00
'mw-contentmodelchange' => true ,
'mw-new-redirect' => true ,
'mw-removed-redirect' => true ,
'mw-changed-redirect-target' => true ,
'mw-blank' => true ,
'mw-replace' => true ,
'mw-rollback' => true ,
'mw-undo' => true ,
'mw-manual-revert' => true ,
'mw-reverted' => true ,
'mw-server-side-upload' => true ,
],
2022-04-29 17:09:57 +00:00
'UnwatchedPageThreshold' => false ,
'RecentChangesFlags' => [
2022-01-26 19:42:59 +00:00
'newpage' => [
'letter' => 'newpageletter' ,
'title' => 'recentchanges-label-newpage' ,
'legend' => 'recentchanges-legend-newpage' ,
'grouping' => 'any' ,
],
'minor' => [
'letter' => 'minoreditletter' ,
'title' => 'recentchanges-label-minor' ,
'legend' => 'recentchanges-legend-minor' ,
'class' => 'minoredit' ,
'grouping' => 'all' ,
],
'bot' => [
'letter' => 'boteditletter' ,
'title' => 'recentchanges-label-bot' ,
'legend' => 'recentchanges-legend-bot' ,
'class' => 'botedit' ,
'grouping' => 'all' ,
],
'unpatrolled' => [
'letter' => 'unpatrolledletter' ,
'title' => 'recentchanges-label-unpatrolled' ,
'legend' => 'recentchanges-legend-unpatrolled' ,
'grouping' => 'any' ,
],
],
2022-04-29 17:09:57 +00:00
'WatchlistExpiry' => false ,
'WatchlistPurgeRate' => 0.1 ,
2022-07-20 21:45:04 +00:00
'WatchlistExpiryMaxDuration' => '1 year' ,
2022-04-29 17:09:57 +00:00
'RightsPage' => null ,
'RightsUrl' => null ,
'RightsText' => null ,
'RightsIcon' => null ,
'UseCopyrightUpload' => false ,
'MaxCredits' => 0 ,
'ShowCreditsIfMax' => true ,
'ImportSources' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ImportTargetNamespace' => null ,
'ExportAllowHistory' => true ,
'ExportMaxHistory' => 0 ,
'ExportAllowListContributors' => false ,
'ExportMaxLinkDepth' => 0 ,
'ExportFromNamespaces' => false ,
'ExportAllowAll' => false ,
'ExportPagelistLimit' => 5000 ,
'XmlDumpSchemaVersion' => '0.11' ,
'WikiFarmSettingsDirectory' => null ,
'WikiFarmSettingsExtension' => 'yaml' ,
'ExtensionFunctions' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ExtensionMessagesFiles' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'MessagesDirs' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ExtensionEntryPointListFiles' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'EnableParserLimitReporting' => true ,
'ValidSkinNames' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'SpecialPages' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ExtensionCredits' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'Hooks' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ServiceWiringFiles' => [
2022-02-03 15:02:50 +00:00
],
2022-04-29 17:09:57 +00:00
'JobClasses' => [
2022-01-26 19:42:59 +00:00
'deletePage' => 'DeletePageJob' ,
'refreshLinks' => 'RefreshLinksJob' ,
'deleteLinks' => 'DeleteLinksJob' ,
'htmlCacheUpdate' => 'HTMLCacheUpdateJob' ,
2020-05-13 03:54:09 +00:00
'sendMail' => [
'class' => 'EmaillingJob' ,
'services' => [
0 => 'Emailer' ,
],
],
2022-01-26 19:42:59 +00:00
'enotifNotify' => 'EnotifNotifyJob' ,
2023-06-28 12:33:38 +00:00
'fixDoubleRedirect' => [
'class' => 'DoubleRedirectJob' ,
'services' => [
0 => 'RevisionLookup' ,
1 => 'MagicWordFactory' ,
2 => 'WikiPageFactory' ,
],
'needsPage' => true ,
],
2022-01-26 19:42:59 +00:00
'AssembleUploadChunks' => 'AssembleUploadChunksJob' ,
'PublishStashedFile' => 'PublishStashedFileJob' ,
'ThumbnailRender' => 'ThumbnailRenderJob' ,
'recentChangesUpdate' => 'RecentChangesUpdateJob' ,
'refreshLinksPrioritized' => 'RefreshLinksJob' ,
'refreshLinksDynamic' => 'RefreshLinksJob' ,
'activityUpdateJob' => 'ActivityUpdateJob' ,
'categoryMembershipChange' => 'CategoryMembershipChangeJob' ,
'clearUserWatchlist' => 'ClearUserWatchlistJob' ,
'watchlistExpiry' => 'WatchlistExpiryJob' ,
'cdnPurge' => 'CdnPurgeJob' ,
'userGroupExpiry' => 'UserGroupExpiryJob' ,
'clearWatchlistNotifications' => 'ClearWatchlistNotificationsJob' ,
'userOptionsUpdate' => 'UserOptionsUpdateJob' ,
'revertedTagUpdate' => 'RevertedTagUpdateJob' ,
'null' => 'NullJob' ,
'userEditCountInit' => 'UserEditCountInitJob' ,
2023-01-12 13:17:43 +00:00
'parsoidCachePrewarm' => [
'class' => 'ParsoidCachePrewarmJob' ,
'services' => [
0 => 'ParsoidOutputAccess' ,
1 => 'PageStore' ,
2 => 'RevisionLookup' ,
],
'needsPage' => false ,
],
2023-03-09 23:52:40 +00:00
'renameUser' => [
'class' => 'RenameUserJob' ,
'services' => [
0 => 'MainConfig' ,
1 => 'DBLoadBalancerFactory' ,
],
],
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'JobTypesExcludedFromDefaultQueue' => [
2022-01-26 19:42:59 +00:00
0 => 'AssembleUploadChunks' ,
1 => 'PublishStashedFile' ,
],
2022-04-29 17:09:57 +00:00
'JobBackoffThrottling' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'JobTypeConf' => [
2022-01-26 19:42:59 +00:00
'default' => [
'class' => 'JobQueueDB' ,
'order' => 'random' ,
'claimTTL' => 3600 ,
],
],
2022-04-29 17:09:57 +00:00
'JobQueueIncludeInMaxLagFactor' => false ,
'SpecialPageCacheUpdates' => [
2022-01-26 19:42:59 +00:00
'Statistics' => [
2023-11-21 21:08:14 +00:00
0 => 'MediaWiki\\Deferred\\SiteStatsUpdate' ,
2022-01-26 19:42:59 +00:00
1 => 'cacheUpdate' ,
],
],
2022-04-29 17:09:57 +00:00
'PagePropLinkInvalidations' => [
2022-01-26 19:42:59 +00:00
'hiddencat' => 'categorylinks' ,
],
2022-04-29 17:09:57 +00:00
'CategoryMagicGallery' => true ,
'CategoryPagingLimit' => 200 ,
'CategoryCollation' => 'uppercase' ,
'TempCategoryCollations' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'TrackingCategories' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'LogTypes' => [
2022-01-26 19:42:59 +00:00
0 => '' ,
1 => 'block' ,
2 => 'protect' ,
3 => 'rights' ,
4 => 'delete' ,
5 => 'upload' ,
6 => 'move' ,
7 => 'import' ,
8 => 'patrol' ,
9 => 'merge' ,
10 => 'suppress' ,
11 => 'tag' ,
12 => 'managetags' ,
13 => 'contentmodel' ,
2023-02-28 05:51:43 +00:00
14 => 'renameuser' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'LogRestrictions' => [
2022-01-26 19:42:59 +00:00
'suppress' => 'suppressionlog' ,
],
2022-04-29 17:09:57 +00:00
'FilterLogTypes' => [
2022-01-26 19:42:59 +00:00
'patrol' => true ,
'tag' => true ,
'newusers' => false ,
],
2022-04-29 17:09:57 +00:00
'LogNames' => [
2022-01-26 19:42:59 +00:00
'' => 'all-logs-page' ,
'block' => 'blocklogpage' ,
'protect' => 'protectlogpage' ,
'rights' => 'rightslog' ,
'delete' => 'dellogpage' ,
'upload' => 'uploadlogpage' ,
'move' => 'movelogpage' ,
'import' => 'importlogpage' ,
'patrol' => 'patrol-log-page' ,
'merge' => 'mergelog' ,
'suppress' => 'suppressionlog' ,
],
2022-04-29 17:09:57 +00:00
'LogHeaders' => [
2022-01-26 19:42:59 +00:00
'' => 'alllogstext' ,
'block' => 'blocklogtext' ,
'delete' => 'dellogpagetext' ,
'import' => 'importlogpagetext' ,
'merge' => 'mergelogpagetext' ,
'move' => 'movelogpagetext' ,
'patrol' => 'patrol-log-header' ,
'protect' => 'protectlogtext' ,
'rights' => 'rightslogtext' ,
'suppress' => 'suppressionlogtext' ,
'upload' => 'uploadlogpagetext' ,
],
2022-04-29 17:09:57 +00:00
'LogActions' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'LogActionsHandlers' => [
2022-01-26 19:42:59 +00:00
'block/block' => 'BlockLogFormatter' ,
'block/reblock' => 'BlockLogFormatter' ,
'block/unblock' => 'BlockLogFormatter' ,
'contentmodel/change' => 'ContentModelLogFormatter' ,
'contentmodel/new' => 'ContentModelLogFormatter' ,
'delete/delete' => 'DeleteLogFormatter' ,
'delete/delete_redir' => 'DeleteLogFormatter' ,
'delete/delete_redir2' => 'DeleteLogFormatter' ,
'delete/event' => 'DeleteLogFormatter' ,
'delete/restore' => 'DeleteLogFormatter' ,
'delete/revision' => 'DeleteLogFormatter' ,
'import/interwiki' => 'ImportLogFormatter' ,
'import/upload' => 'ImportLogFormatter' ,
'managetags/activate' => 'LogFormatter' ,
'managetags/create' => 'LogFormatter' ,
'managetags/deactivate' => 'LogFormatter' ,
'managetags/delete' => 'LogFormatter' ,
'merge/merge' => 'MergeLogFormatter' ,
'move/move' => 'MoveLogFormatter' ,
'move/move_redir' => 'MoveLogFormatter' ,
'patrol/patrol' => 'PatrolLogFormatter' ,
'patrol/autopatrol' => 'PatrolLogFormatter' ,
'protect/modify' => 'ProtectLogFormatter' ,
'protect/move_prot' => 'ProtectLogFormatter' ,
'protect/protect' => 'ProtectLogFormatter' ,
'protect/unprotect' => 'ProtectLogFormatter' ,
2023-02-28 05:51:43 +00:00
'renameuser/renameuser' => 'RenameuserLogFormatter' ,
2022-01-26 19:42:59 +00:00
'rights/autopromote' => 'RightsLogFormatter' ,
'rights/rights' => 'RightsLogFormatter' ,
'suppress/block' => 'BlockLogFormatter' ,
'suppress/delete' => 'DeleteLogFormatter' ,
'suppress/event' => 'DeleteLogFormatter' ,
'suppress/reblock' => 'BlockLogFormatter' ,
'suppress/revision' => 'DeleteLogFormatter' ,
'tag/update' => 'TagLogFormatter' ,
'upload/overwrite' => 'UploadLogFormatter' ,
'upload/revert' => 'UploadLogFormatter' ,
'upload/upload' => 'UploadLogFormatter' ,
],
2022-04-29 17:09:57 +00:00
'ActionFilteredLogs' => [
2022-01-26 19:42:59 +00:00
'block' => [
'block' => [
0 => 'block' ,
],
'reblock' => [
0 => 'reblock' ,
],
'unblock' => [
0 => 'unblock' ,
],
],
'contentmodel' => [
'change' => [
0 => 'change' ,
],
'new' => [
0 => 'new' ,
],
],
'delete' => [
'delete' => [
0 => 'delete' ,
],
'delete_redir' => [
0 => 'delete_redir' ,
1 => 'delete_redir2' ,
],
'restore' => [
0 => 'restore' ,
],
'event' => [
0 => 'event' ,
],
'revision' => [
0 => 'revision' ,
],
],
'import' => [
'interwiki' => [
0 => 'interwiki' ,
],
'upload' => [
0 => 'upload' ,
],
],
'managetags' => [
'create' => [
0 => 'create' ,
],
'delete' => [
0 => 'delete' ,
],
'activate' => [
0 => 'activate' ,
],
'deactivate' => [
0 => 'deactivate' ,
],
],
'move' => [
'move' => [
0 => 'move' ,
],
'move_redir' => [
0 => 'move_redir' ,
],
],
'newusers' => [
'create' => [
0 => 'create' ,
1 => 'newusers' ,
],
'create2' => [
0 => 'create2' ,
],
'autocreate' => [
0 => 'autocreate' ,
],
'byemail' => [
0 => 'byemail' ,
],
],
'protect' => [
'protect' => [
0 => 'protect' ,
],
'modify' => [
0 => 'modify' ,
],
'unprotect' => [
0 => 'unprotect' ,
],
'move_prot' => [
0 => 'move_prot' ,
],
],
'rights' => [
'rights' => [
0 => 'rights' ,
],
'autopromote' => [
0 => 'autopromote' ,
],
],
'suppress' => [
'event' => [
0 => 'event' ,
],
'revision' => [
0 => 'revision' ,
],
'delete' => [
0 => 'delete' ,
],
'block' => [
0 => 'block' ,
],
'reblock' => [
0 => 'reblock' ,
],
],
'upload' => [
'upload' => [
0 => 'upload' ,
],
'overwrite' => [
0 => 'overwrite' ,
],
'revert' => [
0 => 'revert' ,
],
],
],
2022-04-29 17:09:57 +00:00
'NewUserLog' => true ,
'PageCreationLog' => true ,
'AllowSpecialInclusion' => true ,
'DisableQueryPageUpdate' => false ,
'CountCategorizedImagesAsUsed' => false ,
'MaxRedirectLinksRetrieved' => 500 ,
'RangeContributionsCIDRLimit' => [
2022-01-26 19:42:59 +00:00
'IPv4' => 16 ,
'IPv6' => 32 ,
],
2022-04-29 17:09:57 +00:00
'Actions' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'DefaultRobotPolicy' => 'index,follow' ,
'NamespaceRobotPolicies' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ArticleRobotPolicies' => [
2022-02-10 21:12:10 +00:00
],
2022-04-29 17:09:57 +00:00
'ExemptFromUserRobotsControl' => null ,
'DebugAPI' => false ,
'APIModules' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'APIFormatModules' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'APIMetaModules' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'APIPropModules' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'APIListModules' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'APIMaxDBRows' => 5000 ,
'APIMaxResultSize' => 8388608 ,
'APIMaxUncachedDiffs' => 1 ,
'APIMaxLagThreshold' => 7 ,
'APIRequestLog' => false ,
'APICacheHelpTimeout' => 3600 ,
'APIUselessQueryPages' => [
2022-01-26 19:42:59 +00:00
0 => 'MIMEsearch' ,
1 => 'LinkSearch' ,
],
2022-04-29 17:09:57 +00:00
'AjaxLicensePreview' => true ,
'CrossSiteAJAXdomains' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'CrossSiteAJAXdomainExceptions' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'AllowedCorsHeaders' => [
2022-01-26 19:42:59 +00:00
0 => 'Accept' ,
1 => 'Accept-Language' ,
2 => 'Content-Language' ,
3 => 'Content-Type' ,
4 => 'Accept-Encoding' ,
5 => 'DNT' ,
6 => 'Origin' ,
7 => 'User-Agent' ,
8 => 'Api-User-Agent' ,
9 => 'Access-Control-Max-Age' ,
2023-05-12 17:12:00 +00:00
10 => 'Authorization' ,
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'RestAPIAdditionalRouteFiles' => [
],
'MaxShellMemory' => 307200 ,
'MaxShellFileSize' => 102400 ,
'MaxShellTime' => 180 ,
'MaxShellWallClockTime' => 180 ,
'ShellCgroup' => false ,
'PhpCli' => '/usr/bin/php' ,
'ShellRestrictionMethod' => 'autodetect' ,
'ShellboxUrls' => [
2022-01-26 19:42:59 +00:00
'default' => null ,
],
2022-04-29 17:09:57 +00:00
'ShellboxSecretKey' => null ,
2023-12-04 00:09:12 +00:00
'ShellboxShell' => '/bin/sh' ,
2022-04-29 17:09:57 +00:00
'HTTPTimeout' => 25 ,
'HTTPConnectTimeout' => 5.0 ,
'HTTPMaxTimeout' => 0 ,
'HTTPMaxConnectTimeout' => 0 ,
'HTTPImportTimeout' => 25 ,
'AsyncHTTPTimeout' => 25 ,
'HTTPProxy' => '' ,
'LocalVirtualHosts' => [
],
'LocalHTTPProxy' => false ,
'AllowExternalReqID' => false ,
'JobRunRate' => 1 ,
'RunJobsAsync' => false ,
'UpdateRowsPerJob' => 300 ,
'UpdateRowsPerQuery' => 100 ,
'RedirectOnLogin' => null ,
'VirtualRestConfig' => [
2022-01-26 19:42:59 +00:00
'paths' => [
],
'modules' => [
],
'global' => [
'timeout' => 360 ,
'forwardCookies' => false ,
'HTTPProxy' => null ,
],
],
2022-04-29 17:09:57 +00:00
'EventRelayerConfig' => [
2022-01-26 19:42:59 +00:00
'default' => [
2023-06-10 22:15:46 +00:00
'class' => 'Wikimedia\\EventRelayer\\EventRelayerNull' ,
2022-01-26 19:42:59 +00:00
],
],
2022-04-29 17:09:57 +00:00
'Pingback' => false ,
'OriginTrials' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'ReportToExpiry' => 86400 ,
'ReportToEndpoints' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'FeaturePolicyReportOnly' => [
2022-01-26 19:42:59 +00:00
],
2022-04-29 17:09:57 +00:00
'SkinsPreferred' => [
2022-01-26 19:42:59 +00:00
0 => 'vector-2022' ,
1 => 'vector' ,
],
2022-11-08 09:33:39 +00:00
'SpecialContributeSkinsEnabled' => [
2022-10-04 18:02:17 +00:00
],
2023-06-30 08:33:04 +00:00
'EnableEditRecovery' => false ,
2023-10-11 14:47:14 +00:00
'EditRecoveryExpiry' => 2592000 ,
2022-04-29 17:09:57 +00:00
],
'type' => [
'ConfigRegistry' => 'object' ,
'AssumeProxiesUseDefaultProtocolPorts' => 'boolean' ,
'ForceHTTPS' => 'boolean' ,
'ExtensionDirectory' => [
0 => 'string' ,
1 => 'null' ,
],
'StyleDirectory' => [
0 => 'string' ,
1 => 'null' ,
],
'Logos' => [
0 => 'object' ,
1 => 'boolean' ,
],
'LogoHD' => [
0 => 'object' ,
1 => 'boolean' ,
],
'ReferrerPolicy' => [
0 => 'array' ,
1 => 'string' ,
2 => 'boolean' ,
],
'ActionPaths' => 'object' ,
'MainPageIsDomainRoot' => 'boolean' ,
'ImgAuthUrlPathMap' => 'object' ,
'LocalFileRepo' => [
0 => 'object' ,
1 => 'boolean' ,
],
'ForeignFileRepos' => 'array' ,
'UseSharedUploads' => 'boolean' ,
'SharedUploadDirectory' => [
0 => 'string' ,
1 => 'null' ,
],
'SharedUploadPath' => [
0 => 'string' ,
1 => 'null' ,
],
'HashedSharedUploadDirectory' => 'boolean' ,
'FetchCommonsDescriptions' => 'boolean' ,
'SharedUploadDBname' => [
0 => 'boolean' ,
1 => 'string' ,
],
'SharedUploadDBprefix' => 'string' ,
'CacheSharedUploads' => 'boolean' ,
'ForeignUploadTargets' => 'array' ,
'UploadDialog' => 'object' ,
'FileBackends' => 'object' ,
'LockManagers' => 'array' ,
'CopyUploadsDomains' => 'array' ,
'CopyUploadTimeout' => [
0 => 'boolean' ,
1 => 'integer' ,
],
'SharedThumbnailScriptPath' => [
0 => 'string' ,
1 => 'boolean' ,
],
'HashedUploadDirectory' => 'boolean' ,
'FileExtensions' => 'array' ,
'ProhibitedFileExtensions' => 'array' ,
'MimeTypeExclusions' => 'array' ,
'TrustedMediaFormats' => 'array' ,
'MediaHandlers' => 'object' ,
'NativeImageLazyLoading' => 'boolean' ,
'ParserTestMediaHandlers' => 'object' ,
'MaxInterlacingAreas' => 'object' ,
'SVGConverters' => 'object' ,
2023-05-19 14:56:44 +00:00
'SVGNativeRendering' => [
0 => 'string' ,
1 => 'boolean' ,
],
2022-04-29 17:09:57 +00:00
'MaxImageArea' => [
0 => 'string' ,
1 => 'integer' ,
2 => 'boolean' ,
],
'TiffThumbnailType' => 'array' ,
'GenerateThumbnailOnParse' => 'boolean' ,
'EnableAutoRotation' => [
0 => 'boolean' ,
1 => 'null' ,
],
'Antivirus' => [
0 => 'string' ,
1 => 'null' ,
],
'AntivirusSetup' => 'object' ,
'MimeDetectorCommand' => [
0 => 'string' ,
1 => 'null' ,
],
'XMLMimeTypes' => 'object' ,
'ImageLimits' => 'array' ,
'ThumbLimits' => 'array' ,
2022-08-31 14:51:57 +00:00
'ThumbnailNamespaces' => 'array' ,
2022-04-29 17:09:57 +00:00
'ThumbnailBuckets' => [
0 => 'array' ,
1 => 'null' ,
],
'UploadThumbnailRenderMap' => 'object' ,
'GalleryOptions' => 'object' ,
'DjvuDump' => [
0 => 'string' ,
1 => 'null' ,
],
'DjvuRenderer' => [
0 => 'string' ,
1 => 'null' ,
],
'DjvuTxt' => [
0 => 'string' ,
1 => 'null' ,
],
'DjvuPostProcessor' => [
0 => 'string' ,
1 => 'null' ,
],
'SMTP' => [
0 => 'boolean' ,
1 => 'object' ,
],
'EnotifFromEditor' => 'boolean' ,
'EnotifRevealEditorAddress' => 'boolean' ,
'UsersNotifiedOnAllChanges' => 'object' ,
'DBmwschema' => [
0 => 'string' ,
1 => 'null' ,
],
'SharedTables' => 'array' ,
'DBservers' => [
0 => 'boolean' ,
1 => 'array' ,
],
'LBFactoryConf' => 'object' ,
'LocalDatabases' => 'array' ,
2023-10-04 11:41:19 +00:00
'VirtualDomainsMapping' => 'object' ,
2022-04-29 17:09:57 +00:00
'TemplateLinksSchemaMigrationStage' => 'integer' ,
2023-09-05 21:27:59 +00:00
'PageLinksSchemaMigrationStage' => 'integer' ,
2023-08-03 13:54:40 +00:00
'ExternalLinksDomainGaps' => 'object' ,
2022-04-29 17:09:57 +00:00
'ContentHandlers' => 'object' ,
'NamespaceContentModels' => 'object' ,
'TextModelsToParse' => 'array' ,
'ExternalStores' => 'array' ,
'ExternalServers' => 'object' ,
'DefaultExternalStore' => [
0 => 'array' ,
1 => 'boolean' ,
],
'RevisionCacheExpiry' => 'integer' ,
'PageLanguageUseDB' => 'boolean' ,
'DiffEngine' => [
0 => 'string' ,
1 => 'null' ,
],
'ExternalDiffEngine' => [
0 => 'string' ,
1 => 'boolean' ,
],
2023-07-06 05:39:17 +00:00
'Wikidiff2Options' => 'object' ,
2022-04-29 17:09:57 +00:00
'RequestTimeLimit' => [
0 => 'integer' ,
1 => 'null' ,
],
'CriticalSectionTimeLimit' => 'number' ,
'PoolCounterConf' => [
0 => 'object' ,
1 => 'null' ,
],
2022-09-22 23:47:42 +00:00
'PoolCountClientConf' => 'object' ,
2022-04-29 17:09:57 +00:00
'MaxUserDBWriteDuration' => [
0 => 'integer' ,
1 => 'boolean' ,
],
'MaxJobDBWriteDuration' => [
0 => 'integer' ,
1 => 'boolean' ,
],
2022-04-26 21:09:38 +00:00
'MultiShardSiteStats' => 'boolean' ,
2022-04-29 17:09:57 +00:00
'ObjectCaches' => 'object' ,
objectcache: Remove $wgMainWANCache and $wgWANObjectCaches
We always wrap the local cluster cache, and there are no subclasses
of WANObjectCache. It was never documented or recommended how these
would be used. It is a left-over from the original 2015 Multi-DC plan
in which WANObjectCache would work differently. See task for details.
Note that this requires no configuration changes, even in the
theoretical case of these variables being used, as the only
option is to use the main cache, and that's also the default.
* Update WAN overrides to override the underlying main cache
instead.
* Fix EditPageTest which was previously implicitly using a 'hash'
as main cache but also relying on wan cache to be 'none'.
The part that it actually needs is the 'none'. When WAN cache is
enabled, testUpdateNoMinor fails due to an edit conflict because
one of the edits it makes is made with a current timestamp whereas
it expects to simulate wpEdittime in the year 2012 which, when
caching is enabled, is ignored and becomes the current time instead.
I don't understand exactly why, but I'm going to conserve that
behaviour for now.
* Fix TemplateCategoriesTest, which was failing due to an unexpected
cache hit:
> [objectcache] fetchOrRegenerate(…:page:10:…): volatile hit
This could be solved in a more realistic way by splitting the test,
or by explicitly resetting services half-way the test to clear
WikiPageFactory, PageStore and WANCache process state.
For now, keep the prior behaviour of no cache in this test.
Bug: T305093
Bug: T329680
Depends-On: If890622eed0d0f8b4bd73d36ba1815a3d760ea05
Depends-On: Ie1def75208822bdf19bb2cfd7e6edf32c2000e6b
Depends-On: I35cce61dc3ee90dcee3dd6f0b36f84133be029ed
Change-Id: I53781a8c06ebb2583f6ca83dd91bbfe8a5c88b13
2023-02-14 21:43:12 +00:00
'WANObjectCache' => 'object' ,
2023-11-07 13:53:52 +00:00
'MicroStashType' => [
0 => 'string' ,
1 => 'integer' ,
],
2022-06-02 18:15:36 +00:00
'ParsoidCacheConfig' => 'object' ,
2023-09-28 15:03:33 +00:00
'ParserCacheFilterConfig' => 'object' ,
2022-04-29 17:09:57 +00:00
'ChronologyProtectorStash' => [
0 => 'string' ,
1 => 'null' ,
],
2023-08-25 11:03:30 +00:00
'ChronologyProtectorSecret' => 'string' ,
2022-04-29 17:09:57 +00:00
'PHPSessionHandling' => 'string' ,
'SuspiciousIpExpiry' => [
0 => 'integer' ,
1 => 'boolean' ,
],
'MemCachedServers' => 'array' ,
'LocalisationCacheConf' => 'object' ,
'ExtensionInfoMTime' => [
0 => 'integer' ,
1 => 'boolean' ,
],
'CdnServers' => 'object' ,
'CdnServersNoPurge' => 'object' ,
'HTCPRouting' => 'object' ,
'GrammarForms' => 'object' ,
2023-02-02 19:42:58 +00:00
'ExtraInterlanguageLinkPrefixes' => 'array' ,
2022-04-29 17:09:57 +00:00
'InterlanguageLinkCodeMap' => 'object' ,
'ExtraLanguageNames' => 'object' ,
'ExtraLanguageCodes' => 'object' ,
'DummyLanguageCodes' => 'object' ,
'DisabledVariants' => 'object' ,
'ForceUIMsgAsContentMsg' => 'object' ,
'RawHtmlMessages' => 'array' ,
'OverrideUcfirstCharacters' => 'object' ,
'XhtmlNamespaces' => 'object' ,
'BrowserFormatDetection' => 'string' ,
'SkinMetaTags' => 'object' ,
'SkipSkins' => 'object' ,
'FragmentMode' => 'array' ,
'FooterIcons' => 'object' ,
2023-03-17 11:25:59 +00:00
'InterwikiLogoOverride' => 'array' ,
2022-04-29 17:09:57 +00:00
'ResourceModules' => 'object' ,
'ResourceModuleSkinStyles' => 'object' ,
'ResourceLoaderSources' => 'object' ,
'ResourceLoaderMaxage' => 'object' ,
'ResourceLoaderMaxQueryLength' => [
0 => 'integer' ,
1 => 'boolean' ,
],
'CanonicalNamespaceNames' => 'object' ,
'ExtraNamespaces' => 'object' ,
'ExtraGenderNamespaces' => 'object' ,
'NamespaceAliases' => 'object' ,
'CapitalLinkOverrides' => 'object' ,
'NamespacesWithSubpages' => 'object' ,
'ContentNamespaces' => 'array' ,
'ShortPagesNamespaceExclusions' => 'array' ,
'ExtraSignatureNamespaces' => 'array' ,
'InvalidRedirectTargets' => 'array' ,
'LocalInterwikis' => 'array' ,
'InterwikiCache' => [
0 => 'boolean' ,
1 => 'object' ,
],
'SiteTypes' => 'object' ,
'UrlProtocols' => 'array' ,
'TidyConfig' => 'object' ,
'ParsoidSettings' => 'object' ,
'NoFollowNsExceptions' => 'array' ,
'NoFollowDomainExceptions' => 'array' ,
'EnableMagicLinks' => 'object' ,
'ManualRevertSearchRadius' => 'integer' ,
'RevertedTagMaxDepth' => 'integer' ,
'CentralIdLookupProviders' => 'object' ,
'CentralIdLookupProvider' => 'string' ,
2023-09-14 10:18:56 +00:00
'UserRegistrationProviders' => 'object' ,
2022-04-29 17:09:57 +00:00
'PasswordPolicy' => 'object' ,
'AuthManagerConfig' => [
0 => 'object' ,
1 => 'null' ,
],
'AuthManagerAutoConfig' => 'object' ,
'RememberMe' => 'string' ,
'ReauthenticateTime' => 'object' ,
'AllowSecuritySensitiveOperationIfCannotReauthenticate' => 'object' ,
'ChangeCredentialsBlacklist' => 'array' ,
'RemoveCredentialsBlacklist' => 'array' ,
'PasswordConfig' => 'object' ,
'PasswordResetRoutes' => 'object' ,
'SignatureAllowedLintErrors' => 'array' ,
'ReservedUsernames' => 'array' ,
'DefaultUserOptions' => 'object' ,
'HiddenPrefs' => 'array' ,
'AuthenticationTokenVersion' => [
0 => 'string' ,
1 => 'null' ,
],
2022-05-06 09:35:40 +00:00
'SessionProviders' => 'object' ,
2022-04-29 17:09:57 +00:00
'AutoCreateTempUser' => 'object' ,
'BlockCIDRLimit' => 'object' ,
'EnablePartialActionBlocks' => 'boolean' ,
2023-10-25 20:35:41 +00:00
'EnableMultiBlocks' => 'boolean' ,
'BlockTargetMigrationStage' => 'integer' ,
2022-04-29 17:09:57 +00:00
'GroupPermissions' => 'object' ,
2019-01-07 08:01:00 +00:00
'PrivilegedGroups' => 'array' ,
2022-04-29 17:09:57 +00:00
'RevokePermissions' => 'object' ,
2022-07-15 13:30:47 +00:00
'GroupInheritsPermissions' => 'object' ,
2022-04-29 17:09:57 +00:00
'ImplicitGroups' => 'array' ,
'GroupsAddToSelf' => 'object' ,
'GroupsRemoveFromSelf' => 'object' ,
'RestrictionTypes' => 'array' ,
'RestrictionLevels' => 'array' ,
'CascadingRestrictionLevels' => 'array' ,
'SemiprotectedRestrictionLevels' => 'array' ,
'NamespaceProtection' => 'object' ,
'NonincludableNamespaces' => 'object' ,
'Autopromote' => 'object' ,
'AutopromoteOnce' => 'object' ,
'AddGroups' => 'object' ,
'RemoveGroups' => 'object' ,
'AvailableRights' => 'array' ,
2023-07-28 11:47:07 +00:00
'ImplicitRights' => 'array' ,
2022-07-15 13:30:47 +00:00
'AccountCreationThrottle' => [
0 => 'integer' ,
1 => 'array' ,
],
2022-04-29 17:09:57 +00:00
'SpamRegex' => 'array' ,
'SummarySpamRegex' => 'array' ,
'DnsBlacklistUrls' => 'array' ,
'ProxyList' => [
0 => 'string' ,
1 => 'array' ,
],
'ProxyWhitelist' => 'array' ,
'SoftBlockRanges' => 'array' ,
'RateLimits' => 'object' ,
'RateLimitsExcludedIPs' => 'array' ,
'PasswordAttemptThrottle' => 'array' ,
'GrantPermissions' => 'object' ,
'GrantPermissionGroups' => 'object' ,
'EnableBotPasswords' => 'boolean' ,
'BotPasswordsCluster' => [
0 => 'string' ,
1 => 'boolean' ,
],
'BotPasswordsDatabase' => [
0 => 'string' ,
1 => 'boolean' ,
],
'CSPHeader' => [
0 => 'boolean' ,
2022-07-15 13:30:47 +00:00
1 => 'object' ,
2022-04-29 17:09:57 +00:00
],
'CSPReportOnlyHeader' => [
0 => 'boolean' ,
2022-07-15 13:30:47 +00:00
1 => 'object' ,
2022-04-29 17:09:57 +00:00
],
'CSPFalsePositiveUrls' => 'object' ,
'AllowCrossOrigin' => 'boolean' ,
'RestAllowCrossOriginCookieAuth' => 'boolean' ,
'CookieSameSite' => [
0 => 'string' ,
1 => 'null' ,
],
'UseSameSiteLegacyCookies' => 'boolean' ,
'CacheVaryCookies' => 'array' ,
'TrxProfilerLimits' => 'object' ,
'DebugLogGroups' => 'object' ,
'MWLoggerDefaultSpi' => 'object' ,
'Profiler' => 'object' ,
'StatsdSamplingRates' => 'object' ,
2023-02-24 21:18:13 +00:00
'StatsTarget' => [
2022-04-29 17:09:57 +00:00
0 => 'string' ,
1 => 'null' ,
],
2023-02-24 21:18:13 +00:00
'StatsFormat' => [
2022-04-29 17:09:57 +00:00
0 => 'string' ,
1 => 'null' ,
],
2023-02-24 21:18:13 +00:00
'StatsPrefix' => 'string' ,
2022-04-29 17:09:57 +00:00
'OpenSearchTemplates' => 'object' ,
'NamespacesToBeSearchedDefault' => 'object' ,
'SitemapNamespaces' => [
0 => 'boolean' ,
1 => 'array' ,
],
'SitemapNamespacesPriorities' => [
0 => 'boolean' ,
1 => 'object' ,
],
'SpecialSearchFormOptions' => 'object' ,
'SearchMatchRedirectPreference' => 'boolean' ,
'SearchRunSuggestedQuery' => 'boolean' ,
'PreviewOnOpenNamespaces' => 'object' ,
'ReadOnlyWatchedItemStore' => 'boolean' ,
'GitRepositoryViewers' => 'object' ,
'RCLinkLimits' => 'array' ,
'RCLinkDays' => 'array' ,
'RCFeeds' => 'object' ,
'RCEngines' => 'object' ,
'OverrideSiteFeed' => 'object' ,
'FeedClasses' => 'object' ,
'AdvertisedFeedTypes' => 'array' ,
'SoftwareTags' => 'object' ,
'RecentChangesFlags' => 'object' ,
'WatchlistExpiry' => 'boolean' ,
'WatchlistPurgeRate' => 'number' ,
'WatchlistExpiryMaxDuration' => [
0 => 'string' ,
1 => 'null' ,
],
'ImportSources' => 'object' ,
'ExtensionFunctions' => 'array' ,
'ExtensionMessagesFiles' => 'object' ,
'MessagesDirs' => 'object' ,
'ExtensionEntryPointListFiles' => 'object' ,
'ValidSkinNames' => 'object' ,
'SpecialPages' => 'object' ,
'ExtensionCredits' => 'object' ,
'Hooks' => 'object' ,
'ServiceWiringFiles' => 'array' ,
'JobClasses' => 'object' ,
'JobTypesExcludedFromDefaultQueue' => 'array' ,
2022-07-15 13:30:47 +00:00
'JobBackoffThrottling' => 'object' ,
2022-04-29 17:09:57 +00:00
'JobTypeConf' => 'object' ,
'SpecialPageCacheUpdates' => 'object' ,
'PagePropLinkInvalidations' => 'object' ,
'TempCategoryCollations' => 'array' ,
'TrackingCategories' => 'array' ,
'LogTypes' => 'array' ,
'LogRestrictions' => 'object' ,
'FilterLogTypes' => 'object' ,
'LogNames' => 'object' ,
'LogHeaders' => 'object' ,
'LogActions' => 'object' ,
'LogActionsHandlers' => 'object' ,
'ActionFilteredLogs' => 'object' ,
'RangeContributionsCIDRLimit' => 'object' ,
'Actions' => 'object' ,
'NamespaceRobotPolicies' => 'object' ,
'ArticleRobotPolicies' => 'object' ,
'ExemptFromUserRobotsControl' => [
0 => 'array' ,
1 => 'null' ,
],
'APIModules' => 'object' ,
'APIFormatModules' => 'object' ,
'APIMetaModules' => 'object' ,
'APIPropModules' => 'object' ,
'APIListModules' => 'object' ,
'APIUselessQueryPages' => 'array' ,
'CrossSiteAJAXdomains' => 'object' ,
'CrossSiteAJAXdomainExceptions' => 'object' ,
'AllowedCorsHeaders' => 'array' ,
'RestAPIAdditionalRouteFiles' => 'array' ,
'ShellRestrictionMethod' => [
0 => 'string' ,
1 => 'boolean' ,
],
'ShellboxUrls' => 'object' ,
'ShellboxSecretKey' => [
0 => 'string' ,
1 => 'null' ,
],
2023-12-04 00:09:12 +00:00
'ShellboxShell' => [
0 => 'string' ,
1 => 'null' ,
],
2022-04-29 17:09:57 +00:00
'HTTPTimeout' => 'number' ,
'HTTPConnectTimeout' => 'number' ,
'HTTPMaxTimeout' => 'number' ,
'HTTPMaxConnectTimeout' => 'number' ,
'LocalVirtualHosts' => 'object' ,
'LocalHTTPProxy' => [
0 => 'string' ,
1 => 'boolean' ,
],
'VirtualRestConfig' => 'object' ,
'EventRelayerConfig' => 'object' ,
'Pingback' => 'boolean' ,
'OriginTrials' => 'array' ,
'ReportToExpiry' => 'integer' ,
'ReportToEndpoints' => 'array' ,
'FeaturePolicyReportOnly' => 'array' ,
'SkinsPreferred' => 'array' ,
2022-11-08 09:33:39 +00:00
'SpecialContributeSkinsEnabled' => 'array' ,
2023-06-30 08:33:04 +00:00
'EnableEditRecovery' => 'boolean' ,
2023-10-11 14:47:14 +00:00
'EditRecoveryExpiry' => 'integer' ,
2022-04-29 17:09:57 +00:00
],
'mergeStrategy' => [
'TiffThumbnailType' => 'replace' ,
'LBFactoryConf' => 'replace' ,
'InterwikiCache' => 'replace' ,
'PasswordPolicy' => 'array_replace_recursive' ,
'AuthManagerAutoConfig' => 'array_plus_2d' ,
'GroupPermissions' => 'array_plus_2d' ,
'RevokePermissions' => 'array_plus_2d' ,
'RateLimits' => 'array_plus_2d' ,
'GrantPermissions' => 'array_plus_2d' ,
'MWLoggerDefaultSpi' => 'replace' ,
'Profiler' => 'replace' ,
'Hooks' => 'array_merge_recursive' ,
'VirtualRestConfig' => 'array_plus_2d' ,
2022-01-26 19:42:59 +00:00
],
2022-04-24 16:14:51 +00:00
'dynamicDefault' => [
'UsePathInfo' => [
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultUsePathInfo' ,
],
],
'Script' => [
'use' => [
0 => 'ScriptPath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultScript' ,
],
],
'LoadScript' => [
'use' => [
0 => 'ScriptPath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultLoadScript' ,
],
],
'RestPath' => [
'use' => [
0 => 'ScriptPath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultRestPath' ,
],
],
'StylePath' => [
'use' => [
0 => 'ResourceBasePath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultStylePath' ,
],
],
'LocalStylePath' => [
'use' => [
0 => 'ScriptPath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultLocalStylePath' ,
],
],
'ExtensionAssetsPath' => [
'use' => [
0 => 'ResourceBasePath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultExtensionAssetsPath' ,
],
],
'ArticlePath' => [
'use' => [
0 => 'Script' ,
1 => 'UsePathInfo' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultArticlePath' ,
],
],
'UploadPath' => [
'use' => [
0 => 'ScriptPath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultUploadPath' ,
],
],
'UploadDirectory' => [
'use' => [
0 => 'BaseDirectory' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultUploadDirectory' ,
],
],
'FileCacheDirectory' => [
'use' => [
0 => 'UploadDirectory' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultFileCacheDirectory' ,
],
],
'Logo' => [
'use' => [
0 => 'ResourceBasePath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultLogo' ,
],
],
'DeletedDirectory' => [
'use' => [
0 => 'UploadDirectory' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultDeletedDirectory' ,
],
],
'LocalFileRepo' => [
'use' => [
0 => 'UploadDirectory' ,
1 => 'ScriptPath' ,
2 => 'Favicon' ,
3 => 'UploadBaseUrl' ,
4 => 'UploadPath' ,
5 => 'HashedUploadDirectory' ,
6 => 'ThumbnailScriptPath' ,
7 => 'GenerateThumbnailOnParse' ,
8 => 'DeletedDirectory' ,
9 => 'UpdateCompatibleMetadata' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultLocalFileRepo' ,
],
],
'ShowEXIF' => [
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultShowEXIF' ,
],
],
'SharedPrefix' => [
'use' => [
0 => 'DBprefix' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultSharedPrefix' ,
],
],
'SharedSchema' => [
'use' => [
0 => 'DBmwschema' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultSharedSchema' ,
],
],
'DBerrorLogTZ' => [
'use' => [
0 => 'Localtimezone' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultDBerrorLogTZ' ,
],
],
'Localtimezone' => [
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultLocaltimezone' ,
],
],
'LocalTZoffset' => [
'use' => [
0 => 'Localtimezone' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultLocalTZoffset' ,
],
],
'ResourceBasePath' => [
'use' => [
0 => 'ScriptPath' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultResourceBasePath' ,
],
],
'MetaNamespace' => [
'use' => [
0 => 'Sitename' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultMetaNamespace' ,
],
],
'CookieSecure' => [
'use' => [
0 => 'ForceHTTPS' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultCookieSecure' ,
],
],
'CookiePrefix' => [
'use' => [
0 => 'SharedDB' ,
1 => 'SharedPrefix' ,
2 => 'SharedTables' ,
3 => 'DBname' ,
4 => 'DBprefix' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultCookiePrefix' ,
],
],
'ReadOnlyFile' => [
'use' => [
0 => 'UploadDirectory' ,
],
'callback' => [
0 => 'MediaWiki\\MainConfigSchema' ,
1 => 'getDefaultReadOnlyFile' ,
],
],
],
2022-01-26 19:42:59 +00:00
],
2022-05-17 14:45:37 +00:00
'config-schema' => [
'LogoHD' => [
2022-05-06 09:09:56 +00:00
'deprecated' => 'since 1.35. Developers should retrieve this logo (and other variants) using the static function MediaWiki\\ResourceLoader\\SkinModule::getAvailableLogos. $wgLogos should be used instead.' ,
2022-05-17 14:45:37 +00:00
],
'UploadStashScalerBaseUrl' => [
'deprecated' => 'since 1.36 Use thumbProxyUrl in $wgLocalFileRepo' ,
],
2023-07-28 20:37:58 +00:00
'IllegalFileChars' => [
'deprecated' => 'since 1.41; no longer customizable' ,
],
2022-08-31 14:51:57 +00:00
'ThumbnailNamespaces' => [
'items' => [
'type' => 'integer' ,
],
],
2022-05-17 14:45:37 +00:00
'LocalDatabases' => [
'items' => [
'type' => 'string' ,
],
],
'ContentHandlerTextFallback' => [
'deprecated' => 'since 1.37' ,
],
2023-09-28 15:03:33 +00:00
'ParserCacheFilterConfig' => [
'additionalProperties' => [
'type' => 'object' ,
'description' => 'A map of namespace IDs to filter definitions.' ,
'additionalProperties' => [
'type' => 'object' ,
'description' => 'A map of filter names to values.' ,
'properties' => [
'minCpuTime' => [
'type' => 'number' ,
],
],
],
],
],
2022-05-17 14:45:37 +00:00
'SquidPurgeUseHostHeader' => [
'deprecated' => 'since 1.33' ,
],
'RawHtmlMessages' => [
'items' => [
'type' => 'string' ,
],
],
2023-03-17 11:25:59 +00:00
'InterwikiLogoOverride' => [
'items' => [
'type' => 'string' ,
],
],
2023-07-28 20:37:58 +00:00
'LegalTitleChars' => [
'deprecated' => 'since 1.41; use Extension:TitleBlacklist to customize' ,
],
2022-05-17 14:45:37 +00:00
'AllowImageTag' => [
'deprecated' => 'since 1.35; register an extension tag named <img> instead.' ,
],
2023-08-28 16:42:18 +00:00
'ParserEnableLegacyMediaDOM' => [
'deprecated' => 'since 1.41' ,
],
'UseContentMediaStyles' => [
'deprecated' => 'since 1.41' ,
],
2022-05-17 14:45:37 +00:00
'ReauthenticateTime' => [
'additionalProperties' => [
'type' => 'integer' ,
],
],
'AllowSecuritySensitiveOperationIfCannotReauthenticate' => [
'additionalProperties' => [
'type' => 'boolean' ,
],
],
'ChangeCredentialsBlacklist' => [
'items' => [
'type' => 'string' ,
],
],
'RemoveCredentialsBlacklist' => [
'items' => [
'type' => 'string' ,
],
],
'MinimalPasswordLength' => [
'deprecated' => 'since 1.26, use $wgPasswordPolicy\'s MinimalPasswordLength.' ,
],
'MaximalPasswordLength' => [
'deprecated' => 'since 1.26, use $wgPasswordPolicy\'s MaximalPasswordLength.' ,
],
'GroupPermissions' => [
'additionalProperties' => [
'type' => 'object' ,
'additionalProperties' => [
'type' => 'boolean' ,
],
],
],
'GroupInheritsPermissions' => [
2022-07-15 13:30:47 +00:00
'additionalProperties' => [
2022-05-17 14:45:37 +00:00
'type' => 'string' ,
],
],
2023-07-28 11:47:07 +00:00
'AvailableRights' => [
'items' => [
'type' => 'string' ,
],
],
'ImplicitRights' => [
'items' => [
'type' => 'string' ,
],
],
2022-05-17 14:45:37 +00:00
'SoftBlockRanges' => [
'items' => [
'type' => 'string' ,
],
],
'GrantPermissions' => [
'additionalProperties' => [
'type' => 'object' ,
'additionalProperties' => [
'type' => 'boolean' ,
],
],
],
'GrantPermissionGroups' => [
'additionalProperties' => [
'type' => 'string' ,
],
],
'OpenSearchTemplate' => [
'deprecated' => 'since 1.25 Use $wgOpenSearchTemplates[\'application/x-suggestions+json\'] instead' ,
],
'SoftwareTags' => [
'additionalProperties' => [
'type' => 'boolean' ,
],
],
'JobBackoffThrottling' => [
2022-07-15 13:30:47 +00:00
'additionalProperties' => [
2022-05-17 14:45:37 +00:00
'type' => 'number' ,
],
],
2022-06-13 14:23:00 +00:00
'JobTypeConf' => [
'additionalProperties' => [
'type' => 'object' ,
'properties' => [
'class' => [
'type' => 'string' ,
],
'order' => [
'type' => 'string' ,
],
'claimTTL' => [
'type' => 'integer' ,
],
],
],
],
2022-05-17 14:45:37 +00:00
'TrackingCategories' => [
'deprecated' => 'since 1.25 Extensions should now register tracking categories using the new extension registration system.' ,
],
'RangeContributionsCIDRLimit' => [
'additionalProperties' => [
'type' => 'integer' ,
],
],
'ShellboxUrls' => [
'additionalProperties' => [
'type' => [
0 => 'string' ,
1 => 'boolean' ,
2 => 'null' ,
],
],
],
],
2022-10-05 10:02:45 +00:00
'obsolete-config' => [
'MangleFlashPolicy' => 'Since 1.39; no longer has any effect.' ,
'EnableOpenSearchSuggest' => 'Since 1.35, no longer used' ,
2022-12-04 07:18:42 +00:00
'AutoloadAttemptLowercase' => 'Since 1.40; no longer has any effect.' ,
2022-10-05 10:02:45 +00:00
],
2022-01-26 19:42:59 +00:00
];