changeset 2798:473826ac22a4

reverted to 2795:f24afde03048, because breaks reverting
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 05 Sep 2007 13:18:33 +0200
parents 2f8fa491a5c1
children eab2cd188ca6
files MoinMoin/action/info.py MoinMoin/stats/hitcounts.py
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/info.py	Tue Sep 04 22:18:01 2007 +0200
+++ b/MoinMoin/action/info.py	Wed Sep 05 13:18:33 2007 +0200
@@ -16,16 +16,10 @@
 
 def execute(pagename, request):
     """ show misc. infos about a page """
-    _ = request.getText
-
     if not request.user.may.read(pagename):
         Page(request, pagename).send_page()
         return
 
-    if not Page(request, pagename).exists():
-        Page(request, pagename).send_page(msg= _('The page %s does not exist.' % pagename ))
-        return
-
     def general(page, pagename, request):
         _ = request.getText
         f = request.formatter
--- a/MoinMoin/stats/hitcounts.py	Tue Sep 04 22:18:01 2007 +0200
+++ b/MoinMoin/stats/hitcounts.py	Wed Sep 05 13:18:33 2007 +0200
@@ -85,7 +85,7 @@
                 break
             # XXX Bug: event[2].get('pagename') -> u'Aktuelle%C4nderungen' 8(
             eventpage = event[2].get('pagename', '')
-            if filterpage and wikiutil.url_quote_plus(eventpage) != filterpage:
+            if filterpage and eventpage != filterpage:
                 continue
             time_tuple = request.user.getTime(wikiutil.version2timestamp(event[0]))
             day = tuple(time_tuple[0:3])