Changes for page Available Macros

Last modified by Ruud de Jong on 2024/10/24 12:21

From version Icon 2.1 Icon
edited by Bart Vastenhouw
on 2022/10/03 11:05
Change comment: Install extension [org.xwiki.platform:xwiki-platform-help-ui/14.7]
To version Icon 3.1 Icon
edited by Ruud de Jong
on 2023/10/27 12:38
Change comment: Install extension [org.xwiki.platform:xwiki-platform-help-ui/15.8]

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.BartVastenhouw
1 +xwiki:XWiki.RuuddeJong
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)]]")