This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-314e4662-615f-4187-af59-42e5ae944de9 XWIKI-25475 Open

Improve the descriptions of the language parameter of the Script macro and of the filter parameter of the Velocity macro

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f90298b7-51fe-4637-bb3f-2dc6833d9643 Charpentier Lucas created this issue on 22/Oct/26 11:58
 
Summary: Improve the descriptions of the language parameter of the Script macro and of the filter parameter of the Velocity macro
Issue Type: cid:jira-generated-image-avatar-314e4662-615f-4187-af59-42e5ae944de9 Improvement
Affects Versions: 17.10.14, 18.8.0
Assignee: Unassigned
Components: Rendering - Script Macro, Rendering - Velocity Macro
Created: 22/Oct/26 11:58
Priority: cid:jira-generated-image-static-major-08ca1ff5-7cab-45fd-b325-e25a6e1a9c98 Major
Reporter: Charpentier Lucas
Description:

Two parameters of the script macros have descriptions that do not say which values are accepted, nor what an empty value does.

The macros to change, with the file where most of the fix is done:

KOs covered

Macro Criterion Parameters Problem
script C1 clarity language The description "The identifier of the script language ("groovy", "python", etc)" gives examples of values, which is OK for a free field, but it does not say that an empty value runs nothing and shows the script as text, and that the identifier is case sensitive, "PYTHON" is refused.
velocity C1 clarity filter The description "indicate which filtering mode to use" gives no possible value for a free field, and does not say what a filter does or that an empty value stands for the default configured in the wiki, indent unless changed. The valid values, none, indent and html, are in no description, and the documentation only mentions indent. The name is the ID.

Impact found on macro fluidity

These 2 KOs come from the WYSIWYG usability audit of the macros, under the criteria C1 clarity of its usability criteria. The page of each macro, linked in the table, has the full notes and the steps to reproduce. Fixing them means changing the translations of the macros and, for a name or a category, their definitions.