From b45aa4b2c7a85cbd4728466459de59ef1cd90f0d Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sat, 14 May 2011 13:56:13 +0000 Subject: [PATCH] bug 28503: add ircs to UrlProtocols in defaultsettings & css --- RELEASE-NOTES-1.19 | 1 + includes/DefaultSettings.php | 1 + skins/modern/main.css | 4 +++- skins/monobook/main.css | 3 ++- skins/simple/main.css | 2 ++ skins/vector/screen.css | 4 +++- 6 files changed, 12 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index 1666f3adf8..aa579bc9e0 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -20,6 +20,7 @@ production. === New features in 1.19 === * (bug 28916) A way to to toggle mw.config legacy globals settings from LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals. +* (bug 28503) Support for ircs:// URL protocols === Bug fixes in 1.19 === * (bug 10154) Don't allow user to specify days beyond $wgRCMaxAge. diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 331793a335..f1de742b27 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2810,6 +2810,7 @@ $wgUrlProtocols = array( 'https://', 'ftp://', 'irc://', + 'ircs://', // @bug 28503 'gopher://', 'telnet://', // Well if we're going to support the above.. -ævar 'nntp://', // @bug 3808 RFC 1738 diff --git a/skins/modern/main.css b/skins/modern/main.css index e04bb47796..104e73f06c 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -441,6 +441,8 @@ h1, h2, h3, h4, h5, h6 { } #mw_content a[href ^="irc://"], #mw_content a.extiw[href ^="irc://"], +#mw_content a[href ^="ircs://"], +#mw_content a.extiw[href ^="ircs://"], .link-irc { /* @embed */ background: url(discussionitem_icon.gif) center right no-repeat; @@ -913,4 +915,4 @@ html > body.rtl div#mw_contentholder ul { /* @noflip */ html > body.rtl div#mw_contentholder ul#filetoc { display: block; -} \ No newline at end of file +} diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 1f9fd72948..deb741009a 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -516,6 +516,7 @@ table.rimage { padding-right: 18px; } #bodyContent a.external[href ^="irc://"], +#bodyContent a.external[href ^="ircs://"], .link-irc { /* @embed */ background: url(discussionitem_icon.gif) center right no-repeat; @@ -1277,4 +1278,4 @@ div.mw-lag-warn-high { /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */ .tipsy { font-size: 127%; -} \ No newline at end of file +} diff --git a/skins/simple/main.css b/skins/simple/main.css index 8b65d4def5..d5093fc239 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -224,6 +224,8 @@ h1.firstHeading, h2 { } #bodyContent a[href ^="irc://"], #bodyContent a.extiw[href ^="irc://"], +#bodyContent a[href ^="ircs://"], +#bodyContent a.extiw[href ^="ircs://"], .link-irc { background: url("discussionitem_icon.gif") center right no-repeat; padding-right: 18px; diff --git a/skins/vector/screen.css b/skins/vector/screen.css index 50d7e036b9..2ba3de2d10 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -1082,6 +1082,8 @@ div#content a[href ^="ftp://"], } div#content a[href ^="irc://"], div#content a.extiw[href ^="irc://"], +div#content a[href ^="ircs://"], +div#content a.extiw[href ^="ircs://"], .link-irc { /* @embed */ background: url(images/talk-icon.png) center right no-repeat; @@ -1231,4 +1233,4 @@ p.mw-filedelete-editreasons, p.mw-delete-editreasons { /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */ .tipsy { font-size: 0.8em; -} \ No newline at end of file +} -- 2.20.1