Attachment 'WhoLastModified.py'

Download

   1 ## page was renamed from MacroMarket/WhoLastModified/WhoLastModified.py
   2 ## page was renamed from macro/WhoLastModified.py
   3 {{{#!python
   4 """
   5     MoinMoin - DateLastModified Macro
   6 
   7     This macro displays which user last modified the page.
   8 
   9     @copyright: 2006 by Greg Heartsfield <scsibug@imap.cc>
  10     @license: GNU GPL, see COPYING for details.
  11 """
  12 
  13 from MoinMoin.Page import Page
  14 
  15 Dependencies = ['pages']
  16 
  17 def execute(macro, args):
  18     edit_info = macro.formatter.page.lastEditInfo()
  19     return edit_info['editor']
  20 }}}

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-01-29 15:04:56, 0.5 KB) [[attachment:WhoLastModified.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.