From ff9d0dea456b7db2c3aaa64a5bf0e3a5875762e7 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sun, 29 Jan 2017 14:05:17 +0100 Subject: [PATCH] registration: Don't allow extra properties in "requires" 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index a5543d12a6..b7ee1a7b84 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -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", -- 2.20.1