"$schema": "http://json-schema.org/schema#",
"description": "MediaWiki extension.json schema",
"type": "object",
+ "additionalProperties": false,
"properties": {
"manifest_version": {
"type": "integer",
}
},
{
- "description": "An arbitrary ResourceLoaderModule definition",
+ "description": "An arbitrary ResourceLoaderModule definition by class",
"properties": {
"class": {
"type": "string",
}
},
"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"]
}
]
}
"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",
"type": "array",
"description": "List of service wiring files to be loaded by the default instance of MediaWikiServices"
},
+ "attributes": {
+ "description":"Registration information for other extensions",
+ "type": "object",
+ "patternProperties": {
+ ".*": {
+ "type": "object",
+ "patternProperties": {
+ ".*": {
+ "type": ["array", "object"]
+ }
+ }
+ }
+ }
+ },
"load_composer_autoloader": {
"type": "boolean",
"description": "Load the composer autoloader for this extension, if one is present"