From: Kunal Mehta Date: Fri, 29 May 2015 23:07:03 +0000 (-0700) Subject: registration: Don't hardcode list of extension types in schema X-Git-Tag: 1.31.0-rc.0~11254 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=0c04667cacfbc3f2839058a22f911e7a2d68fb86;p=lhc%2Fweb%2Fwiklou.git registration: Don't hardcode list of extension types in schema Extension types can be added via a hook, so don't try and validate against a hardcoded list. Change-Id: I0bc6fbcedc0b582b81c7037724ad01441ae415f6 --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index c4d0513df7..05f0c45e68 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -20,19 +20,7 @@ "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": [