registration: Add ConfigRegistry to the extension.json schema
authorKunal Mehta <legoktm@gmail.com>
Sun, 11 Jan 2015 04:12:01 +0000 (20:12 -0800)
committerJforrester <jforrester@wikimedia.org>
Tue, 13 Jan 2015 01:25:09 +0000 (01:25 +0000)
Change-Id: I6918215e3b5b2dd4c993d8a8767dc3ce998bd5ed

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

index 4b29872..46f8623 100644 (file)
                        "type": "object",
                        "description": "ResourceLoader import paths"
                },
                        "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",
                "namespaces": {
                        "type": "object",
                        "description": "Method to add extra namespaces",
index 459d95b..45bea64 100644 (file)
@@ -23,6 +23,7 @@ class ExtensionProcessor implements Processor {
                'RemoveGroups',
                'AvailableRights',
                'ContentHandlers',
                'RemoveGroups',
                'AvailableRights',
                'ContentHandlers',
+               'ConfigRegistry',
                'RateLimits',
                'ParserTestFiles',
                'RecentChangesFlags',
                'RateLimits',
                'ParserTestFiles',
                'RecentChangesFlags',