]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Add rel=nofollow to edit links. This may prevent some spiders from pounding on the...
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 28 May 2008 07:09:04 +0000 (03:09 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 28 May 2008 07:09:04 +0000 (03:09 -0400)
IkiWiki.pm
debian/changelog
templates/inlinepage.tmpl
templates/page.tmpl

index 0440f4020ffb24dbea30be7745bc85d49aac7841..8af0d7889ae6daa457e16e8d819160aaf1d776b8 100644 (file)
@@ -598,7 +598,7 @@ sub htmllink ($$$;@) { #{{{
                                        page => pagetitle(lc($link), 1),
                                        from => $lpage
                                ).
                                        page => pagetitle(lc($link), 1),
                                        from => $lpage
                                ).
-                               "\">?</a>$linktext</span>"
+                               "\" rel=\"nofollow\">?</a>$linktext</span>"
                }
        }
        
                }
        }
        
index 4207b7cc6492651bc530022b641dfd9f11a8e428..4b66aa697023e3213cdd1eb5891579f4ac7b4dcd 100644 (file)
@@ -1,3 +1,10 @@
+ikiwiki (2.48) UNRELEASED; urgency=low
+
+  * Add rel=nofollow to edit links. This may prevent some spiders from
+    pounding on the cgi following edit links.
+
+ -- Joey Hess <joeyh@debian.org>  Wed, 28 May 2008 03:07:37 -0400
+
 ikiwiki (2.47) unstable; urgency=low
 
   * mdwn: Add a multimarkdown setup file option.
 ikiwiki (2.47) unstable; urgency=low
 
   * mdwn: Add a multimarkdown setup file option.
index a736dacb541b0a152aa46933081865b135e398f8..71d57b00830fcdf821d87535f195e8add7d4e173 100644 (file)
@@ -46,7 +46,7 @@ License: <TMPL_VAR LICENSE>
 <div class="actions">
 <ul>
 <TMPL_IF NAME="EDITURL">
 <div class="actions">
 <ul>
 <TMPL_IF NAME="EDITURL">
-<li><a href="<TMPL_VAR EDITURL>">Edit</a></li>
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
 </TMPL_IF>
 <TMPL_IF NAME="DISCUSSIONLINK">
 <li><TMPL_VAR DISCUSSIONLINK></li>
 </TMPL_IF>
 <TMPL_IF NAME="DISCUSSIONLINK">
 <li><TMPL_VAR DISCUSSIONLINK></li>
index 249ee2efbd2d7f16da4b3140ce685c879bfc8730..b903adb19a4744021907ac47e4cc280129209e57 100644 (file)
@@ -30,7 +30,7 @@
 <div class="actions">
 <ul>
 <TMPL_IF NAME="EDITURL">
 <div class="actions">
 <ul>
 <TMPL_IF NAME="EDITURL">
-<li><a href="<TMPL_VAR EDITURL>">Edit</a></li>
+<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
 </TMPL_IF>
 <TMPL_IF NAME="RECENTCHANGESURL">
 <li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
 </TMPL_IF>
 <TMPL_IF NAME="RECENTCHANGESURL">
 <li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>