From b058e60266a9136c41a080b0f7bb05ddaaa43a6f Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 26 Jun 2008 00:26:43 +0000 Subject: [PATCH] (bug 14647) Remove unused 'townBox' class from global CSS. --- RELEASE-NOTES | 1 + includes/DefaultSettings.php | 2 +- skins/chick/main.css | 24 ------------------------ skins/common/commonPrint.css | 25 ------------------------- skins/common/oldshared.css | 24 ------------------------ skins/modern/rtl.css | 11 +---------- skins/monobook/main.css | 26 +------------------------- skins/monobook/rtl.css | 9 --------- skins/simple/main.css | 20 -------------------- skins/simple/rtl.css | 9 --------- 10 files changed, 4 insertions(+), 147 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4160ae56d0..73889b15f9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -387,6 +387,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 14537) Change interwiki name for Old Church Slavonic (cu) * (bug 14583) Fix regression in recent changes "limit to certain categories." * (bug 14515) HTML nesting cleanup on edit form +* (bug 14647) Removed unused 'townBox' CSS classes === API changes in 1.13 === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 33a6d090ab..3c8ba04a76 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1341,7 +1341,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '158'; +$wgStyleVersion = '159'; # Server-side caching: diff --git a/skins/chick/main.css b/skins/chick/main.css index ea6b23e3c5..9ba9792095 100644 --- a/skins/chick/main.css +++ b/skins/chick/main.css @@ -349,30 +349,6 @@ table.rimage { padding:5px; font-size: 95%; } -div.townBox { - position:relative; - float:right; - background:White; - margin-left:1em; - border: 1px solid gray; - padding:0.3em; - width: 200px; - overflow: hidden; - clear: right; -} -div.townBox dl { - padding: 0; - margin: 0 0 0.3em 0; - font-size: 96%; -} -div.townBox dl dt { - background: none; - margin: 0.4em 0 0 0; -} -div.townBox dl dd { - margin: 0.1em 0 0 1.1em; - background-color: #f3f3f3; -} /* ** edit views etc diff --git a/skins/common/commonPrint.css b/skins/common/commonPrint.css index b0aad3d1fe..ecf146deef 100644 --- a/skins/common/commonPrint.css +++ b/skins/common/commonPrint.css @@ -209,31 +209,6 @@ img { border: none; } img.tex { vertical-align: middle; } span.texhtml { font-family: serif; } -div.townBox { - position:relative; - float:right; - background:White; - margin-left:1em; - border: 1px solid gray; - padding:0.3em; - width: 200px; - overflow: hidden; - clear: right; -} -div.townBox dl { - padding: 0; - margin: 0 0 0.3em 0; - font-size: 96%; -} -div.townBox dl dt { - background: none; - margin: 0.4em 0 0 0; -} -div.townBox dl dd { - margin: 0.1em 0 0 1.1em; - background-color: #f3f3f3; -} - #siteNotice { display: none; } table.gallery { diff --git a/skins/common/oldshared.css b/skins/common/oldshared.css index 689a888ee9..5cffb07389 100644 --- a/skins/common/oldshared.css +++ b/skins/common/oldshared.css @@ -185,30 +185,6 @@ fieldset.operaprefsection { margin-left: 15em } .small, .small * { font-size: 94%; } table.small { font-size: 100% } -div.townBox { - position:relative; - float:right; - background:White; - margin-left:1em; - border: 1px solid gray; - padding:0.3em; - width: 200px; - overflow: hidden; - clear: right; -} -div.townBox dl { - padding: 0; - margin: 0 0 0.3em 0; - font-size: 96%; -} -div.townBox dl dt { - background: none; - margin: 0.4em 0 0 0; -} -div.townBox dl dd { - margin: 0.1em 0 0 1.1em; - background-color: #f3f3f3; -} /* use this instead of #toc for page content */ .toccolours { border:1px solid #aaaaaa; diff --git a/skins/modern/rtl.css b/skins/modern/rtl.css index e286a3f429..12e53754da 100644 --- a/skins/modern/rtl.css +++ b/skins/modern/rtl.css @@ -20,8 +20,7 @@ div div.thumbcaption { text-align: right; } -div.magnify, -#div.townBox { +div.magnify { left: auto; right: 0; } @@ -43,14 +42,6 @@ div.tright, div.floatright, table.floatright { div.tleft, div.floatleft, table.floatleft { clear: left; } -div.townBox { - margin-left: 0; - margin-right: 1em; -} -div.townBox dl dd { - margin-left: 0; - margin-right: 1.1em; -} /* Fix link icons */ .external { diff --git a/skins/monobook/main.css b/skins/monobook/main.css index ad44933889..45cf152f7c 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -510,30 +510,6 @@ table.rimage { padding: 5px; font-size: 95%; } -div.townBox { - position: relative; - float: right; - background: white; - margin-left: 1em; - border: 1px solid gray; - padding: .3em; - width: 200px; - overflow: hidden; - clear: right; -} -div.townBox dl { - padding: 0; - margin: 0 0 .3em; - font-size: 96%; -} -div.townBox dl dt { - background: none; - margin: .4em 0 0; -} -div.townBox dl dd { - margin: .1em 0 0 1.1em; - background-color: #f3f3f3; -} /* ** edit views etc @@ -550,7 +526,7 @@ div.townBox dl dd { */ #bodyContent a.external, #bodyContent a[href ^="gopher://"] { - background: url(external.png) center right no-repeat; + background: url(exteg) center right no-repeat; padding-right: 13px; } #bodyContent a[href ^="https://"], diff --git a/skins/monobook/rtl.css b/skins/monobook/rtl.css index 73bc1451f7..10b12508eb 100644 --- a/skins/monobook/rtl.css +++ b/skins/monobook/rtl.css @@ -68,7 +68,6 @@ div div.thumbcaption { } div.magnify, -#div.townBox, #p-logo { left: auto; right: 0; @@ -134,14 +133,6 @@ div.tright, div.floatright, table.floatright { div.tleft, div.floatleft, table.floatleft { clear: left; } -div.townBox { - margin-left: 0; - margin-right: 1em; -} -div.townBox dl dd { - margin-left: 0; - margin-right: 1.1em; -} #p-personal li { margin-left: 0; margin-right: 1em; diff --git a/skins/simple/main.css b/skins/simple/main.css index 6578d970ec..5412b250f3 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -117,26 +117,6 @@ table.rimage { text-align:center; } -div.townBox { - position:relative; - float:right; - margin-left:1em; - padding:0.3em; - width: 200px; - overflow: hidden; - clear: right; -} -div.townBox dl { - padding: 0; - margin: 0 0 0.3em 0; -} -div.townBox dl dt { - background: none; - margin: 0.4em 0 0 0; -} -div.townBox dl dd { - margin: 0.1em 0 0 1.1em; -} .portlet { border: none; float: none; diff --git a/skins/simple/rtl.css b/skins/simple/rtl.css index 13e7aa91f4..300f02853d 100644 --- a/skins/simple/rtl.css +++ b/skins/simple/rtl.css @@ -66,7 +66,6 @@ div div.thumbcaption { } div.magnify, -#div.townBox, #p-logo { left: auto; right: 0; @@ -93,14 +92,6 @@ div.tright, div.floatright, table.floatright { div.tleft, div.floatleft, table.floatleft { clear: left; } -div.townBox { - margin-left: 0; - margin-right: 1em; -} -div.townBox dl dd { - margin-left: 0; - margin-right: 1.1em; -} /* Fix link icons */ .external { -- 2.20.1