diff MoinMoin/theme/__init__.py @ 569:6c572f52899f

fixed missing </a> formatter bug imported from: moin--main--1.5--patch-573
author Thomas Waldmann <tw@waldmann-edv.de>
date Sat, 15 Apr 2006 18:35:41 +0000
parents 1b9f0d6b9f48
children 3b08d9413589
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sat Apr 15 15:46:23 2006 +0000
+++ b/MoinMoin/theme/__init__.py	Sat Apr 15 18:35:41 2006 +0000
@@ -216,7 +216,7 @@
             # link to (interwiki) user homepage
             homelink = (request.formatter.interwikilink(1, title=title, id="userhome", *interwiki) +
                         request.formatter.text(name) +
-                        request.formatter.interwikilink(0))
+                        request.formatter.interwikilink(0, title=title, id="userhome", *interwiki))
             userlinks.append(homelink)        
             # link to userprefs action
             userlinks.append(d['page'].link_to(request, text=_('Preferences'),
@@ -297,7 +297,7 @@
                 return (pagename,
                         self.request.formatter.interwikilink(True, interwiki, page) +
                         page +
-                        self.request.formatter.interwikilink(False)
+                        self.request.formatter.interwikilink(False, interwiki, page)
                         )
         
         except ValueError:
@@ -516,10 +516,9 @@
                         # links, using _ for spaces.
                         page = page.replace('_', ' ')
                         if request.cfg.interwikiname != interwiki:
-                            link = (self.request.formatter.interwikilink(
-                                True, interwiki, page) +
+                            link = (self.request.formatter.interwikilink(True, interwiki, page) +
                                     self.shortenPagename(page) +
-                                    self.request.formatter.interwikilink(False))
+                                    self.request.formatter.interwikilink(False, interwiki, page))
                             items.append('<li>%s</li>' % link)
                             continue
                         else: