registration: Allow ActionFilteredLogs to be modified by extensions
authorGlaisher <glaisher.wiki@gmail.com>
Tue, 19 Apr 2016 13:12:18 +0000 (18:12 +0500)
committerKunal Mehta <legoktm@member.fsf.org>
Mon, 25 Apr 2016 06:10:44 +0000 (23:10 -0700)
Needed by Ibe628d9d08352

Change-Id: I7788fedc934b7c93facead796af30c89c335a513

docs/extension.schema.json
includes/registration/ExtensionProcessor.php

index 370e18e..2f52582 100644 (file)
                "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"
                },
index 7c60aa5..f977124 100644 (file)
@@ -34,6 +34,7 @@ class ExtensionProcessor implements Processor {
                'LogTypes',
                'LogRestrictions',
                'FilterLogTypes',
+               'ActionFilteredLogs',
                'LogNames',
                'LogHeaders',
                'LogActions',