From e1425750faa845bee12569d768a1aefc6c40c08f Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 10 Jan 2015 20:12:01 -0800 Subject: [PATCH] registration: Add ConfigRegistry to the extension.json schema Change-Id: I6918215e3b5b2dd4c993d8a8767dc3ce998bd5ed --- docs/extension.schema.json | 4 ++++ includes/registration/ExtensionProcessor.php | 1 + 2 files changed, 5 insertions(+) diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 4b29872eef..46f86237d3 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -420,6 +420,10 @@ "type": "object", "description": "ResourceLoader import paths" }, + "ConfigRegistry": { + "type": "object", + "description": "Registry of factory functions to create Config objects" + }, "namespaces": { "type": "object", "description": "Method to add extra namespaces", diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 459d95b17b..45bea64b50 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -23,6 +23,7 @@ class ExtensionProcessor implements Processor { 'RemoveGroups', 'AvailableRights', 'ContentHandlers', + 'ConfigRegistry', 'RateLimits', 'ParserTestFiles', 'RecentChangesFlags', -- 2.20.1