This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-cd765e40-b79a-4f4a-ba9e-2422338a91d3 XWIKI-25504 Open

Offer the mention types as a list in the Edit Macro dialog of the mention macro

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7c12a597-7f1e-46ab-819c-8ededbdf5ff0 Charpentier Lucas created this issue on 22/Oct/26 15:40
 
Summary: Offer the mention types as a list in the Edit Macro dialog of the mention macro
Issue Type: cid:jira-generated-image-avatar-cd765e40-b79a-4f4a-ba9e-2422338a91d3 Improvement
Affects Versions: 17.10.14, 18.8.0
Assignee: Unassigned
Components: Mentions
Created: 22/Oct/26 15:40
Priority: cid:jira-generated-image-static-major-b7283a19-af66-4356-9f63-afde606bda27 Major
Reporter: Charpentier Lucas
Description:

The type of the mention macro is a free text field of the Edit Macro dialog with a single value in XWiki Standard, user, which extensions can add to.

The main problem:

  • A wiki macro cannot declare the list, and the types come from extensions, so a provider with the installed types is needed.

Depends on

Most of these fields cannot be offered before these generic changes, each giving the macro the means to declare the expected value:

  • XWIKI-23045, which lets a parameter get its values from a provider, with or without custom values.

KOs covered

Macro Criterion Parameter Problem Depends on
mention C4 input-assistance type A free text field with one predefined value, user, that a select could offer: type="robot" is accepted and shows the raw reference. XWIKI-23045

Impact found on macro fluidity

These 1 KOs come from the WYSIWYG usability audit of the macros, under the criterion C4 input-assistance 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 declaration of the parameters in the macro definitions.