On Fri, Oct 9, 2009 at 23:28, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
 Hi,
 Is there a way to register a Wiki Macro through scripting. When I import a
 Wiki Macro it does not seem to get registered and when I do $doc.save() on
 it it does not register it either.
 I suppose it's because we intercept the save at a different level (probably
 on the save action).
 How can I workaround that ? 
Are you sure you're not trying to register a macro in a local wiki?
Currently they only work if they are in the main wiki.
--
http://purl.org/net/sergiu