X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fextension.schema.v1.json;h=06701cdbd47e34cee6c2c4bc27df1771d2006325;hp=86fa1b3da8cd9a57f7da5f3861f70aa595b19a25;hb=60090fe207ef07aa2b90c401285eaf6179da9172;hpb=715f040a5f1e7ae7fbc9f0a4729676d4ad597570 diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index 86fa1b3da8..06701cdbd4 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -640,7 +640,7 @@ }, "SpecialPages": { "type": "object", - "description": "SpecialPages implemented in this extension (mapping of page name to class name)" + "description": "SpecialPages implemented in this extension (mapping of page name to class name or to ObjectFactory spec)" }, "AutoloadNamespaces": { "type": "object", @@ -730,6 +730,30 @@ "SkinOOUIThemes": { "type": "object" }, + "OOUIThemePaths": { + "type": "object", + "description": "Map of custom OOUI theme names to paths to load them from. Same format as ResourceLoaderOOUIModule::$builtinThemePaths.", + "patternProperties": { + "^[A-Za-z]+$": { + "type": "object", + "additionalProperties": false, + "properties": { + "scripts": { + "type": "string", + "description": "Path to script file." + }, + "styles": { + "type": "string", + "description": "Path to style files. '{module}' will be replaced with the module's name." + }, + "images": { + "type": [ "string", "null" ], + "description": "Path to images (optional). '{module}' will be replaced with the module's name." + } + } + } + } + }, "PasswordPolicy": { "type": "object", "description": "Password policies"