Attachment 'enableircs.diff'

Download

   1 # HG changeset patch
   2 # User Thilo Pfennig <email@pfennigsolutions.de>
   3 # Date 1164389744 -3600
   4 # Node ID a716f9fc34c1b95749706f348438570a2009a0f4
   5 # Parent  8078e7b39a2b9daf20c0ea68829bd3639785bfca
   6 enabling ircs (secure IRC) for linking
   7 
   8 diff -r 8078e7b39a2b -r a716f9fc34c1 MoinMoin/theme/__init__.py
   9 --- a/MoinMoin/theme/__init__.py	Mon Nov 20 21:41:30 2006 +0100
  10 +++ b/MoinMoin/theme/__init__.py	Fri Nov 24 18:35:44 2006 +0100
  11 @@ -282,7 +282,7 @@ class ThemeBase:
  12          return html
  13  
  14      # Schemas supported in toolbar links, using [url label] format
  15 -    linkSchemas = [r'http://', r'https://', r'ftp://', 'mailto:', r'irc://', ] + \
  16 +    linkSchemas = [r'http://', r'https://', r'ftp://', 'mailto:', r'irc://', r'ircs://', ] + \
  17                    [x + ':' for x in config.url_schemas]
  18  
  19      def splitNavilink(self, text, localize=1):
  20 diff -r 8078e7b39a2b -r a716f9fc34c1 wiki/htdocs/classic/css/common.css
  21 --- a/wiki/htdocs/classic/css/common.css	Mon Nov 20 21:41:30 2006 +0100
  22 +++ b/wiki/htdocs/classic/css/common.css	Fri Nov 24 18:35:44 2006 +0100
  23 @@ -18,7 +18,7 @@ a.nntp:before {content: url(../img/moin-
  24  a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
  25  a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
  26  a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  27 -a.irc:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  28 +a.irc:before,a.ircs:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  29  a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
  30  a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
  31  a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
  32 diff -r 8078e7b39a2b -r a716f9fc34c1 wiki/htdocs/classic/css/msie.css
  33 --- a/wiki/htdocs/classic/css/msie.css	Mon Nov 20 21:41:30 2006 +0100
  34 +++ b/wiki/htdocs/classic/css/msie.css	Fri Nov 24 18:35:44 2006 +0100
  35 @@ -9,7 +9,7 @@ a.nntp { padding-left: 14px; background:
  36  a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
  37  a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
  38  a.telnet { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  39 -a.irc { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  40 +a.irc,a.ircs { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  41  a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; }
  42  a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
  43  a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
  44 diff -r 8078e7b39a2b -r a716f9fc34c1 wiki/htdocs/modern/css/common.css
  45 --- a/wiki/htdocs/modern/css/common.css	Mon Nov 20 21:41:30 2006 +0100
  46 +++ b/wiki/htdocs/modern/css/common.css	Fri Nov 24 18:35:44 2006 +0100
  47 @@ -30,7 +30,7 @@ a.nntp:before {content: url(../img/moin-
  48  a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
  49  a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
  50  a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  51 -a.irc:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  52 +a.irc:before,a.ircs:before  {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  53  a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
  54  a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
  55  a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
  56 diff -r 8078e7b39a2b -r a716f9fc34c1 wiki/htdocs/modern/css/msie.css
  57 --- a/wiki/htdocs/modern/css/msie.css	Mon Nov 20 21:41:30 2006 +0100
  58 +++ b/wiki/htdocs/modern/css/msie.css	Fri Nov 24 18:35:44 2006 +0100
  59 @@ -9,7 +9,7 @@ a.nntp { padding-left: 14px; background:
  60  a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
  61  a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
  62  a.telnet { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  63 -a.irc { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  64 +a.irc,a.ircs  { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  65  a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; }
  66  a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
  67  a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
  68 diff -r 8078e7b39a2b -r a716f9fc34c1 wiki/htdocs/rightsidebar/css/common.css
  69 --- a/wiki/htdocs/rightsidebar/css/common.css	Mon Nov 20 21:41:30 2006 +0100
  70 +++ b/wiki/htdocs/rightsidebar/css/common.css	Fri Nov 24 18:35:44 2006 +0100
  71 @@ -27,7 +27,7 @@ a.nntp:before {content: url(../img/moin-
  72  a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
  73  a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
  74  a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  75 -a.irc:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  76 +a.irc:before,a.ircs:before  {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
  77  a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
  78  a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
  79  a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
  80 diff -r 8078e7b39a2b -r a716f9fc34c1 wiki/htdocs/rightsidebar/css/msie.css
  81 --- a/wiki/htdocs/rightsidebar/css/msie.css	Mon Nov 20 21:41:30 2006 +0100
  82 +++ b/wiki/htdocs/rightsidebar/css/msie.css	Fri Nov 24 18:35:44 2006 +0100
  83 @@ -9,7 +9,7 @@ a.nntp { padding-left: 14px; background:
  84  a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
  85  a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
  86  a.telnet { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  87 -a.irc { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  88 +a.irc,a.ircs  { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
  89  a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; }
  90  a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
  91  a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-11-24 17:41:13, 6.5 KB) [[attachment:enableircs.diff]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.