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 <[email protected]> a écrit :

> On Fri, Oct 9, 2009 at 23:28, Ludovic Dubost <[email protected]>  
> 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
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to