X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fextension.schema.v2.json;h=56d274bbc4681192df876dc538bdc8071e987407;hp=c1db2b6e4a761fda987552ea6fbc669d75fd81ec;hb=e65f8ac5110804067366f9f239c13f4f29b66c3d;hpb=61544d6eb235342d004a2fefc159167f28c69099 diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index c1db2b6e4a..56d274bbc4 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -710,7 +710,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", @@ -801,6 +801,30 @@ "type": "object", "description": "Map of skin names to OOUI themes to use. Same format as ResourceLoaderOOUIModule::$builtinSkinThemeMap." }, + "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"