From 2093748e0757dcf9ad67e743b2df14b10354b15f Mon Sep 17 00:00:00 2001 From: Glaisher Date: Tue, 19 Apr 2016 18:12:18 +0500 Subject: [PATCH] registration: Allow ActionFilteredLogs to be modified by extensions Needed by Ibe628d9d08352 Change-Id: I7788fedc934b7c93facead796af30c89c335a513 --- docs/extension.schema.json | 17 +++++++++++++++++ includes/registration/ExtensionProcessor.php | 1 + 2 files changed, 18 insertions(+) diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 370e18e274..2f52582813 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -664,6 +664,23 @@ "FilterLogTypes": { "type": "object" }, + "ActionFilteredLogs": { + "type": "object", + "description": "List of log types which can be filtered by log actions", + "patternProperties": { + "^[a-z-]+$": { + "type": "object", + "patternProperties": { + "^[a-z-]+$": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, "LogNames": { "type": "object" }, diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 7c60aa5af8..f977124cd4 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -34,6 +34,7 @@ class ExtensionProcessor implements Processor { 'LogTypes', 'LogRestrictions', 'FilterLogTypes', + 'ActionFilteredLogs', 'LogNames', 'LogHeaders', 'LogActions', -- 2.20.1