cvs: php-gtk-web /wiki index.php

[email protected] ("Christian Weiske")
Newsgroups php.gtk.webmaster
Message-ID <cvscweiske1131784953@cvsserver>
cweiske		Sat Nov 12 03:42:33 2005 EDT

  Modified files:              
    /php-gtk-web/wiki	index.php 
  Log:
  Added rel="nofollow" to external urls to give spammers
  a reason not to spam the wiki
  
  See:
  http://googleblog.blogspot.com/2005/01/preventing-comment-spam.html
  
  
  
http://cvs.php.net/diff.php/php-gtk-web/wiki/index.php?r1=1.1&r2=1.2&ty=u
Index: php-gtk-web/wiki/index.php
diff -u php-gtk-web/wiki/index.php:1.1 php-gtk-web/wiki/index.php:1.2
--- php-gtk-web/wiki/index.php:1.1	Thu Jul 22 21:31:35 2004
+++ php-gtk-web/wiki/index.php	Sat Nov 12 03:42:31 2005
@@ -119,7 +119,7 @@
   "<span class='createlink'>\$LinkText</span><a class='createlink' href='\$PageUrl?action=edit'>?</a>";
 $WikiWordCountMax = 1000000;
 $WikiWordCount['PmWiki'] = 1;
-$UrlLinkFmt = "<a class='urllink' href='\$Url'>\$LinkText</a>";
+$UrlLinkFmt = "<a class='urllink' href='\$Url' rel='nofollow'>\$LinkText</a>";
 $UrlImgFmt = "<img src='\$Url' border='0' alt='' img>";
 $GroupNamePattern="[[:upper:]][[:alnum:]]+";
 $WikiWordPattern="[[:upper:]][[:alnum:]]*(?:[[:upper:]][[:lower:]0-9]|[[:lower:]0-9][[:upper:]])[[:alnum:]]*";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.