2016-05-15 11:12:40 +00:00
{
"name" : "Abuse Filter" ,
"author" : [
"Andrew Garrett" ,
2019-07-04 10:22:20 +00:00
"[https://www.mediawiki.org/wiki/User:Daimona_Eaytoy Daimona Eaytoy]" ,
"Marius Hoch" ,
2016-05-15 11:12:40 +00:00
"River Tarnell" ,
2019-07-04 10:22:20 +00:00
"Victor Vasiliev"
2016-05-15 11:12:40 +00:00
] ,
"url" : "https://www.mediawiki.org/wiki/Extension:AbuseFilter" ,
"descriptionmsg" : "abusefilter-desc" ,
2018-01-04 03:01:35 +00:00
"license-name" : "GPL-2.0-or-later" ,
2016-05-15 11:12:40 +00:00
"type" : "antispam" ,
"requires" : {
2020-10-11 21:35:13 +00:00
"MediaWiki" : ">= 1.36.0"
2016-05-15 11:12:40 +00:00
} ,
"AvailableRights" : [
"abusefilter-modify" ,
"abusefilter-log-detail" ,
"abusefilter-view" ,
"abusefilter-log" ,
2019-01-07 15:23:21 +00:00
"abusefilter-privatedetails" ,
"abusefilter-privatedetails-log" ,
2016-05-15 11:12:40 +00:00
"abusefilter-modify-restricted" ,
"abusefilter-revert" ,
"abusefilter-view-private" ,
"abusefilter-log-private" ,
"abusefilter-hidden-log" ,
"abusefilter-hide-log" ,
"abusefilter-modify-global"
] ,
2018-04-08 17:46:18 +00:00
"GroupPermissions" : {
"*" : {
"abusefilter-view" : true ,
"abusefilter-log" : true
} ,
"sysop" : {
"abusefilter-log-detail" : true ,
2018-10-20 10:24:53 +00:00
"abusefilter-view-private" : true ,
"abusefilter-log-private" : true ,
"abusefilter-modify" : true ,
"abusefilter-modify-restricted" : true ,
"abusefilter-revert" : true
} ,
"suppress" : {
"abusefilter-hidden-log" : true ,
"abusefilter-hide-log" : true
2018-04-08 17:46:18 +00:00
}
} ,
"GrantPermissions" : {
"basic" : {
"abusefilter-log" : true ,
2018-04-07 19:45:28 +00:00
"abusefilter-log-detail" : true ,
"abusefilter-view" : true
2018-04-08 17:46:18 +00:00
} ,
2018-10-20 10:24:53 +00:00
"oversight" : {
"abusefilter-hide-log" : true
2018-04-08 17:46:18 +00:00
} ,
"viewrestrictedlogs" : {
2018-04-07 19:45:28 +00:00
"abusefilter-hidden-log" : true ,
2018-10-20 10:24:53 +00:00
"abusefilter-log-private" : true ,
2018-04-07 19:45:28 +00:00
"abusefilter-view-private" : true
2018-04-08 17:46:18 +00:00
}
} ,
2016-05-15 11:12:40 +00:00
"SpecialPages" : {
2020-08-07 21:48:47 +00:00
"AbuseLog" : {
"class" : "SpecialAbuseLog" ,
"services" : [
2020-09-17 06:54:06 +00:00
"LinkBatchFactory" ,
2020-09-18 14:49:13 +00:00
"PermissionManager" ,
2020-11-29 22:55:34 +00:00
"AbuseFilterPermissionManager" ,
2020-09-29 14:52:05 +00:00
"AbuseFilterConsequencesRegistry" ,
"AbuseFilterVariablesBlobStore"
2020-08-07 21:48:47 +00:00
]
} ,
2020-10-23 14:19:02 +00:00
"AbuseFilter" : {
"class" : "SpecialAbuseFilter" ,
"services" : [
"ObjectFactory"
]
}
2016-05-15 11:12:40 +00:00
} ,
"LogTypes" : [
2016-12-12 16:30:06 +00:00
"abusefilter" ,
"abusefilterprivatedetails"
2016-05-15 11:12:40 +00:00
] ,
"LogNames" : {
2016-12-12 16:30:06 +00:00
"abusefilter" : "abusefilter-log-name" ,
"abusefilterprivatedetails" : "abusefilterprivatedetails-log-name"
2016-05-15 11:12:40 +00:00
} ,
"LogHeaders" : {
"abusefilter" : "abusefilter-log-header"
} ,
"LogActionsHandlers" : {
2020-10-07 11:23:10 +00:00
"abusefilter/hit" : "MediaWiki\\Extension\\AbuseFilter\\LogFormatter\\AbuseLogHitFormatter" ,
"abusefilter/modify" : "MediaWiki\\Extension\\AbuseFilter\\LogFormatter\\AbuseFilterModifyLogFormatter" ,
"abusefilter/create" : "MediaWiki\\Extension\\AbuseFilter\\LogFormatter\\AbuseFilterModifyLogFormatter" ,
2017-02-15 18:12:31 +00:00
"abusefilterprivatedetails/access" : "LogFormatter" ,
2020-10-07 11:23:10 +00:00
"suppress/hide-afl" : "MediaWiki\\Extension\\AbuseFilter\\LogFormatter\\AbuseFilterSuppressLogFormatter" ,
"suppress/unhide-afl" : "MediaWiki\\Extension\\AbuseFilter\\LogFormatter\\AbuseFilterSuppressLogFormatter" ,
"rights/blockautopromote" : "MediaWiki\\Extension\\AbuseFilter\\LogFormatter\\AbuseFilterRightsLogFormatter" ,
"rights/restoreautopromote" : "MediaWiki\\Extension\\AbuseFilter\\LogFormatter\\AbuseFilterRightsLogFormatter"
2017-10-16 11:19:30 +00:00
} ,
"ActionFilteredLogs" : {
"abusefilter" : {
"modify" : [
"modify"
] ,
"create" : [
"create"
]
}
2016-05-15 11:12:40 +00:00
} ,
2016-12-12 16:30:06 +00:00
"LogRestrictions" : {
2019-11-10 10:33:51 +00:00
"abusefilter" : "abusefilter-view" ,
2019-01-07 15:23:21 +00:00
"abusefilterprivatedetails" : "abusefilter-privatedetails-log"
2016-12-12 16:30:06 +00:00
} ,
2016-05-15 11:12:40 +00:00
"APIModules" : {
2020-12-03 22:05:42 +00:00
"abusefilterchecksyntax" : "MediaWiki\\Extension\\AbuseFilter\\Api\\CheckSyntax" ,
"abusefilterevalexpression" : "MediaWiki\\Extension\\AbuseFilter\\Api\\EvalExpression" ,
"abusefilterunblockautopromote" : "MediaWiki\\Extension\\AbuseFilter\\Api\\UnblockAutopromote" ,
"abusefiltercheckmatch" : "MediaWiki\\Extension\\AbuseFilter\\Api\\CheckMatch" ,
"abuselogprivatedetails" : "MediaWiki\\Extension\\AbuseFilter\\Api\\AbuseLogPrivateDetails"
2016-05-15 11:12:40 +00:00
} ,
"APIListModules" : {
2020-12-03 22:05:42 +00:00
"abuselog" : "MediaWiki\\Extension\\AbuseFilter\\Api\\QueryAbuseLog" ,
"abusefilters" : "MediaWiki\\Extension\\AbuseFilter\\Api\\QueryAbuseFilters"
2016-05-15 11:12:40 +00:00
} ,
"MessagesDirs" : {
"AbuseFilter" : [
2018-03-19 16:07:25 +00:00
"i18n" ,
"i18n/api"
2016-05-15 11:12:40 +00:00
]
} ,
"ExtensionMessagesFiles" : {
"AbuseFilterAliases" : "AbuseFilter.alias.php"
} ,
2020-01-11 17:05:30 +00:00
"AutoloadNamespaces" : {
2020-12-03 22:05:42 +00:00
"MediaWiki\\Extension\\AbuseFilter\\Api\\" : "includes/Api/" ,
2020-06-03 00:43:22 +00:00
"MediaWiki\\Extension\\AbuseFilter\\VariableGenerator\\" : "includes/VariableGenerator/" ,
2020-10-07 11:23:10 +00:00
"MediaWiki\\Extension\\AbuseFilter\\Hooks\\" : "includes/Hooks/" ,
2019-12-16 16:19:48 +00:00
"MediaWiki\\Extension\\AbuseFilter\\LogFormatter\\" : "includes/LogFormatter/" ,
2020-12-03 22:22:43 +00:00
"MediaWiki\\Extension\\AbuseFilter\\Parser\\" : "includes/Parser/" ,
2020-11-19 15:32:39 +00:00
"MediaWiki\\Extension\\AbuseFilter\\Filter\\" : "includes/Filter/" ,
2020-12-03 14:11:19 +00:00
"MediaWiki\\Extension\\AbuseFilter\\Pager\\" : "includes/Pager/" ,
2020-11-29 10:53:29 +00:00
"MediaWiki\\Extension\\AbuseFilter\\View\\" : "includes/View/" ,
2020-10-11 21:17:41 +00:00
"MediaWiki\\Extension\\AbuseFilter\\Watcher\\" : "includes/Watcher/" ,
2020-12-18 14:05:33 +00:00
"MediaWiki\\Extension\\AbuseFilter\\Consequences\\" : "includes/Consequences/" ,
2020-11-26 15:23:22 +00:00
"MediaWiki\\Extension\\AbuseFilter\\ChangeTags\\" : "includes/ChangeTags/"
2020-01-11 17:05:30 +00:00
} ,
2016-05-15 11:12:40 +00:00
"AutoloadClasses" : {
2018-03-30 00:50:44 +00:00
"AbuseFilter" : "includes/AbuseFilter.php" ,
"AbuseFilterHooks" : "includes/AbuseFilterHooks.php" ,
2016-12-17 17:52:36 +00:00
"AbuseFilterPreAuthenticationProvider" : "includes/AbuseFilterPreAuthenticationProvider.php" ,
2019-02-08 17:45:25 +00:00
"AbuseFilterSpecialPage" : "includes/special/AbuseFilterSpecialPage.php" ,
2017-08-07 23:11:38 +00:00
"SpecialAbuseLog" : "includes/special/SpecialAbuseLog.php" ,
"SpecialAbuseFilter" : "includes/special/SpecialAbuseFilter.php" ,
2017-12-16 00:26:25 +00:00
"AbuseFilterChangesList" : "includes/AbuseFilterChangesList.php" ,
"TableDiffFormatterFullContext" : "includes/TableDiffFormatterFullContext.php" ,
2016-12-19 01:13:06 +00:00
"AbuseFilterVariableHolder" : "includes/AbuseFilterVariableHolder.php" ,
2020-12-02 22:47:40 +00:00
"MediaWiki\\Extension\\AbuseFilter\\GlobalNameUtils" : "includes/GlobalNameUtils.php" ,
2020-09-20 11:30:59 +00:00
"MediaWiki\\Extension\\AbuseFilter\\FilterLookup" : "includes/FilterLookup.php" ,
2020-01-15 16:08:53 +00:00
"MediaWiki\\Extension\\AbuseFilter\\KeywordsManager" : "includes/KeywordsManager.php" ,
2020-09-18 14:49:13 +00:00
"MediaWiki\\Extension\\AbuseFilter\\AbuseFilterPermissionManager" : "includes/AbuseFilterPermissionManager.php" ,
2020-11-10 12:58:11 +00:00
"MediaWiki\\Extension\\AbuseFilter\\EchoNotifier" : "includes/EchoNotifier.php" ,
"MediaWiki\\Extension\\AbuseFilter\\ThrottleFilterPresentationModel" : "includes/ThrottleFilterPresentationModel.php" ,
2020-01-15 16:08:53 +00:00
"MediaWiki\\Extension\\AbuseFilter\\AbuseFilterServices" : "includes/AbuseFilterServices.php" ,
2020-09-20 22:31:41 +00:00
"MediaWiki\\Extension\\AbuseFilter\\FilterProfiler" : "includes/FilterProfiler.php" ,
2020-10-21 14:18:08 +00:00
"MediaWiki\\Extension\\AbuseFilter\\BlockAutopromoteStore" : "includes/BlockAutopromoteStore.php" ,
2020-10-25 15:30:43 +00:00
"MediaWiki\\Extension\\AbuseFilter\\FilterUser" : "includes/FilterUser.php" ,
2020-10-16 22:29:41 +00:00
"MediaWiki\\Extension\\AbuseFilter\\CentralDBManager" : "includes/CentralDBManager.php" ,
"MediaWiki\\Extension\\AbuseFilter\\CentralDBNotAvailableException" : "includes/CentralDBNotAvailableException.php" ,
2020-10-10 17:20:21 +00:00
"MediaWiki\\Extension\\AbuseFilter\\FilterValidator" : "includes/FilterValidator.php" ,
2020-11-07 11:40:26 +00:00
"MediaWiki\\Extension\\AbuseFilter\\FilterCompare" : "includes/FilterCompare.php" ,
2020-10-15 22:00:32 +00:00
"MediaWiki\\Extension\\AbuseFilter\\FilterImporter" : "includes/FilterImporter.php" ,
2020-11-24 12:16:41 +00:00
"MediaWiki\\Extension\\AbuseFilter\\EditBoxBuilder" : "includes/EditBoxBuilder.php" ,
"MediaWiki\\Extension\\AbuseFilter\\EditBoxBuilderFactory" : "includes/EditBoxBuilderFactory.php" ,
2020-10-15 22:00:32 +00:00
"MediaWiki\\Extension\\AbuseFilter\\InvalidImportDataException" : "includes/InvalidImportDataException.php" ,
2020-09-19 22:16:35 +00:00
"MediaWiki\\Extension\\AbuseFilter\\FilterStore" : "includes/FilterStore.php" ,
2020-09-29 14:52:05 +00:00
"MediaWiki\\Extension\\AbuseFilter\\VariablesBlobStore" : "includes/VariablesBlobStore.php" ,
2020-10-24 11:58:46 +00:00
"MediaWiki\\Extension\\AbuseFilter\\AbuseLogger" : "includes/AbuseLogger.php" ,
"MediaWiki\\Extension\\AbuseFilter\\AbuseLoggerFactory" : "includes/AbuseLoggerFactory.php" ,
2020-11-27 14:49:41 +00:00
"MediaWiki\\Extension\\AbuseFilter\\FilterRunner" : "includes/FilterRunner.php" ,
"MediaWiki\\Extension\\AbuseFilter\\FilterRunnerFactory" : "includes/FilterRunnerFactory.php" ,
2016-12-17 17:52:36 +00:00
"AFComputedVariable" : "includes/AFComputedVariable.php" ,
2018-08-25 12:44:01 +00:00
"NormalizeThrottleParameters" : "maintenance/normalizeThrottleParameters.php" ,
2019-01-06 13:52:06 +00:00
"FixOldLogEntries" : "maintenance/fixOldLogEntries.php" ,
2018-09-11 16:57:49 +00:00
"UpdateVarDumps" : "maintenance/updateVarDumps.php" ,
"MigrateAflFilter" : "maintenance/migrateAflFilter.php"
2016-05-15 11:12:40 +00:00
} ,
2019-12-10 19:40:18 +00:00
"TestAutoloadClasses" : {
"AbuseFilterConsequencesTest" : "tests/phpunit/AbuseFilterConsequencesTest.php" ,
2020-09-16 09:15:38 +00:00
"AbuseFilterParserTestCase" : "tests/phpunit/unit/AbuseFilterParserTestCase.php" ,
"AbuseFilterUploadTestTrait" : "tests/phpunit/AbuseFilterUploadTestTrait.php" ,
2020-09-20 11:30:59 +00:00
"AbuseFilterCreateAccountTestTrait" : "tests/phpunit/AbuseFilterCreateAccountTestTrait.php" ,
"AbuseFilterRowsAndFiltersTestTrait" : "tests/phpunit/AbuseFilterRowsAndFiltersTestTrait.php"
2019-12-10 19:40:18 +00:00
} ,
2016-05-15 11:12:40 +00:00
"ResourceModules" : {
"ext.abuseFilter" : {
"styles" : "ext.abuseFilter.css"
} ,
"ext.abuseFilter.edit" : {
"scripts" : "ext.abuseFilter.edit.js" ,
"messages" : [
"abusefilter-edit-syntaxok" ,
"abusefilter-edit-syntaxerr" ,
"abusefilter-http-error" ,
2018-09-09 10:14:31 +00:00
"abusefilter-edit-throttle-placeholder" ,
"abusefilter-edit-tag-placeholder" ,
2018-12-04 12:06:46 +00:00
"abusefilter-edit-warn-leave" ,
2016-05-15 11:12:40 +00:00
"unknown-error"
] ,
"dependencies" : [
"mediawiki.util" ,
"mediawiki.api" ,
2018-12-04 12:06:46 +00:00
"mediawiki.confirmCloseWindow" ,
2016-05-15 11:12:40 +00:00
"jquery.textSelection" ,
2018-03-23 09:13:41 +00:00
"jquery.spinner" ,
"oojs-ui-core" ,
"oojs-ui-widgets"
2016-05-15 11:12:40 +00:00
]
} ,
"ext.abuseFilter.tools" : {
"scripts" : "ext.abuseFilter.tools.js" ,
"messages" : [
"abusefilter-reautoconfirm-notallowed" ,
"abusefilter-reautoconfirm-none" ,
"abusefilter-reautoconfirm-done" ,
"abusefilter-http-error" ,
2018-03-26 18:41:20 +00:00
"abusefilter-tools-syntax-error" ,
2016-05-15 11:12:40 +00:00
"unknown-error"
] ,
"dependencies" : [
"mediawiki.api" ,
2020-03-27 16:21:46 +00:00
"user.options" ,
2016-05-15 11:12:40 +00:00
"jquery.spinner"
]
} ,
"ext.abuseFilter.examine" : {
"scripts" : "ext.abuseFilter.examine.js" ,
"messages" : [
"abusefilter-examine-match" ,
"abusefilter-examine-nomatch" ,
"abusefilter-examine-syntaxerror" ,
"abusefilter-examine-notfound" ,
2018-05-04 19:56:45 +00:00
"abusefilter-mustviewprivateoredit" ,
2016-05-15 11:12:40 +00:00
"abusefilter-http-error" ,
"unknown-error"
] ,
"dependencies" : [
"jquery.spinner" ,
"mediawiki.api"
]
2018-03-30 06:55:03 +00:00
} ,
"ext.abuseFilter.ace" : {
"scripts" : "mode-abusefilter.js" ,
"dependencies" : "ext.codeEditor.ace"
2018-11-29 18:17:12 +00:00
} ,
"ext.abuseFilter.visualEditor" : {
2019-01-15 00:05:20 +00:00
"scripts" : "ve-abusefilter/ve.init.mw.AbuseFilterSaveErrorHandler.js" ,
"targets" : [ "desktop" , "mobile" ]
2018-11-29 18:17:12 +00:00
}
} ,
"attributes" : {
"VisualEditor" : {
"PluginModules" : [
"ext.abuseFilter.visualEditor"
]
2016-05-15 11:12:40 +00:00
}
} ,
"ResourceFileModulePaths" : {
"localBasePath" : "modules" ,
"remoteExtPath" : "AbuseFilter/modules"
} ,
2016-06-03 18:01:56 +00:00
"callback" : "AbuseFilterHooks::onRegistration" ,
2020-10-04 11:29:06 +00:00
"HookHandlers" : {
"ToolLinks" : {
"class" : "MediaWiki\\Extension\\AbuseFilter\\Hooks\\Handlers\\ToolLinksHandler" ,
"services" : [ "AbuseFilterPermissionManager" ]
2020-10-14 14:32:55 +00:00
} ,
2020-12-15 16:29:02 +00:00
"AutoPromoteGroups" : {
"class" : "MediaWiki\\Extension\\AbuseFilter\\Hooks\\Handlers\\AutoPromoteGroupsHandler" ,
"factory" : "MediaWiki\\Extension\\AbuseFilter\\Hooks\\Handlers\\AutoPromoteGroupsHandler::factory" ,
"services" : [ "AbuseFilterConsequencesRegistry" , "AbuseFilterBlockAutopromoteStore" ]
} ,
2020-10-14 14:32:55 +00:00
"ChangeTags" : {
"class" : "MediaWiki\\Extension\\AbuseFilter\\Hooks\\Handlers\\ChangeTagsHandler" ,
"services" : [ "AbuseFilterChangeTagsManager" ]
2020-10-08 17:38:52 +00:00
} ,
"Tests" : {
"class" : "MediaWiki\\Extension\\AbuseFilter\\Hooks\\Handlers\\TestsHandler"
} ,
"SchemaChanges" : {
"class" : "MediaWiki\\Extension\\AbuseFilter\\Hooks\\Handlers\\SchemaChangesHandler"
2020-10-04 11:29:06 +00:00
}
} ,
2016-05-15 11:12:40 +00:00
"Hooks" : {
"EditFilterMergedContent" : "AbuseFilterHooks::onEditFilterMergedContent" ,
2020-12-15 16:29:02 +00:00
"GetAutoPromoteGroups" : "AutoPromoteGroups" ,
2018-11-09 15:05:11 +00:00
"TitleMove" : "AbuseFilterHooks::onTitleMove" ,
2016-05-15 11:12:40 +00:00
"ArticleDelete" : "AbuseFilterHooks::onArticleDelete" ,
"RecentChange_save" : "AbuseFilterHooks::onRecentChangeSave" ,
2020-10-14 14:32:55 +00:00
"ListDefinedTags" : "ChangeTags" ,
"ChangeTagsListActive" : "ChangeTags" ,
2020-10-08 17:38:52 +00:00
"LoadExtensionSchemaUpdates" : "SchemaChanges" ,
2020-10-04 11:29:06 +00:00
"ContributionsToolLinks" : "ToolLinks" ,
"HistoryPageToolLinks" : "ToolLinks" ,
"UndeletePageToolLinks" : "ToolLinks" ,
2016-06-17 15:23:42 +00:00
"UploadVerifyUpload" : "AbuseFilterHooks::onUploadVerifyUpload" ,
2016-08-03 14:30:18 +00:00
"UploadStashFile" : "AbuseFilterHooks::onUploadStashFile" ,
2020-06-16 04:12:38 +00:00
"PageSaveComplete" : "AbuseFilterHooks::onPageSaveComplete" ,
2020-09-30 13:15:27 +00:00
"RenameUserSQL" : "AbuseFilterHooks::onRenameUserSQL" ,
2016-05-15 11:12:40 +00:00
"UserMergeAccountFields" : "AbuseFilterHooks::onUserMergeAccountFields" ,
2020-11-10 12:58:11 +00:00
"BeforeCreateEchoEvent" : "AbuseFilterHooks::onBeforeCreateEchoEvent" ,
2018-08-25 12:44:01 +00:00
"ParserOutputStashForEdit" : "AbuseFilterHooks::onParserOutputStashForEdit" ,
2020-10-08 17:38:52 +00:00
"UnitTestsAfterDatabaseSetup" : "Tests" ,
"UnitTestsBeforeDatabaseTeardown" : "Tests"
2016-05-15 11:12:40 +00:00
} ,
2020-01-15 16:08:53 +00:00
"ServiceWiringFiles" : [
"includes/ServiceWiring.php"
] ,
2016-05-15 11:12:40 +00:00
"config" : {
2016-06-03 18:01:56 +00:00
"AbuseFilterActions" : {
2018-04-02 15:47:04 +00:00
"value" : {
"throttle" : true ,
"warn" : true ,
"disallow" : true ,
"blockautopromote" : true ,
"block" : true ,
"rangeblock" : false ,
2018-10-20 10:24:53 +00:00
"degroup" : false ,
2018-04-02 15:47:04 +00:00
"tag" : true
} ,
"description" : "Array of enabled actions in the form [action name => is enabled?]. At the end of setup, false values will be filtered out"
} ,
"AbuseFilterConditionLimit" : {
"value" : 1000 ,
"description" : "The maximum number of 'conditions' that can be used each time the filters are run against a change. (More complex filters require more 'conditions')."
} ,
"AbuseFilterParserClass" : {
"value" : "AbuseFilterParser" ,
2019-12-16 16:19:48 +00:00
"description" : "Class of the parser to use. The only possible values are 'AbuseFilterParser' and 'AbuseFilterCachingParser' (experimental). The code should only use the ParserFactory service."
2016-06-03 18:01:56 +00:00
} ,
2016-05-15 11:12:40 +00:00
"AbuseFilterEmergencyDisableThreshold" : {
2018-04-02 15:47:04 +00:00
"value" : {
"default" : 0.05
} ,
2019-02-16 13:43:29 +00:00
"description" : "Disable potentially dangerous actions (AbuseFilterRestrictions) of a filter if it matches more than X actions, constituting more than Y% (e.g. 0.05 = 5%) of the last Z actions, and the filter has been modified in the last S seconds. X is AbuseFilterEmergencyDisableCount, Y is AbuseFilterEmergencyDisableThreshold, S is AbuseFilterEmergencyDisableAge and Z is a number between 1 and AbuseFilterProfileActionsCap."
2016-05-15 11:12:40 +00:00
} ,
"AbuseFilterEmergencyDisableCount" : {
2018-04-02 15:47:04 +00:00
"value" : {
"default" : 2
} ,
"description" : "See description for AbuseFilterEmergencyDisableThreshold"
2016-05-15 11:12:40 +00:00
} ,
"AbuseFilterEmergencyDisableAge" : {
2018-04-02 15:47:04 +00:00
"value" : {
"default" : 86400
} ,
"description" : "See description for AbuseFilterEmergencyDisableThreshold"
2016-05-15 11:12:40 +00:00
} ,
2018-09-22 10:18:50 +00:00
"AbuseFilterActionRestrictions" : {
2018-04-02 15:47:04 +00:00
"value" : {
"throttle" : false ,
"warn" : false ,
"disallow" : false ,
"blockautopromote" : true ,
"block" : true ,
"rangeblock" : true ,
"degroup" : true ,
"tag" : false
} ,
"description" : "Do users need 'abusefilter-modify-restricted' user right as well as 'abusefilter-modify' in order to create or modify filters which carry out this action? Array like [action name => is restricted?]"
} ,
"AbuseFilterNotifications" : {
"value" : false ,
"description" : "Allows to configure the extension to send hit notifications to Special:RecentChanges or UDP. Available options: rc, udp, rcandudp"
} ,
"AbuseFilterNotificationsPrivate" : {
"value" : false ,
"description" : "Enable notifications for private filters"
} ,
"AbuseFilterCentralDB" : {
"value" : null ,
2018-08-25 12:44:01 +00:00
"description" : "Name of a database where global abuse filters will be stored in. To use a DB with prefixed tables, set this to \"{$databaseName}-{$prefix}\"."
2018-04-02 15:47:04 +00:00
} ,
"AbuseFilterIsCentral" : {
"value" : false ,
"description" : "Set this variable to true for the wiki where global AbuseFilters are stored in"
} ,
2018-09-22 10:18:50 +00:00
"AbuseFilterLocallyDisabledGlobalActions" : {
"value" : {
"throttle" : false ,
"warn" : false ,
"disallow" : false ,
"blockautopromote" : false ,
"block" : false ,
"rangeblock" : false ,
"degroup" : false ,
"tag" : false
} ,
2020-10-17 14:37:49 +00:00
"description" : "An array of actions which, if set on a global filter, will not be used for local hits of such filter (not in the central wiki). The array is [ action => will be disabled? ]. NOTE: Locally disabling throttle or warn will *not* disable the remaining actions."
2018-04-02 15:47:04 +00:00
} ,
"AbuseFilterBlockDuration" : {
"value" : "indefinite" ,
"description" : "Old standard block duration for logged in users. Kept for backward compatibility after T32024."
} ,
"AbuseFilterAnonBlockDuration" : {
"value" : null ,
"description" : "Old standard block duration for anonymous users, $wgAbuseFilterBlockDuration will be used if null. Kept for backward compatibility after T32024."
} ,
2019-09-15 04:09:02 +00:00
"AbuseFilterBlockAutopromoteDuration" : {
"value" : 5 ,
"description" : "Duration, in days, for which users' autopromotion is blocked by filters."
} ,
2018-04-02 15:47:04 +00:00
"AbuseFilterCustomActionsHandlers" : {
"value" : [ ] ,
2020-11-29 22:20:32 +00:00
"description" : "Callback functions for custom actions. DEPRECATED since 1.36! Use the AbuseFilterCustomActions hook instead."
2018-04-02 15:47:04 +00:00
} ,
"AbuseFilterValidGroups" : {
"value" : [ "default" ] ,
"description" : "The list of 'groups' filters can be divided into – used for applying edit filters to certain types of actions. By default there is only one group."
2016-06-03 18:01:56 +00:00
} ,
2016-05-15 11:12:40 +00:00
"AbuseFilterDefaultWarningMessage" : {
2018-04-02 15:47:04 +00:00
"value" : {
"default" : "abusefilter-warning"
} ,
"description" : "Default warning messages, per filter group"
} ,
2014-10-04 14:42:46 +00:00
"AbuseFilterDefaultDisallowMessage" : {
"value" : {
"default" : "abusefilter-disallowed"
} ,
2020-05-12 19:48:36 +00:00
"description" : "Default disallow messages, per filter group"
2014-10-04 14:42:46 +00:00
} ,
2018-04-02 15:47:04 +00:00
"AbuseFilterLogIPMaxAge" : {
"value" : 7776000 ,
"description" : "Age used as cutoff when purging old IP log data, defaults to 3 months. Used by maintenance script purgeOldLogIPData.php"
} ,
"AbuseFilterSlowFilterRuntimeLimit" : {
"value" : 500 ,
"description" : "Runtime in milliseconds before a filter is considered slow."
2016-05-15 11:12:40 +00:00
} ,
2018-04-04 18:29:50 +00:00
"AbuseFilterProfileActionsCap" : {
"value" : 10000 ,
"description" : "Number of action that determines when to reset profiling stats."
} ,
2018-07-16 12:10:36 +00:00
"AbuseFilterRangeBlockSize" : {
2018-04-02 15:47:04 +00:00
"value" : {
"IPv4" : 16 ,
"IPv6" : 19
} ,
"description" : "Size of the range blocked by 'rangeblock' action."
} ,
2019-01-07 15:23:21 +00:00
"AbuseFilterLogPrivateDetailsAccess" : {
2018-04-02 15:47:04 +00:00
"value" : false ,
2018-07-16 13:32:38 +00:00
"description" : "Whether accessing private information from a filter log entry is logged."
2016-12-12 16:30:06 +00:00
} ,
2019-01-07 15:23:21 +00:00
"AbuseFilterPrivateDetailsForceReason" : {
2018-04-02 15:47:04 +00:00
"value" : false ,
"description" : "Whether users are forced to provide a reason for accessing private information from a filter log entry."
} ,
"AbuseFilterLogIP" : {
"value" : true ,
"description" : "Whether to include IP in the abuse_filter_log"
2018-09-11 16:57:49 +00:00
} ,
"AbuseFilterAflFilterMigrationStage" : {
"value" : "Bogus value - set in AbuseFilterHooks::onRegistration" ,
"description" : "Stage of the migration of afl_filter to afl_filter_id and afl_global. Should be one of the following (combinations of) constants: SCHEMA_COMPAT_OLD, SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD, SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW, SCHEMA_COMPAT_NEW. For a detailed migration guide, see https://phabricator.wikimedia.org/T220791#5496752 § Method 1."
2018-04-02 15:47:04 +00:00
}
2016-05-15 11:12:40 +00:00
} ,
"load_composer_autoloader" : true ,
2018-04-02 15:47:04 +00:00
"manifest_version" : 2
2016-05-15 11:12:40 +00:00
}