diff options
Diffstat (limited to 'IkiWiki/Plugin/comments.pm')
-rw-r--r-- | IkiWiki/Plugin/comments.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 0858f69f1..46e1b268f 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -126,7 +126,7 @@ sub htmlize { sub htmlize_pending { my %params = @_; return sprintf(gettext("this comment needs %s"), - '<a href="'. + '<a rel="nofollow" href="'. IkiWiki::cgiurl(do => "commentmoderation").'">'. gettext("moderation").'</a>'); } @@ -286,7 +286,7 @@ sub preprocess_moderation { unless defined $params{desc}; if (length $config{cgiurl}) { - return '<a href="'. + return '<a rel="nofollow" href="'. IkiWiki::cgiurl(do => 'commentmoderation'). '">'.$params{desc}.'</a>'; } @@ -946,7 +946,7 @@ sub pagetemplate (@) { ); } elsif (commentsopen($page)) { - $link = "<a href=\"".addcommenturl($page)."\">". + $link = "<a rel=\"nofollow\" href=\"".addcommenturl($page)."\">". #translators: Here "Comment" is a verb; #translators: the user clicks on it to #translators: post a comment. |