diff MoinMoin/theme/__init__.py @ 237:ccfa707e7064

added builtin support for linking irc:// URLs imported from: moin--main--1.5--patch-240
author Thomas Waldmann <tw@waldmann-edv.de>
date Thu, 24 Nov 2005 19:21:37 +0000
parents b1d744e2fd29
children 08cd0e9b9369
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Thu Nov 24 19:08:11 2005 +0000
+++ b/MoinMoin/theme/__init__.py	Thu Nov 24 19:21:37 2005 +0000
@@ -230,8 +230,8 @@
         html = u'<ul id="username">\n%s</ul>' % ''.join(userlinks)
         return html
 
-    # Schemas supported in toolbar links, using [url label] foramrt
-    linkSchemas = [r'http://', r'https://', r'ftp://', 'mailto:'] + \
+    # Schemas supported in toolbar links, using [url label] format
+    linkSchemas = [r'http://', r'https://', r'ftp://', 'mailto:', r'irc://', ] + \
                   [x + ':' for x in config.url_schemas]
 
     def splitNavilink(self, text, localize=1):