From 4039260b5d736ffa05eafa06e3dcbd82cf846433 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 25 Mar 2009 20:00:53 +0000 Subject: [PATCH] * Add CSS defintion of the 'wikitable' class to shared.css. Style copied from enwiki. A lot of core and extension tables use this class but without the definition it is useless, espescially on third party installations. --- RELEASE-NOTES | 1 + includes/DefaultSettings.php | 2 +- skins/common/shared.css | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index e5d0b104f0..7aabc7012a 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -151,6 +151,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN on a different database * Add a class if 'missingsummary' is triggered to allow styling of the summary line +* Add CSS defintion of the 'wikitable' class to shared.css === Bug fixes in 1.15 === * (bug 16968) Special:Upload no longer throws useless warnings. diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index b4ed82c394..e5df4bcf1d 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1469,7 +1469,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '207'; +$wgStyleVersion = '208'; # Server-side caching: diff --git a/skins/common/shared.css b/skins/common/shared.css index b9c6e49096..670b204d49 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -339,3 +339,23 @@ a.feedlink { background: url("images/feed-icon.png") center left no-repeat; padding-left: 16px; } + +/* wikitable class for skinning normal tables */ +table.wikitable { + margin: 1em 1em 1em 0; + background: #f9f9f9; + border: 1px #aaa solid; + border-collapse: collapse; +} +.wikitable th, .wikitable td { + border: 1px #aaa solid; + padding: 0.2em; +} +.wikitable th { + background: #f2f2f2; + text-align: center; +} +.wikitable caption { + font-weight: bold; +} + -- 2.20.1