changeset 1782:6b9eefc1d67f

split_title: remove some more call's request param (see cs 1776)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 18 Feb 2007 22:57:15 +0100
parents 5408417e650b
children 4cfb61592fe4
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sun Feb 18 22:44:22 2007 +0100
+++ b/MoinMoin/theme/__init__.py	Sun Feb 18 22:57:15 2007 +0100
@@ -331,7 +331,7 @@
             else:
                 page = Page(request, text)
             pagename = page.page_name
-            title = page.split_title(request)
+            title = page.split_title()
             title = self.shortenPagename(title)
             link = page.link_to(request, title)
 
@@ -438,7 +438,7 @@
 
         # Add current page at end
         if not current in found:
-            title = d['page'].split_title(request)
+            title = d['page'].split_title()
             title = self.shortenPagename(title)
             link = d['page'].link_to(request, title)
             cls = 'current'
@@ -585,7 +585,7 @@
                     except ValueError:
                         pass
                     page = Page(request, pagename)
-                    title = page.split_title(request)
+                    title = page.split_title()
                     title = self.shortenPagename(title)
                     link = page.link_to(request, title)
                     items.append('<li>%s</li>' % link)
@@ -968,7 +968,7 @@
                 data = {'action': action, 'disabled': ''}
                 # Always add spaces: AttachFile -> Attach File 
                 # XXX TODO do not create page just for using split_title
-                title = Page(request, action).split_title(request, force=1)
+                title = Page(request, action).split_title(force=1)
                 # Use translated version if available
                 data['title'] = _(title, formatted=False)
                 options.append(option % data)