view MoinMoin/macro/ @ 5597:ced05deb11ae 1.9.2

cfg.history_paging: fix grammar/remove performance warning (we don't do that at other places either)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 28 Feb 2010 23:49:03 +0100
parents 886b8969dbc6
line wrap: on
line source

    MoinMoin - AttachInfo Macro

    A macro to produce information about attached pages

    Usage: <<AttachInfo>>

    @copyright: 2004 Jacob Cohen, Nigel Metheringham
    @license: GNU GPL, see COPYING for details

from MoinMoin.action.AttachFile import info

def macro_AttachInfo(macro, pagename=None):
    """ generates info how much attachments stored on a page """
    if not pagename:
        pagename =

    return info(pagename, macro.request)