registration: Allow specifying the value of a config setting can be public
authorFlorian Schmidt <florian.schmidt.stargatewissen@gmail.com>
Fri, 13 Jan 2017 05:11:55 +0000 (06:11 +0100)
committerLegoktm <legoktm@member.fsf.org>
Tue, 7 Mar 2017 07:27:35 +0000 (07:27 +0000)
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

index b7ee1a7..d6f8c16 100644 (file)
                                                "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."
                                                }
                                        }
                                }