diff MoinMoin/theme/__init__.py @ 2991:82ac2b1b1a05

fix pagename navigation for wikiname_add_spaces == True (port from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 06 Jan 2008 16:43:38 +0100
parents c817a9c0d0e5
children 6a1b18869fe8
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sun Jan 06 16:42:11 2008 +0100
+++ b/MoinMoin/theme/__init__.py	Sun Jan 06 16:43:38 2008 +0100
@@ -223,7 +223,7 @@
         """
         _ = self.request.getText
         content = []
-        if d['title_text'] == d['page_name']: # just showing a page, no action
+        if d['title_text'] == d['page'].split_title(): # just showing a page, no action
             curpage = ''
             segments = d['page_name'].split('/') # was: title_text
             for s in segments[:-1]: