From 1e26089f180f6ca91489aa511d9eb663397546aa Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Fri, 13 Jan 2017 06:14:42 +0100 Subject: [PATCH] registration: Allow documenting config settings with i18n messages In addition to the general (English) description key in a config option in extension.json, developers now can provide a description message key. This localized message will be used in user interfaces, such as viewing configuration options on-wiki (see later changes). Bug: T155157 Change-Id: I5c780b3347bd54a05694cfa6de93879656b4e921 --- docs/extension.schema.v2.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index d6f8c16509..a2fdf65aad 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -708,6 +708,10 @@ "type": ["string", "array"], "description": "A description of the config setting, mostly for documentation/developers" }, + "decriptionmsg": { + "type": "string", + "description": "The message key which should be used as a description for this configuration option in a user interface. If empty, description will be used." + }, "public": { "type": "boolean", "default": false, -- 2.20.1