From: Kunal Mehta Date: Sun, 11 Jan 2015 04:12:01 +0000 (-0800) Subject: registration: Add ConfigRegistry to the extension.json schema X-Git-Tag: 1.31.0-rc.0~12704 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=e1425750faa845bee12569d768a1aefc6c40c08f;p=lhc%2Fweb%2Fwiklou.git registration: Add ConfigRegistry to the extension.json schema Change-Id: I6918215e3b5b2dd4c993d8a8767dc3ce998bd5ed --- 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',