[Home]WikiPatches/EDonkey2000Links

UseModWiki | WikiPatches | RecentChanges | Preferences

UseModWiki did not support eDonkey2000 links - until now.

 --- usemod092/wiki.pl	2001-04-22 02:44:10.000000000 +0200
 +++ /usr/local/apache/cgi-bin/wiki.pl	2003-06-10 16:00:10.000000000 +0200
 @@ -227,7 +227,7 @@
    #   6.  A double double-quote ("")           (removed from output)

    $UrlProtocols? = "http|https|ftp|afs|news|nntp|mid|cid|mailto|wais|"
 -                  . "prospero|telnet|gopher";
 +                  . "prospero|telnet|gopher|ed2k";
    $UrlProtocols? .= '|file'  if $NetworkFile;
    $UrlPattern? = "((?:(?:$UrlProtocols?):[^\\]\\s\"<>$FS]+)$QDelim)";
    $ImageExtensions = "(gif|jpg|png|bmp|jpeg)";

UseModWiki | WikiPatches | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited September 19, 2007 9:56 pm by JuanmaMP (diff)
Search: