Hi Vincent, thanks to point me to this entry in the extensions. BTW I made a search with "list macros" and drew a blank, "all macros" and "list all" would have given me my answer! I played around with your snipet, I found most of the attibutes I want, but I don't know how to get the source document full name (wiki:space.doc) or a reference to the document's object. I also want to know thw scope of the macro; global, local to the wiki or the user. Any way to get the source document full name (wiki:space.doc) or (better) a reference to the document's object? The rationale behind this, is that I must migrate a XWIKI from 5.2.1 to current, and the WIKI is in a very poor condition, so there is a lot of cleaning&repair work to do. {{groovy}} import org.xwiki.rendering.macro.Macro println "| Name | Id | Description | DefaultCategory | Priority | InlineMode |" services.component.componentManager.getInstanceList(Macro.class).each() { def descriptor = it.descriptor println "| ${descriptor.name} | ${descriptor.getId()} | ${descriptor.description} | ${descriptor.getDefaultCategory()} | ${it.getPriority()} | ${it.supportsInlineMode()} |" } {{/groovy}} -- View this message in context: http://xwiki.475771.n2.nabble.com/List-all-registered-macros-tp7593652p75936... Sent from the XWiki- Users mailing list archive at Nabble.com.