Skip to content
Snippets Groups Projects
user avatar
Manuel Leduc authored
- Update the wiki macro xar files to use the new `defaultCategories` property
- Update the java macro to call `setDefaultCategories`
- Introduction of `xwiki-platform-legacy-rendering-wikimacro` and `xwiki-platform-legacy-rendering-wikimacro-store`
- Add an around aspect on `DefaultWikiMacroFactory.getDefaultCategories` to fallback to `defaultCategory` if no categories are found by the default implementation
- Move `WikiMacroConstants.MACRO_DEFAULT_CATEGORY_PROPERTY` to legacy
- Update `WikiMacroClassDocumentInitializer` to initialize `defaultCategories` instead of `defaultCategory`
- Add `xwiki-platform-legacy-rendering-wikimacro-store` to `xwiki-platform-distribution-war-legacydependencies`
- Move `org.xwiki.rendering.macro.wikibridge.WikiMacroDescriptor.Builder#defaultCategory` to legacy
- Move `WikiMacroDescriptor.getDefaultCategory` to legacy
71cc86bc
History