Attachment 'RecentChanges.py.patch'

Download

   1 --- RecentChanges.py	2006-01-29 17:33:27.404973624 +0100
   2 +++ RecentChanges.py.rb	2006-01-29 17:32:03.749691160 +0100
   3 @@ -223,6 +223,11 @@
   4          print_abandoned(macro, args, **kw)
   5          return ''
   6  
   7 +    if args == 'subscribed':
   8 +        subscribed = 1
   9 +    else:
  10 +        subscribed = 0
  11 +        
  12      request = macro.request
  13      _ = request.getText
  14      user = request.user
  15 @@ -288,6 +293,11 @@
  16          if not request.user.may.read(line.pagename):
  17              continue
  18  
  19 +        if subscribed:   
  20 +            if not request.user.isSubscribedTo([line.pagename]):
  21 +                continue
  22 +            
  23 +            
  24          line.time_tuple = request.user.getTime(wikiutil.version2timestamp(line.ed_time_usecs))
  25          day = line.time_tuple[0:3]
  26          hilite = line.ed_time_usecs > (bookmark_usecs or line.ed_time_usecs)

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] (2006-01-29 16:27:56, 0.8 KB) [[attachment:RecentChanges.py.patch]]
 All files | Selected Files: delete move to page copy to page

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