Add "ValidSkinNames" to extension.schema.json and ExtensionProcessor
authorKunal Mehta <legoktm@gmail.com>
Wed, 4 Mar 2015 20:34:35 +0000 (12:34 -0800)
committerKunal Mehta <legoktm@gmail.com>
Wed, 4 Mar 2015 20:34:35 +0000 (12:34 -0800)
skin.json goes through the same exact code as extension.json does, and needs
to be able to add skins.

Change-Id: Idd0acaf6735b4c308d3ab584c49da4e97448347f

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

index e7b32de..dd35d05 100644 (file)
                "APIListModules": {
                        "type": "object"
                },
+               "ValidSkinNames": {
+                       "type": "object"
+               },
                "callback": {
                        "type": [
                                "array",
index a2dcd59..f85b878 100644 (file)
@@ -44,6 +44,7 @@ class ExtensionProcessor implements Processor {
                'APIMetaModules',
                'APIPropModules',
                'APIListModules',
+               'ValidSkinNames',
        );
 
        /**