From: Paladox Date: Mon, 28 Mar 2016 09:57:31 +0000 (+0100) Subject: Allow templates in ResourceModules to be array in extension registration X-Git-Tag: 1.31.0-rc.0~7473^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=d79dcfdea9e669619d399025c47bf468ec97624e;p=lhc%2Fweb%2Fwiklou.git Allow templates in ResourceModules to be array in extension registration Flow doesent do this for example "example.template": "example.handlebars" it does "example.handlebars" so lets make it allow arrays. Caught from https://integration.wikimedia.org/ci/job/mwext-Flow-testextension-php55/267/console Change-Id: Ie8a45a00168349a9ee303e272ba82cb2fd225744 --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 4218e8a50a..a743afa080 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -422,7 +422,7 @@ ] }, "templates": { - "type": "object", + "type": ["object", "array"], "description": "Templates to be loaded for client-side usage" }, "targets": {