[Moin-user] Writing macros

R.Bauer rb.proj at gmail.com
Mon Jul 26 06:46:40 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Wight schrieb:
> It's only recently I've discovered that macro definitions changed at 
> version 1.7 from
> 
>     def execute(macro, args)
> 
> to
> 
>     def macro_MacroName(macro, arg1, arg2, ...)
> 
> My macros haven't stopped working so 'execute' is obviously still being 
> supported. What is its future?
> 
> Jim
> 


Well the macro argument parser was completly implemented by this new
macrostyle. The old style is valid too.


for an example have a look at Hello World
http://moinmo.in/MoinAPI/Beispiele#macro

cheers
Reimar

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkxNZ48ACgkQ5aOc3Q9hk/ktqgCeNSWdpJagiEtdpwtU8Ifkcq//
gP0AnRlYSgxRMqmqp/Ui3Zppwn1pYlM9
=vg+i
-----END PGP SIGNATURE-----





More information about the Moin-user mailing list