WordPress:Comment Moderation

来自站长百科
Fludlen讨论 | 贡献2008年6月16日 (一) 14:09的版本
跳转至: 导航、​ 搜索


Comment moderation is a feature in WordPress that allows you to prevent comments from appearing on your site without your express approval. Moderation can be very useful in addressing WordPress:Comment Spam, but it has more general applications as well. If you would like to learn more about comment spam, see Fighting Comment Spam.

审核评论是WordPress中的一个功能,能使你在明确批准之前,阻止评论出现。对于消除评论垃圾广告,审核是很有用的,但是审核还用更多的一般用法。如果你想学习更多的关于评论垃圾广告的内容,请看看Fighting Comment Spam|抗击评论垃圾广告

How Moderation Works

审核是怎样进行的

WordPress runs a number of tests on each new comment before posting it to your blog. If a comment fails one of these tests, it is not displayed immediately on the site but is placed in a queue for moderation, the process of manual approval or deletion by the blog's administrator.

在每个评论发表到你的博客上之前,WordPress对每个新的评论进行了许多测试。如果评论在这些测试中没有通过,评论就不会立马地显示在你的站点上,而是放到队列中,来等待审核,有博客的管理员动手决定是允许还是删除。

Controlling Moderation

控制审核

You can control which comments get held for moderation on your WordPress:Discussion Options page, which is located under OptionsDiscussion.

你可以在位于选项讨论下面的讨论选项 网页上控制哪个评论需要审核。

If you would like every comment to be held for moderation, check the An administrator must approve the comment (regardless of any matches below) option, listed under Before a comment appears.

如果你希望每个审核每个评论,选中列在一个评论出现之前下面的选项一个管理员必须比准评论(不管下面有什么匹配)

If you would like to send suspicious comments to the moderation queue, while letting innocent comments through, you will need to specify a set of rules for determining which comments are suspicious. These rules are specified in on the OptionsDiscussion > Comment Moderation.

如果你想要向审核队列发送可疑的评论,但是要让真正的评论通过,你可能要详细规定一套规则,指出哪种评论是可疑的。在选项讨论 > 评论审核上有详细规定的规则。

The first option is to hold comments for moderation if they contain an unusually large number of hyperlinks. Most normal comments contain at most one or two links while spam comments often have a large number. Look at your own comments and set this to a value that makes sense for your audience. (Note: In version 1.5.2, and possibly others, if you do not put a number in the comment moderation links box, in other words, if this box is completely blank, all anonymous comments (and possibly others) are sent to the Manage Comments SubPanel for moderation, even if the Discussion Options Subpanel has no restrictions set.)

如果一个评论包含了超出常量的hyperlinks,第一个选择是将这个评论审核。大多数普通的评论最大包含一个或者两个链接,而垃圾广告评论通过拥有大量链接。看看你自己的评论并且将这个评论设置为一个你的访客能够理解的参数。(注:在1.5.2版本中,或者其它的版本中,如果你没有在评论审核链接框中输入一个数字,换句话说,如果这个框是完全空白的,所有匿名的评论(有可能还有其它类的评论)都会被发送到管理评论子面板中来等待审核,即使讨论选项子面板中没有限制设置,也会发生这样的情况。)

The second option is to specify a set of moderation keys which, if present in any part of the comment, will cause it to be held for moderation. These keys are specified one per line in the large text area, which is blank by default. Moderation keys can include WordPress:Spam Words, swear words, IP addresses, and Regular Expressions.

第二种选项是规定一组审核关键词,如果这个关键词出现在评论的任何部分中,会导致评论等待审核。这些关键词在一个大的文本区中,每行都有规定,这个大的文本区,默认是空白的。审核关键词可以包含评论垃圾广告词, 禁语, IP 地址, 和一般的表达

When you add a new moderation key, it's a good idea to test its validity by checking previous comments. Simply use the link entitled Check past comments against moderation list, which is located underneath the text box containing moderation keys. This asks WordPress to check previous comments and tell you which ones would be flagged for moderation under your new set of keys.

当你添加一个新的审核关键词的时候,通过检查先前的评论,来测试它的有效性。只要使用标题为检查审核列表外的过去的评论链接,这个链接位于包含审核关键词的文本框的下面。这个步骤要求WordPress来查看过去的评论并且告诉你,那个评论会在你新的关键词下,被标记来审核。

The box marked Comment blacklist works in exactly the same way as the comment moderation box, except that comments that match these words will be deleted immediately and without notification. So be careful! Genuine comments could be deleted without you ever knowing they were there.

标记为评论黑名单的框与评论审核框的运行方式完全相同,知识匹配这些词的评论会在没有得到通知的情况下,立马被删除。因此要谨慎小心!真正的评论在你不知情的情况下,可能都被删除了。

Why Not Blacklisting?

为什么不记于黑名单中?

Several weblog programs take a "blacklisting" approach to addressing comment spam. So if you tried to leave a comment that had a word or domain that was on the blacklist, then your comment would be refused.

有的网络博客使用"记入黑名单"的方法来消除评论垃圾广告。因此如果你试图留下一个评论,但是这个评论中有一个词或者域,属于黑名单范围,那么你的电脑就会拒绝。

Why didn't WordPress use this method? In formulating a way to combat the problems that people were having with comments, we made a promise at the beginning, Do no harm.

为什么WordPress不使用这个方法?详细地描述一种处理评论中的问题的方法,我们在刚开始的时候,就做出了承诺,不要损害。

Weblogs are about communication, and anything that impedes that communication is harmful to the medium. Instead of rejecting a comment that matches a term in the moderation keys (our variation on the blacklist) we simply hold it for review. That way if it was a legitimate comment mistakenly caught by the filters, the weblog author can still see it and respond to the comment.

网络博客是关于交流的,任何组织交流的行为,对于媒体都是有害的。我们没有拒绝匹配评论关键词(我们在黑名单上的变更)中的评论,而是保持这个评论来等待回顾。这样如果这是一个合法的评论,被过滤器误抓了,网络博客作者仍然可以看到这个评论并且对评论做出回应。

Of course this means that there may be a lot of comments that you don't want on your site caught in the moderation queue, and in this case we've tried to make it as easy as possible to manage large numbers of comments quickly. See the articles on Fighting Comment Spam for more information and resources.

当然这意味着,你的站点上可能有许多评论,但是你不想这些评论都处于审核队列中,在这种情况下,我们试着使得管理大量的评论变得简单快捷。请看Fighting Comment Spam|抗击评论垃圾广告的文章来找到更多的信息和资源。