X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fextension.schema.v1.json;h=cf02f2be2c191b4e86d055ca1e4e97957d8044a0;hb=b992f41e2c3cb6f3094f8aeaf2e5a779dcc7b7a8;hp=f9b71fbc7724598857a3c87368ed008a1d8a0353;hpb=b39f1946c49db09e8539ff09b4c2913199e5a585;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index f9b71fbc77..cf02f2be2c 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -70,13 +70,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": ["*"] } } }, @@ -347,7 +394,7 @@ "properties": { "class": { "type": "string", - "pattern": "^((?!ResourceLoader(File|Image)Module).)*$" + "pattern": "^(?!ResourceLoader(File|Image|Wiki)Module).*$" } }, "required": ["class"]