X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fextension.schema.v2.json;h=f29f8501b0215104dea93a640738eb1a3cac0439;hp=d634f703a0769b3c0df3013da2d869787f38af2a;hb=d029197c7c5b083edef20fa79cc3e6d58e161f72;hpb=291fcff08e1b773f530e4df40bc6a9f40f35aa47 diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index d634f703a0..f29f8501b0 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -77,13 +77,60 @@ "php": { "type": "string", "description": "Version constraint string against PHP." + }, + "ability-shell": { + "type": "boolean", + "default": false, + "description": "Whether this extension requires shell access." + } + }, + "patternProperties": { + "^ext-": { + "type": "string", + "description": "Required PHP extension.", + "enum": ["*"] + } + } + }, + "extensions": { + "type": "object", + "description": "Set of version constraint strings against specific extensions." + }, + "skins": { + "type": "object", + "description": "Set of version constraint strings against specific skins." + } + } + }, + "dev-requires": { + "type": "object", + "description": "Indicates what dependencies are required for development purposes such as running tests. This syntax may be extended in the future.", + "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." + }, + "ability-shell": { + "type": "boolean", + "default": false, + "description": "Whether this extension requires shell access." } }, "patternProperties": { "^ext-": { "type": "string", "description": "Required PHP extension.", - "const": "*" + "enum": ["*"] } } }, @@ -356,7 +403,7 @@ "properties": { "class": { "type": "string", - "pattern": "^(?!ResourceLoader(File|Image)Module).*$" + "pattern": "^(?!ResourceLoader(File|Image|Wiki)Module).*$" } }, "required": ["class"]