This issue has been created
There are 4 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1a855772-8027-475c-832b-ffe967d63c9a XWIKI-24290 In Progress

Allow directly passing a script variable for the parameters of a translation macro

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ae73deed-4ba7-4319-b202-bffc5c424563 Thomas Mortagne created this issue on 27/Apr/26 17:47
 
Summary: Allow directly passing a script variable for the parameters of a translation macro
Issue Type: cid:jira-generated-image-avatar-1a855772-8027-475c-832b-ffe967d63c9a New Feature
Affects Versions: 17.10.7
Assignee: Unassigned
Components: Localization
Created: 27/Apr/26 17:47
Priority: cid:jira-generated-image-static-major-226d2e91-bffe-4455-9bba-f9c07a761ea0 Major
Reporter: Thomas Mortagne
Description:

Safely passing user input as parameters to the translation macro is quite a pain.

The idea is to allow passing directly a script variable which contain the list of parameters instead of trying to escape it, which is much easier, safer and better for performances.

 
 

4 updates

 
cid:jira-generated-image-avatar-ae73deed-4ba7-4319-b202-bffc5c424563 Changes by Thomas Mortagne on 27/Apr/26 17:47
 
Fix Version: 18.4.0-rc-1
Fix Version: 17.10.9
Assignee: Thomas Mortagne
Status: Open In Progress
 
 

1 comment

 
cid:jira-generated-image-avatar-ae73deed-4ba7-4319-b202-bffc5c424563 Thomas Mortagne on 27/Apr/26 17:47
 

See https://forum.xwiki.org/t/add-support-for-script-parameters-in-the-translation-macro/18438 for the proposal discussion.