X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=docs%2Fextension.schema.v2.json;h=8ade991d4d7c46d72610375ee8a9413dcab4abe5;hb=937fb7eedcca1af78785e8e156b7ff69b1447101;hp=7de5ed5f9a05b227a6531223ad1d6c4b76f54932;hpb=5081183c16f52388b8320e09e0578d450605d402;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index 7de5ed5f9a..8ade991d4d 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -56,13 +56,31 @@ }, "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.", + "description": "Indicates what versions of PHP, 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", "description": "Version constraint string against MediaWiki core." }, + "platform": { + "type": "object", + "description": "Indicates version constraints against platform services.", + "additionalProperties": false, + "properties": { + "php": { + "type": "string", + "description": "Version constraint string against PHP." + } + }, + "patternProprties": { + "^ext-": { + "type": "string", + "description": "Required PHP extension.", + "const": "*" + } + } + }, "extensions": { "type": "object", "description": "Set of version constraint strings against specific extensions."