From 2bd6cb81d118f4f56a0fb587e638c34f3115a69c Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Fri, 13 Jan 2017 06:11:55 +0100 Subject: [PATCH] registration: Allow specifying the value of a config setting can be public This value is currently unused but will be used in later changes for allowing to view configuration options on-wiki. It will require each extension maintainer to whitelist the keys that can be published by marking them as public. Bug: T155156 Change-Id: I020c148157818ef8bfee0e79cb5a6f43181c5a8c --- docs/extension.schema.v2.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index b7ee1a7b84..d6f8c16509 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -707,6 +707,11 @@ "description": { "type": ["string", "array"], "description": "A description of the config setting, mostly for documentation/developers" + }, + "public": { + "type": "boolean", + "default": false, + "description": "Whether this configuration option and its value is allowed to be revealed in public or not." } } } -- 2.20.1