• R/O
  • SSH
  • HTTPS

slashdotjp: コミット


コミットメタ情報

リビジョン1107 (tree)
日時2009-04-06 14:01:23
作者tach

ログメッセージ

Force to add "rel=nofollow" to anchor on displayJournal() when constants "journal_force_nofollow" has set.

変更サマリ

差分

--- slashjp/trunk/plugins/Journal/journal.pl (revision 1106)
+++ slashjp/trunk/plugins/Journal/journal.pl (revision 1107)
@@ -666,7 +666,7 @@
666666
667667 my $stripped_article = balanceTags(strip_mode($article->[1], $article->[4]), { deep_nesting => 1 });
668668 $stripped_article = noFollow($stripped_article)
669- unless $karma > $constants->{goodkarma};
669+ unless $karma > $constants->{goodkarma} && !$constants->{journal_force_nofollow};
670670
671671 # should get comment count, too -- pudge
672672 push @{$collection->{article}}, {
旧リポジトリブラウザで表示