jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/331955 )
Change subject: registration: Allow documenting config settings with i18n
messages
......................................................................
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
---
M docs/extension.schema.v2.json
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json
index d6f8c16..a2fdf65 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,
--
To view, visit https://gerrit.wikimedia.org/r/331955
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5c780b3347bd54a05694cfa6de93879656b4e921
Gerrit-PatchSet: 7
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: MtDu <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits