From: Florian Schmidt Date: Fri, 13 Jan 2017 05:11:55 +0000 (+0100) Subject: registration: Allow specifying the value of a config setting can be public X-Git-Tag: 1.31.0-rc.0~3858^2 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=2bd6cb81d118f4f56a0fb587e638c34f3115a69c;p=lhc%2Fweb%2Fwiklou.git 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 --- 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." } } }