[Pmwiki-users] Preventing "comment spam"

Hans design at flutesong.net
Mon Jan 31 05:20:32 CST 2005


Wednesday, January 19, 2005, 5:32:31 PM, Patrick wrote:
> All of these options are presently available in PmWiki v2:

> 1. rel="nofollow" for all external links (new default for beta20)
>       $UrlLinkFmt = 
>         "<a class='urllink' href='\$LinkUrl' rel='nofollow'>\$LinkText</a>";

> 2. rel="nofollow" for unapproved external links only
>       $UnapprovedLinkFmt =
>         "<a class='apprlink' href='\$LinkUrl' rel='nofollow'>\$LinkText</a>";

> 3. no rel="nofollow" at all (default for beta19 and earlier)
>       $UrlLinkFmt = 
>         "<a class='urllink' href='\$LinkUrl'>\$LinkText</a>";

> 4. not linking unapproved external links at all
>       $UnapprovedLinkFmt = "\$LinkText";

With the new beta 20 giving url links by default a rel='nofollow'
attribute I am trying to understand the above.
Point 1 and 3 is clear to me, but pint 2 and 4 not at all.

If one has urlapproval implemented via
   include_once('scripts/urlapprove.php');
then an unapproved link is not really a link, it is only followed by
an "approve sites" link, which will trigger action=approvesites.
So what is the point of $UnapprovedLinkFmt?

It seems to me that if I have urlapproval implemented and I wish to
have search bots follow the url links then I need to add to config.php
point 3:
   $UrlLinkFmt = "<a class='urllink' href='\$LinkUrl'>\$LinkText</a>";
the pre-beta 20 default.

Am I missing something? Please explain.


Best, 
~Hans                           




More information about the pmwiki-users mailing list