From 20560eb2713cbc4a54f9256275ed25bf1395978c Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 21 Dec 2011 18:58:27 +0000 Subject: [PATCH] (bug 33246) News icon shown for news:// URLs but not for news: URLs. Patch by Erwin Dokter --- RELEASE-NOTES-1.19 | 1 + skins/modern/main.css | 2 +- skins/monobook/main.css | 2 +- skins/simple/main.css | 2 +- skins/vector/screen.css | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index d05876d359..f33498b91e 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -193,6 +193,7 @@ production. Special:PrefixIndex rather then re-using Special:AllPages's allinnamespace * (bug 33156) Special:Block now allows you to confirm you want to block yourself when using non-normalized username +* (bug 33246) News icon shown for news:// URLs but not for news: URLs === API changes in 1.19 === * (bug 19838) siprop=interwikimap can now use the interwiki cache. diff --git a/skins/modern/main.css b/skins/modern/main.css index ee09952d95..1748156204 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -424,7 +424,7 @@ h1, h2, h3, h4, h5, h6 { background: url(mail_icon.gif) center right no-repeat; padding-right: 18px; } -#mw_content a.external[href ^="news://"] { +#mw_content a.external[href ^="news:"] { /* @embed */ background: url(news_icon.png) center right no-repeat; padding-right: 18px; diff --git a/skins/monobook/main.css b/skins/monobook/main.css index efe8a346b7..9a8eac1c60 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -151,7 +151,7 @@ table.rimage { background: url(mail_icon.gif) center right no-repeat; padding-right: 18px; } -#bodyContent a.external[href ^="news://"] { +#bodyContent a.external[href ^="news:"] { /* @embed */ background: url(news_icon.png) center right no-repeat; padding-right: 18px; diff --git a/skins/simple/main.css b/skins/simple/main.css index 9eacd227cf..559170b910 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -239,7 +239,7 @@ h2 { background: url(mail_icon.gif) center right no-repeat; padding-right: 18px; } -#bodyContent a.external[href ^="news://"] { +#bodyContent a.external[href ^="news:"] { background: url(news_icon.png) center right no-repeat; padding-right: 18px; } diff --git a/skins/vector/screen.css b/skins/vector/screen.css index 76defbff84..ded0a00518 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -715,7 +715,7 @@ div#content a.external[href ^="mailto:"], background: url(images/mail-icon.png) center right no-repeat; padding-right: 13px; } -div#content a.external[href ^="news://"] { +div#content a.external[href ^="news:"] { /* @embed */ background: url(images/news-icon.png) center right no-repeat; padding-right: 13px; -- 2.20.1