registration: Don't allow extra properties in "requires"
authorUmherirrender <umherirrender_de.wp@web.de>
Sun, 29 Jan 2017 13:05:17 +0000 (14:05 +0100)
committerKunal Mehta <legoktm@member.fsf.org>
Mon, 30 Jan 2017 07:59:10 +0000 (23:59 -0800)
VersionChecker is using a switch with a exception in the default path,
which makes it very unhappy to see additional properties.

Change-Id: Ief84497de6b2fa2d2715fc713088bee66c21fdc0

docs/extension.schema.v2.json

index a5543d1..b7ee1a7 100644 (file)
@@ -56,6 +56,7 @@
                "requires": {
                        "type": "object",
                        "description": "Indicates what versions of MediaWiki core or extensions are required. This syntax may be extended in the future, for example to check dependencies between other services.",
+                       "additionalProperties": false,
                        "properties": {
                                "MediaWiki": {
                                        "type": "string",