X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fextension.schema.v1.json;h=7cfebcafa4d63e24b5a0276f3b691b736e16fc34;hb=f4dfa10458904739de5f821be77c403c43026111;hp=8659dffa384eb7506db8a4f03fae2c0f2c109201;hpb=53779578b44575ef91feb3fad488f09b52f737d7;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index 8659dffa38..7cfebcafa4 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -39,7 +39,7 @@ "url": { "type": "string", "description": "URL to the homepage for the extension.", - "format": "uri" + "format": "uri-reference" }, "description": { "type": "string", @@ -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", @@ -636,6 +645,17 @@ "SkinOOUIThemes": { "type": "object" }, + "PasswordPolicy": { + "type": "object", + "description": "Password policies" + }, + "FileExtensions": { + "type": "array", + "description": "Preferred file extensions for uploading", + "items": { + "type": "string" + } + }, "callback": { "type": [ "array",