X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fextension.schema.json;h=218a19c3b9ad3902ba02de624c784af3f4570f65;hb=0cc4071e1bfd9edb6abe3fcbc88ff76c454a199a;hp=1d78eccfc907ad4e6e1f7becc82d3070fc5e1a93;hpb=9331443546fa61cd56b0c95817d5bddda6bf6b24;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 1d78eccfc9..218a19c3b9 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -270,6 +270,16 @@ "Unlicense" ] }, + "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.", + "properties": { + "MediaWiki": { + "type": "string", + "description": "Version constraint string against MediaWiki core." + } + } + }, "ResourceFileModulePaths": { "type": "object", "description": "Default paths to use for all ResourceLoader file modules", @@ -429,10 +439,6 @@ "type": "object", "description": "ResourceLoader LESS variables" }, - "ResourceLoaderLESSFunctions": { - "type": "object", - "description": "ResourceLoader LESS functions" - }, "ResourceLoaderLESSImportPaths": { "type": "object", "description": "ResourceLoader import paths" @@ -639,6 +645,13 @@ "config": { "type": "object", "description": "Configuration options for this extension", + "properties": { + "_prefix": { + "type": "string", + "default": "wg", + "description": "Prefix to put in front of configuration settings when exporting them to $GLOBALS" + } + }, "patternProperties": { "^[a-zA-Z_\u007f-\u00ff][a-zA-Z0-9_\u007f-\u00ff]*$": { "type": ["object", "array", "string", "integer", "null", "boolean"],