From 3d08ab7895bbc4d1c4126cb22fdc1233d0e94205 Mon Sep 17 00:00:00 2001 From: Danny B Date: Thu, 29 May 2008 10:00:05 +0000 Subject: [PATCH] adding icon to irc:// links created by interwikis ([[irc:]], [[rcirc:]], [[ircrc:]], [[freenode:]]) --- includes/DefaultSettings.php | 6 +++--- skins/modern/main.css | 1 + skins/monobook/main.css | 1 + skins/simple/main.css | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 4031a4dbf8..e062919bc9 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -263,7 +263,7 @@ $wgUrlProtocols = array( 'ftp://', 'irc://', 'gopher://', - 'telnet://', // Well if we're going to support the above.. -ævar + 'telnet://', // Well if we're going to support the above.. -ævar 'nntp://', // @bug 3808 RFC 1738 'worldwind://', 'mailto:', @@ -1331,7 +1331,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '148'; +$wgStyleVersion = '149'; # Server-side caching: @@ -2396,7 +2396,7 @@ $wgBrowserBlackList = array( '/^Mozilla\/4\.[^ ]+ [^(]*?\((?!compatible).*; [UIN]/', /** - * MSIE on Mac OS 9 is teh sux0r, converts þ to , ð to , Þ to and Ð to + * MSIE on Mac OS 9 is teh sux0r, converts Ăľ to , Ă° to , Ăž to and Ð to * * Known useragents: * - Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC) diff --git a/skins/modern/main.css b/skins/modern/main.css index 1ec0f04290..61e50005ad 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -409,6 +409,7 @@ h1, h2 { padding-right: 18px; } #mw_content a[href ^="irc://"], +#mw_content a.extiw[href ^="irc://"], .link-irc { background: url(discussionitem_icon.gif) center right no-repeat; padding-right: 18px; diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 7463dcb80d..249898aeca 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -573,6 +573,7 @@ div.townBox dl dd { padding-right: 18px; } #bodyContent a[href ^="irc://"], +#bodyContent a.extiw[href ^="irc://"], .link-irc { background: url(discussionitem_icon.gif) center right no-repeat; padding-right: 18px; diff --git a/skins/simple/main.css b/skins/simple/main.css index 22a6a412f9..6578d970ec 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -237,6 +237,7 @@ h1.firstHeading, h2 { padding-right: 18px; } #bodyContent a[href ^="irc://"], +#bodyContent a.extiw[href ^="irc://"], .link-irc { background: url("discussionitem_icon.gif") center right no-repeat; padding-right: 18px; -- 2.20.1