{"master":{"name":"ReportIncident","author":["[https:\/\/www.mediawiki.org\/wiki\/Trust_and_Safety_Tools Wikimedia Trust and Safety Tools team]","Ellen Rayfield","Essex Igyan","Julia Kieserman"],"url":"https:\/\/www.mediawiki.org\/wiki\/Extension:ReportIncident","descriptionmsg":"reportincident-desc","license-name":"GPL-2.0-or-later","type":"other","requires":{"MediaWiki":">= 1.47.0","extensions":{"EventLogging":"*"}},"attributes":{"CommunityConfiguration":{"Validators":{"reportincident":{"class":"MediaWiki\\Extension\\ReportIncident\\Config\\ReportIncidentConfigValidator","factory":"MediaWiki\\Extension\\ReportIncident\\Config\\ReportIncidentConfigValidator::factory","services":["TitleParser","PageStore","ArchivedRevisionLookup","UserFactory","CommunityConfiguration.ValidatorFactory"],"args":["MediaWiki\\Extension\\ReportIncident\\Config\\ReportIncidentSchema"]}},"Providers":{"ReportIncident":{"store":{"type":"wikipage","args":["MediaWiki:IncidentReportingConfig.json"]},"validator":{"type":"reportincident"},"type":"mw-config"}}}},"config":{"ReportIncidentReportButtonEnabled":{"value":true,"description":"Whether to display the report button on configured namespaces."},"ReportIncidentApiEnabled":{"value":true,"description":"When set to true, the REST API endpoint for ingesting reports is available."},"ReportIncidentDeveloperMode":{"value":true,"description":"When set to true, some developer-friendly features are enabled to facilitate testing and QA."},"ReportIncidentEnabledNamespaces":{"value":[1,3,5,7,9,11,13,15],"description":"Determines what namespaces the Incident Reporting tool will render within.","merge_strategy":"provide_default"},"ReportIncidentMinimumAccountAgeInSeconds":{"value":10800,"description":"User accounts must be older than this value in order to submit a report. The default is 3 hours."},"ReportIncidentEnableInstrumentation":{"value":false,"description":"Controls whether instrumentation via EventLogging is enabled."},"ReportIncidentZendeskUrl":{"value":"","description":"Full URL (without a trailing slash) of the Zendesk instance to send emergency reports to."},"ReportIncidentZendeskHTTPProxy":{"value":"","description":"The HTTP proxy to use for connecting to the Zendesk instance defined in ReportIncidentZendeskUrl"},"ReportIncidentZendeskSubjectLine":{"value":"Incident Reporting System emergency report","description":"Custom subject line to use in Zendesk requests created for emergency reports."},"ReportIncidentEnabledNonEmergencyCategories":{"value":["INTIMIDATION","SEXUAL_HARASSMENT","DOXING","TROLLING","HATE_SPEECH","SPAM","SOMETHING_ELSE"],"description":"Defines what non-emergency categories are seen and in what order. See Constants.harassmentTypes for a list of available categories.","merge_strategy":"provide_default"},"ReportIncidentIsStaggeredRollout":{"value":false,"description":"Whether or not IRS is being deployed as a staggered rollout via the Test Kitchen experimentation platform"},"ReportIncidentEnableDirectReporting":{"value":false,"description":"Whether or not to enable direct emails of reports to community-configured email-based help methods. Direct reporting overrides any other configured methods for a category."}},"AvailableRights":["reportincident"],"GroupPermissions":{"user":{"reportincident":true}},"HookHandlers":{"ReportIncidentHooks":{"class":"MediaWiki\\Extension\\ReportIncident\\Hooks\\Handlers\\MainHooksHandler","services":["ReportIncidentController"]},"DiscussionToolsHooks":{"class":"MediaWiki\\Extension\\ReportIncident\\Hooks\\Handlers\\DiscussionToolsHandler","services":["ReportIncidentController"]}},"Hooks":{"BeforePageDisplay":"ReportIncidentHooks","SidebarBeforeOutput":"ReportIncidentHooks","SkinTemplateNavigation::Universal":"ReportIncidentHooks","DiscussionToolsAddOverflowMenuItems":"DiscussionToolsHooks"},"RateLimits":{"reportincident":{"&can-bypass":false,"user":[50,86400],"newbie":[1,86400]}},"RestRoutes":[{"path":"\/reportincident\/v0\/report","method":"POST","class":"MediaWiki\\Extension\\ReportIncident\\Api\\Rest\\Handler\\ReportHandler","services":["MainConfig","RevisionStore","UserNameUtils","UserIdentityLookup","ReportIncidentManager","UserFactory","TitleParser"]}],"ServiceWiringFiles":["src\/ServiceWiring.php"],"repository":"https:\/\/gerrit.wikimedia.org\/r\/mediawiki\/extensions\/ReportIncident"}}