view MoinMoin/macro/ @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <>
date Thu, 22 Sep 2005 15:09:50 +0000
line wrap: on
line source

# -*- coding: iso-8859-1 -*-
    MoinMoin - Macro Package

    The canonical interface to macros is their execute() function,
    which gets passed an instance of the Macro class. Such an instance
    has the four members parser, formatter, form and request.

    Using "form" directly is deprecated and should be replaced
    by "request.form".

    Besides the execute() function, macros can export additional
    functions to offer services to other macros or actions. A few
    actually do that, e.g. AttachFile.

    @copyright: 2000 by Jürgen Hermann <>
    @license: GNU GPL, see COPYING for details.

from MoinMoin.util import pysupport

extension_macros = pysupport.getPackageModules(__file__)
modules = extension_macros