Changes for page Available Macros

From version 2.1
edited by Nazzareno Pompei
on 28/10/2022 08:42
Change comment: Install extension [org.xwiki.platform:xwiki-platform-help-ui/14.9]
To version 3.1
edited by Nazzareno Pompei
on 19/01/2024 08:57
Change comment: Install extension [org.xwiki.platform:xwiki-platform-help-ui/15.10.5]

Summary

Details

Page properties
Content
... ... @@ -17,7 +17,7 @@
17 17   #set ($discard = $wikiMacroMap.put($macroObject.id, [$macroDocument.documentReference.toString(), $macroObject.visibility]))
18 18  #end
19 19  |={{translation key='help.macroList.id'/}}|={{translation key='help.macroList.name'/}}|={{translation key='help.macroList.categories'/}}|={{translation key='help.macroList.description'/}}|={{translation key='help.macroList.visibility'/}}
20 -#foreach ($descriptor in $services.rendering.getMacroDescriptors('xwiki/2.1'))
20 +#foreach ($descriptor in $collectiontool.sort($services.rendering.getMacroDescriptors('xwiki/2.1'), 'id.id:asc'))
21 21   #set ($wikiMacroData = $wikiMacroMap.get($descriptor.id.id))
22 22   #if ("$!wikiMacroData" != '')
23 23   #set ($displayId = "[[$services.rendering.escape($services.rendering.escape($descriptor.id, 'xwiki/2.1'), 'xwiki/2.1')>>$wikiMacroData.get(0)]]")