Mooeypoo has uploaded a new change for review.
https://gerrit.wikimedia.org/r/195451
Change subject: Make default property interfaceText
......................................................................
Make default property interfaceText
Default should be interfaceText and support languages.
Bug: T54966
Change-Id: I7be3a8be72df3e5d80300bd72fcd7197e43155aa
---
M i18n/en.json
M i18n/qqq.json
M modules/ext.templateDataGenerator.data.js
3 files changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TemplateData
refs/changes/51/195451/1
diff --git a/i18n/en.json b/i18n/en.json
index 2cd1741..dc0a306 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -60,7 +60,7 @@
"templatedata-modal-table-param-actions": "Actions",
"templatedata-modal-table-param-aliases": "Aliases (comma separated)",
"templatedata-modal-table-param-autovalue": "Auto value",
- "templatedata-modal-table-param-default": "Default",
+ "templatedata-modal-table-param-default": "Default ($1)",
"templatedata-modal-table-param-deprecated": "Deprecated",
"templatedata-modal-table-param-description": "Description ($1)",
"templatedata-modal-table-param-importoption": "Add $1 suggested
{{PLURAL:$1|parameter|parameters}}",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index b57367b..48a19ac 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -67,7 +67,7 @@
"templatedata-modal-table-param-actions": "Label for a parameter
property input: Parameter actions in the table\n{{Identical|Action}}",
"templatedata-modal-table-param-aliases": "Label for a parameter
property input: Aliases of the parameter, instruct the user to separate aliases
with commas.",
"templatedata-modal-table-param-autovalue": "Label for a parameter
property input: Parameter auto value in the table",
- "templatedata-modal-table-param-default": "Label for a parameter
property input: Default value of the parameter.\n{{Identical|Default}}",
+ "templatedata-modal-table-param-default": "Label for a parameter
property input: Default value of the parameter. $1 - currently showing
language.\n{{Identical|Default}}",
"templatedata-modal-table-param-deprecated": "Label for a parameter
property input: Deprecated status of the parameter.\n{{Identical|Deprecated}}",
"templatedata-modal-table-param-description": "Label for a parameter
property input: Description of the parameter. $1 - currently showing
language.\n{{Identical|Description}}",
"templatedata-modal-table-param-importoption": "Label for the import
option in the parameter list in the edit dialog. $1 - number of suggested
parameters that can be imported.",
diff --git a/modules/ext.templateDataGenerator.data.js
b/modules/ext.templateDataGenerator.data.js
index 7e3f85b..69363ff 100644
--- a/modules/ext.templateDataGenerator.data.js
+++ b/modules/ext.templateDataGenerator.data.js
@@ -180,7 +180,8 @@
},
'default': {
type: 'string',
- multiline: true
+ multiline: true,
+ allowLanguages: true
},
autovalue: {
type: 'string'
--
To view, visit https://gerrit.wikimedia.org/r/195451
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7be3a8be72df3e5d80300bd72fcd7197e43155aa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TemplateData
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits