X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fextension.schema.json;h=c01001421d3b1b55b334da82fd46e6a09e13db1a;hb=37ba191a94d76575da1e22c55113ffab851bd935;hp=14a97311983ff23394c587b99c5c64ca3e05ab1e;hpb=f59fddc35c82763d66b61bf004b5c45032a4b8d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 14a9731198..c01001421d 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -417,6 +417,10 @@ "type": "string", "description": "Group with which this module should be loaded" }, + "deprecated": { + "type": ["object", "boolean"], + "description": "Whether the module is deprecated and usage is discouraged. Either a boolean or an object with key message can be used to customise deprecation message." + }, "position": { "type": "string", "description": "Position on the page to load this module at", @@ -625,6 +629,11 @@ "capitallinkoverride": { "type": "boolean", "description": "Set $wgCapitalLinks on a per-namespace basis" + }, + "conditional": { + "type": "boolean", + "description": "Whether the namespace is conditional upon configuration and should not be registered (requires separate registration via a hook)", + "default": false } }, "required": ["id", "constant", "name"] @@ -867,6 +876,7 @@ "description": "Configuration options for this extension", "patternProperties": { "^[a-zA-Z_\u007f-\u00ff][a-zA-Z0-9_\u007f-\u00ff]*$": { + "type": "object", "properties": { "value": { "required": true @@ -881,6 +891,11 @@ ], "default": "array_merge" }, + "path": { + "description": "Whether this should be interpreted as a filesystem path, relative to extension directory root", + "type": "boolean", + "default": false + }, "description": { "type": ["string", "array"], "description": "A description of the config setting, mostly for documentation/developers"