I'm on a local install and if I save using the save action it works
but does not seem to register it with $doc.save()
Envoyé de mon iPhone
Le 10 oct. 2009 à 00:46, Sergiu Dumitriu <sergiu(a)xwiki.com> a écrit :
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
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs