Show last authors
1 {{velocity}}
2 #set($wikiMacroDocuments = $services.query.xwql("from doc.object(XWiki.WikiMacroClass) as macros").execute())
3 #if($wikiMacroDocuments.size() > 0)
4 |=$services.localization.render('xe.wikimacrobridge.macroName') {{{($services.localization.render('xe.wikimacrobridge.macroId'))}}}|=$services.localization.render('xe.wikimacrobridge.macroDescription')|=$services.localization.render('xe.wikimacrobridge.macroVisibility')|=$services.localization.render('xe.wikimacrobridge.macroPage')
5 #foreach($macroDocumentName in $wikiMacroDocuments)
6 #set($macroDocument = $xwiki.getDocument($macroDocumentName))
7 #set($macroObject = $macroDocument.getObject("XWiki.WikiMacroClass"))
8 |$macroObject.get('name') {{{($macroObject.id)}}}|$macroObject.description|$macroObject.visibility|[[$macroDocument.getDisplayTitle()>>$macroDocument.fullName]]
9 #end
10 #else
11 {{warning}}$services.localization.render('xe.wikimacrobridge.noWikiMacro'){{/warning}}
12 #end
13 {{/velocity}}

Need help?

If you need help with XWiki you can contact:

11.10.2-node1