changeset 1692:73f12c0dda0d

support for ircs: URLs (thanks to Thilo Pfennig)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 02 Dec 2006 17:09:43 +0100
parents d29448b5771d
children 2014428d99ca
files MoinMoin/theme/__init__.py docs/CHANGES wiki/htdocs/classic/css/common.css wiki/htdocs/classic/css/msie.css wiki/htdocs/modern/css/common.css wiki/htdocs/modern/css/msie.css wiki/htdocs/rightsidebar/css/common.css wiki/htdocs/rightsidebar/css/msie.css
diffstat 8 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sat Dec 02 14:38:34 2006 +0100
+++ b/MoinMoin/theme/__init__.py	Sat Dec 02 17:09:43 2006 +0100
@@ -282,7 +282,7 @@
         return html
 
     # Schemas supported in toolbar links, using [url label] format
-    linkSchemas = [r'http://', r'https://', r'ftp://', 'mailto:', r'irc://', ] + \
+    linkSchemas = [r'http://', r'https://', r'ftp://', 'mailto:', r'irc://', r'ircs://', ] + \
                   [x + ':' for x in config.url_schemas]
 
     def splitNavilink(self, text, localize=1):
--- a/docs/CHANGES	Sat Dec 02 14:38:34 2006 +0100
+++ b/docs/CHANGES	Sat Dec 02 17:09:43 2006 +0100
@@ -271,6 +271,7 @@
       * The draft storage is per user and per page, but only one draft per page.
     * cfg.quicklinks_default and cfg.subscribed_pages_default can be used to
       preload new user profiles with configurable values.
+    * added support for ircs: URLs (secure IRC)
 
   Bugfixes:
     * on action "info" page, "revert" link will not be displayed for empty page
--- a/wiki/htdocs/classic/css/common.css	Sat Dec 02 14:38:34 2006 +0100
+++ b/wiki/htdocs/classic/css/common.css	Sat Dec 02 17:09:43 2006 +0100
@@ -18,7 +18,7 @@
 a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
 a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
 a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
-a.irc:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
+a.irc:before,a.ircs:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
 a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
 a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
 a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
--- a/wiki/htdocs/classic/css/msie.css	Sat Dec 02 14:38:34 2006 +0100
+++ b/wiki/htdocs/classic/css/msie.css	Sat Dec 02 17:09:43 2006 +0100
@@ -9,7 +9,7 @@
 a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
 a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
 a.telnet { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
-a.irc { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
+a.irc,a.ircs { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
 a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; }
 a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
 a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
--- a/wiki/htdocs/modern/css/common.css	Sat Dec 02 14:38:34 2006 +0100
+++ b/wiki/htdocs/modern/css/common.css	Sat Dec 02 17:09:43 2006 +0100
@@ -30,7 +30,7 @@
 a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
 a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
 a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
-a.irc:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
+a.irc:before,a.ircs:before  {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
 a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
 a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
 a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
--- a/wiki/htdocs/modern/css/msie.css	Sat Dec 02 14:38:34 2006 +0100
+++ b/wiki/htdocs/modern/css/msie.css	Sat Dec 02 17:09:43 2006 +0100
@@ -9,7 +9,7 @@
 a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
 a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
 a.telnet { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
-a.irc { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
+a.irc,a.ircs  { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
 a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; }
 a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
 a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
--- a/wiki/htdocs/rightsidebar/css/common.css	Sat Dec 02 14:38:34 2006 +0100
+++ b/wiki/htdocs/rightsidebar/css/common.css	Sat Dec 02 17:09:43 2006 +0100
@@ -27,7 +27,7 @@
 a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
 a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
 a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
-a.irc:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
+a.irc:before,a.ircs:before  {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
 a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
 a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
 a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
--- a/wiki/htdocs/rightsidebar/css/msie.css	Sat Dec 02 14:38:34 2006 +0100
+++ b/wiki/htdocs/rightsidebar/css/msie.css	Sat Dec 02 17:09:43 2006 +0100
@@ -9,7 +9,7 @@
 a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
 a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
 a.telnet { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
-a.irc { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
+a.irc,a.ircs  { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
 a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; }
 a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
 a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }