changeset 1529:76b4d2324d25

MoinMoin should not record the homepage links as pagelinks, fixes MoinMoinBugs/PageLinksIncludeUnrelatedLinks.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Tue, 05 Sep 2006 00:29:59 +0200
parents ec52fba7f971
children bc85c370d21a
files MoinMoin/logfile/editlog.py MoinMoin/theme/__init__.py docs/CHANGES
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/logfile/editlog.py	Mon Sep 04 23:29:21 2006 +0200
+++ b/MoinMoin/logfile/editlog.py	Tue Sep 05 00:29:59 2006 +0200
@@ -98,7 +98,7 @@
             if not aliasname:
                 aliasname = name
             title = wikiutil.escape(aliasname + title)
-            text = (request.formatter.interwikilink(1, title=title, *info) +
+            text = (request.formatter.interwikilink(1, title=title, generated=True, *info) +
                     request.formatter.text(name) +
                     request.formatter.interwikilink(0, title=title, *info))
         elif kind == 'email':
--- a/MoinMoin/theme/__init__.py	Mon Sep 04 23:29:21 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Tue Sep 05 00:29:59 2006 +0200
@@ -261,7 +261,7 @@
                 aliasname = name
             title = "%s @ %s" % (aliasname, interwiki[0])
             # link to (interwiki) user homepage
-            homelink = (request.formatter.interwikilink(1, title=title, id="userhome", *interwiki) +
+            homelink = (request.formatter.interwikilink(1, title=title, id="userhome", generated=True, *interwiki) +
                         request.formatter.text(name) +
                         request.formatter.interwikilink(0, title=title, id="userhome", *interwiki))
             userlinks.append(homelink)
--- a/docs/CHANGES	Mon Sep 04 23:29:21 2006 +0200
+++ b/docs/CHANGES	Tue Sep 05 00:29:59 2006 +0200
@@ -262,6 +262,8 @@
       on one side at the end
     * Standalone opens it logfile unbuffered from now on, thanks to
       Carsten Grohmann
+    * Now MoinMoin does not anymore think that every page links to various user
+      homepages anymore.
 
   Other changes:
     * HINT: instead of "from MoinMoin.multiconfig import DefaultConfig" you