As specified in
<https://www.mediawiki.org/wiki/Manual:Extension_registration#Retaining_documentation>.
Bug: T215650
Change-Id: I2ff523828389fbec39cdf7c55046e7da901a2ecb
"description": "MediaWiki extension.json schema",
"type": "object",
"additionalProperties": false,
+ "patternProperties": {
+ "^@": {
+ "type": "string",
+ "description": "Arbitrary notes, ignored by the parser."
+ }
+ },
"properties": {
"manifest_version": {
"type": "integer",
{
"name": "FooBar",
+ "@note": "This is a note",
+ "@duck": "Docs say any @-item is ignored",
"attributes": {
"FooBar": {
"Attr": [ "test" ]
"Attr": [ "test2" ]
}
},
+ "config": {
+ "MyConfigValue": {
+ "value": 42,
+ "description": "Very important config value",
+ "public": true
+ }
+ },
"manifest_version": 2
}