diff MoinMoin/action/AttachFile.py @ 869:0152984f76ee

use rel nofollow for action links
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 22 Jun 2006 22:26:19 +0200
parents 7b2e550c9660
children ad62767ffd0c
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Tue Jun 20 21:13:27 2006 +0200
+++ b/MoinMoin/action/AttachFile.py	Thu Jun 22 22:26:19 2006 +0200
@@ -124,7 +124,8 @@
     attach_icon = request.theme.make_icon('attach', vars={ 'attach_count': attach_count })
     attach_link = wikiutil.link_tag(request,
         "%s?action=AttachFile" % wikiutil.quoteWikinameURL(pagename),
-        attach_icon)
+        attach_icon,
+        request.formatter, rel='nofollow')
 
     return attach_link