Implemented: Render IRC and NNTP as a URL
irc://what.ever/#chan,
[[irc://foo.bar/#baz][this is an IRC URL]] and
nntp://any.server/name/of/newsgroup/article-number are now recognized as URLs.
Contributors:
--
HarlanStenn - 25 Nov 2003
--
PeterThoeny - 01 Dec 2003
--
TomKagan - 01 Dec 2003
Discussions and feedback
And this patch is from Steve Kostecke.
--- /tmp/TWiki.pm- Tue Nov 25 16:06:04 2003
+++ TWiki.pm Tue Nov 25 15:52:05 2003
@@ -178,7 +178,7 @@
$noAutoLink = 0;
$viewScript = "view";
-$linkProtocolPattern = "(http|ftp|gopher|news|file|https|telnet)";
+$linkProtocolPattern = "(http|ftp|gopher|news|file|https|telnet|irc)";
# Header patterns based on '+++'. The '###' are reserved for numbered headers
$headerPatternDa = '^---+(\++|\#+)\s*(.+)\s*$'; # '---++ Header', '---## Header'
--
HarlanStenn - 25 Nov 2003
Might as well cross reference the $linkProtocolPattern against the complete list to see what other schemes TWiki might want to parse out of the URI :
http://www.w3.org/Addressing/schemes
--
TomKagan - 26 Nov 2003
I looked through the schemas and did not find any common ones worth adding. Let us know if you know of any.
I changed this from a
BugReport to a Feature request.
Change is now in
TWikiAlphaRelease and at TWiki.org.
--
PeterThoeny - 01 Dec 2003
>looked through the schemas and did not find any common ones worth adding. Let us know if you know of any.
How about "nntp" ??
--
TomKagan - 01 Dec 2003
OK, added nntp.
--
PeterThoeny - 01 Dec 2003