registration: Don't hardcode list of extension types in schema
authorKunal Mehta <legoktm@gmail.com>
Fri, 29 May 2015 23:07:03 +0000 (16:07 -0700)
committerPaladox <thomasmulhall410@yahoo.com>
Sat, 30 May 2015 00:34:57 +0000 (00:34 +0000)
Extension types can be added via a hook, so don't try and validate
against a hardcoded list.

Change-Id: I0bc6fbcedc0b582b81c7037724ad01441ae415f6

docs/extension.schema.json

index c4d0513..05f0c45 100644 (file)
                "type": {
                        "type": "string",
                        "description": "The extension's type, as an index to $wgExtensionCredits.",
-                       "default": "other",
-                       "enum": [
-                               "api",
-                               "antispam",
-                               "datavalues",
-                               "media",
-                               "parserhook",
-                               "semantic",
-                               "skin",
-                               "specialpage",
-                               "variable",
-                               "other"
-                       ]
+                       "default": "other"
                },
                "author": {
                        "type": [