From: Umherirrender Date: Sun, 29 Jan 2017 13:05:17 +0000 (+0100) Subject: registration: Don't allow extra properties in "requires" X-Git-Tag: 1.31.0-rc.0~4200^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=ff9d0dea456b7db2c3aaa64a5bf0e3a5875762e7;ds=sidebyside 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 --- 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",