"description": "Version constraint string against PHP."
}
},
- "patternProprties": {
+ "patternProperties": {
"^ext-": {
"type": "string",
"description": "Required PHP extension.",
"type": "object",
"description": "ResourceLoader sources to register"
},
+ "QUnitTestModule": {
+ "type": "object",
+ "description": "A ResourceLoaderFileModule definition registered only when wgEnableJavaScriptTest is true.",
+ "additionalProperties": false,
+ "properties": {
+ "localBasePath": {
+ "type": "string",
+ "description": "Prefix for local paths to files in $options, relative to extenion directory"
+ },
+ "remoteExtPath": {
+ "type": "string",
+ "description": "Prefix for URLs to files in $options, relative to $wgExtensionAssetsPath"
+ },
+ "remoteSkinPath": {
+ "type": "string",
+ "description": "Prefix for URLs to files in $options, relative to $wgStylePath"
+ },
+ "scripts": {
+ "type": ["string", "array"],
+ "description": "Scripts to include (array of file paths)",
+ "items": {
+ "type": "string"
+ }
+ },
+ "dependencies": {
+ "type": ["string", "array"],
+ "description": "Modules which must be loaded before this module",
+ "items": {
+ "type": "string"
+ }
+ },
+ "styles": {
+ "type": ["string", "array", "object"],
+ "description": "Styles to load",
+ "items": {
+ "type": "string"
+ }
+ },
+ "messages": {
+ "type": ["string", "array"],
+ "description": "Messages to load",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
"ConfigRegistry": {
"type": "object",
"description": "Registry of factory functions to create Config objects"