Default Macro Categories
Last modified by Raphaƫl Jakse on 2024/07/26
The following Macro categories are used by default in XWiki. If you're writing a new macro, it's advised to use one of these categories so that your macro gets grouped with other macros in the same category.
- Development
- Navigation
- Content
- Formatting
- Layout
- Deprecated
- Internal
These categories are defined as constants in org.xwiki.rendering.AbstractMacro. If you write a macro in Java, it is advised to use there constants.
Note that Category names can be overridden using the following translation keys (this is an example from the default English language):
rendering.macroCategory.Development=Development
rendering.macroCategory.Navigation=Navigation
rendering.macroCategory.Content=Content
rendering.macroCategory.Formatting=Formatting
rendering.macroCategory.Layout=Layout
rendering.macroCategory.Deprecated=Deprecated
rendering.macroCategory.Internal=Internal
rendering.macroCategory.Navigation=Navigation
rendering.macroCategory.Content=Content
rendering.macroCategory.Formatting=Formatting
rendering.macroCategory.Layout=Layout
rendering.macroCategory.Deprecated=Deprecated
rendering.macroCategory.Internal=Internal
See also the documentation to hide some categories.