X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fextension.schema.v2.json;h=518a65c7a8674a2e6fab508157de8d9f2818835b;hb=33eabfd8d6a738ae3ed13e3f52c0bbd7664e581a;hp=d5a9b652157ca68add67a7ef9710988edc5da19a;hpb=77e2873f2eef2c3a1a5f879e812ecc8c4ec7ea42;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index d5a9b65215..518a65c7a8 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -318,7 +318,7 @@ } }, { - "description": "An arbitrary ResourceLoaderModule definition", + "description": "An arbitrary ResourceLoaderModule definition by class", "properties": { "class": { "type": "string", @@ -326,6 +326,16 @@ } }, "required": ["class"] + }, + { + "description": "An arbitrary ResourceLoaderModule definition with instantiator", + "properties": { + "factory": { + "type": "string", + "description": "A static instantiator function for creating the ResourceLoaderModule object." + } + }, + "required": ["factory"] } ] } @@ -654,7 +664,8 @@ "description": "Available feeds objects" }, "SkinOOUIThemes": { - "type": "object" + "type": "object", + "description": "Map of skin names to OOjs UI themes to use. Same format as ResourceLoaderOOUIModule::$builtinSkinThemeMap." }, "PasswordPolicy": { "type": "object",