From: Florian Schmidt Date: Fri, 13 Jan 2017 05:14:42 +0000 (+0100) Subject: registration: Allow documenting config settings with i18n messages X-Git-Tag: 1.31.0-rc.0~3857^2 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=1e26089f180f6ca91489aa511d9eb663397546aa;p=lhc%2Fweb%2Fwiklou.git 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 --- 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,