"php": {
"type": "string",
"description": "Version constraint string against PHP."
+ },
+ "ability-shell": {
+ "type": "boolean",
+ "default": false,
+ "description": "Whether this extension requires shell access."
}
},
"patternProperties": {
"^ext-": {
"type": "string",
"description": "Required PHP extension.",
- "const": "*"
+ "enum": ["*"]
+ }
+ }
+ },
+ "extensions": {
+ "type": "object",
+ "description": "Set of version constraint strings against specific extensions."
+ },
+ "skins": {
+ "type": "object",
+ "description": "Set of version constraint strings against specific skins."
+ }
+ }
+ },
+ "dev-requires": {
+ "type": "object",
+ "description": "Indicates what dependencies are required for development purposes such as running tests. This syntax may be extended in the future.",
+ "additionalProperties": false,
+ "properties": {
+ "MediaWiki": {
+ "type": "string",
+ "description": "Version constraint string against MediaWiki core."
+ },
+ "platform": {
+ "type": "object",
+ "description": "Indicates version constraints against platform services.",
+ "additionalProperties": false,
+ "properties": {
+ "php": {
+ "type": "string",
+ "description": "Version constraint string against PHP."
+ },
+ "ability-shell": {
+ "type": "boolean",
+ "default": false,
+ "description": "Whether this extension requires shell access."
+ }
+ },
+ "patternProperties": {
+ "^ext-": {
+ "type": "string",
+ "description": "Required PHP extension.",
+ "enum": ["*"]
}
}
},
},
"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",
"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"
},
"ParserTestFiles": {
"type": "array",
- "description": "Parser test suite files to be run by parserTests.php when no specific filename is passed to it"
+ "description": "DEPRECATED: Parser test suite files to be run by parserTests.php when no specific filename is passed to it"
},
"ServiceWiringFiles": {
"type": "array",