X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fextension.schema.v1.json;h=f241cf59e4ad4ec8b210fb95c69bb4527a44defc;hb=7f3d6713e7191c476adb3d3c30344a0327b853d3;hp=421ea5c732e79329f015e5bea0d0ff095b959050;hpb=c8d361a38027ef5d808225b8a83f15417248aa67;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index 421ea5c732..f241cf59e4 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." } } }, @@ -567,7 +576,7 @@ }, "JobClasses": { "type": "object", - "description": "Job types this extension implements (mapping of job type to class name)" + "description": "Job types this extension implements (mapping of job type to class name or factory function)" }, "LogTypes": { "type": "array",