From d79dcfdea9e669619d399025c47bf468ec97624e Mon Sep 17 00:00:00 2001 From: Paladox Date: Mon, 28 Mar 2016 10:57:31 +0100 Subject: [PATCH] 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 --- docs/extension.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { -- 2.20.1