X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fextension.schema.v1.json;h=fcc41af37609e1ff390311b10433cac80780b31f;hb=d029197c7c5b083edef20fa79cc3e6d58e161f72;hp=f6f3b2188fc082ce2329140c7f551bd1cf6bf1f7;hpb=bc8571cca27dac626b4b3dc4b780567f4979ec16;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index f6f3b2188f..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." } }, - "patternProprties": { + "patternProperties": { "^ext-": { "type": "string", "description": "Required PHP extension.", - "const": "*" + "enum": ["*"] } } }, @@ -253,6 +300,10 @@ "noflip": { "type": "boolean", "description": "Whether to skip CSSJanus LTR-to-RTL flipping for this module. Recommended for styles imported from libraries that already properly handle their RTL styles. Default is false, meaning CSSJanus will be applied on RTL-mode output." + }, + "packageFiles": { + "type": ["object", "array"], + "description": "Package files that can be require()d" } } }, @@ -343,7 +394,7 @@ "properties": { "class": { "type": "string", - "pattern": "^((?!ResourceLoader(File|Image)Module).)*$" + "pattern": "^(?!ResourceLoader(File|Image|Wiki)Module).*$" } }, "required": ["class"] @@ -360,6 +411,10 @@ "type": "object", "description": "ResourceLoader sources to register" }, + "QUnitTestModule": { + "type": "object", + "description": "A ResourceLoaderFileModule definition registered only when wgEnableJavaScriptTest is true." + }, "ConfigRegistry": { "type": "object", "description": "Registry of factory functions to create Config objects" @@ -693,6 +748,14 @@ "type": "string" } }, + "ReauthenticateTime": { + "type": "object", + "patternProperties": { + ".*": { + "type": "integer" + } + } + }, "callback": { "type": [ "array",