Attachment 'hitcounts.patch'

Download

   1 * looking for arch@arch.thinkmo.de--2003-archives/moin--main--1.5--patch-123 to compare with
   2 * comparing to arch@arch.thinkmo.de--2003-archives/moin--main--1.5--patch-123
   3 M  MoinMoin/stats/hitcounts.py
   4 
   5 * modified files
   6 
   7 --- orig/MoinMoin/stats/hitcounts.py
   8 +++ mod/MoinMoin/stats/hitcounts.py
   9 @@ -86,8 +86,11 @@
  10      
  11              if event[0] <=  cache_date:
  12                  break
  13 -            # XXX Bug: event[2].get('pagename') -> u'Aktuelle%C4nderungen' 8(
  14 +            
  15 +            # The log returns utf-8 ??!
  16              eventpage = event[2].get('pagename','')
  17 +            eventpage = unicode(eventpage, config.charset)
  18 +            
  19              if filterpage and eventpage != filterpage:
  20                  continue
  21              time_tuple = request.user.getTime(wikiutil.version2timestamp(event[0]))

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] (2005-10-20 16:02:29, 0.8 KB) [[attachment:hitcounts.patch]]
 All files | Selected Files: delete move to page copy to page

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