X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fextension.schema.v1.json;h=3d6eda9ad926bceb32e77430849e3ba3435b7c6d;hp=4d5c44f692e644976025ff57b53452234b6bc73c;hb=49748181dd56ec97e7ba7c13e684a16abceb3cc0;hpb=f4d9004bf030bd880ae9331ab64aede2a6d94872 diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index 4d5c44f692..3d6eda9ad9 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -55,11 +55,20 @@ }, "requires": { "type": "object", - "description": "Indicates what versions of MediaWiki core are required. This syntax may be extended in the future, for example to check dependencies between other extensions.", + "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", "description": "Version constraint string against MediaWiki core." + }, + "extensions": { + "type": "object", + "description": "Set of version constraint strings against specific extensions." + }, + "skins": { + "type": "object", + "description": "Set of version constraint strings against specific skins." } } }, @@ -641,8 +650,11 @@ "description": "Password policies" }, "FileExtensions": { - "type": "object", - "description": "Preferred file extensions for uploading" + "type": "array", + "description": "Preferred file extensions for uploading", + "items": { + "type": "string" + } }, "callback": { "type": [