There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-32b034a5-31fc-4302-a85a-a246f8435811 XWIKI-13363 Open

Remove deprecated macro parameters from the Wysiwyg macro wizard

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-5874d1c1-3077-4700-b67f-fff2c10bada3 Charpentier Lucas on 23/Oct/26 15:49
 

The documents macro still shows the Space and Parent fields next to Location in the Edit Macro dialog, although all three choose the pages to list, and its documentation says of both "Doesn't work with Nested Pages, use the location parameter instead". The dialog already hides the parameters declared as deprecated, but space and parent are not declared as deprecated in DocumentsMacro.xml. Declaring them deprecated would hide them unless a call already sets them, and leave Location as the only way to choose the listed pages.

Macro Criterion Parameter Problem
documents C9 technical space, parent Documented as deprecated, but shown, and not declared deprecated or hidden.
documents C7 alternatives space, parent, location Space and parent are older alternatives of location for choosing the listed pages, shown as separate fields rather than as one feature.

These KOs come from the WYSIWYG usability audit of the macros, under the criteria C7 alternatives and C9 technical of its usability criteria.