X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=docs%2Fextension.schema.v2.json;h=ed903f889d1996552bed0a7185d271c246cbc480;hb=6fe6025ac60bbf86daa53fc86b35cb580c93238c;hp=15a159012657f4e256f26fb1818a40b70b3f3014;hpb=b39f1946c49db09e8539ff09b4c2913199e5a585;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index 15a1590126..ed903f889d 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -3,6 +3,12 @@ "description": "MediaWiki extension.json schema", "type": "object", "additionalProperties": false, + "patternProperties": { + "^@": { + "type": "string", + "description": "Arbitrary notes, ignored by the parser." + } + }, "properties": { "manifest_version": { "type": "integer", @@ -71,6 +77,11 @@ "php": { "type": "string", "description": "Version constraint string against PHP." + }, + "ability-shell": { + "type": "boolean", + "default": false, + "description": "Whether this extension requires shell access." } }, "patternProperties": { @@ -350,7 +361,7 @@ "properties": { "class": { "type": "string", - "pattern": "^((?!ResourceLoader(File|Image)Module).)*$" + "pattern": "^(?!ResourceLoader(File|Image|Wiki)Module).*$" } }, "required": ["class"]