## page was renamed from MacroMarket/WhoLastModified/WhoLastModified.py
## page was renamed from macro/WhoLastModified.py
{{{#!python
"""
    MoinMoin - DateLastModified Macro

    This macro displays which user last modified the page.

    @copyright: 2006 by Greg Heartsfield <scsibug@imap.cc>
    @license: GNU GPL, see COPYING for details.
"""

from MoinMoin.Page import Page

Dependencies = ['pages']

def execute(macro, args):
    edit_info = macro.formatter.page.lastEditInfo()
    return edit_info['editor']
}}}
