* Add CSS defintion of the 'wikitable' class to shared.css. Style copied from enwiki.
authorRaimond Spekking <raymond@users.mediawiki.org>
Wed, 25 Mar 2009 20:00:53 +0000 (20:00 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Wed, 25 Mar 2009 20:00:53 +0000 (20:00 +0000)
A lot of core and extension tables use this class but without the definition it is useless, espescially on third party installations.

RELEASE-NOTES
includes/DefaultSettings.php
skins/common/shared.css

index e5d0b10..7aabc70 100644 (file)
@@ -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.
index b4ed82c..e5df4bc 100644 (file)
@@ -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:
index b9c6e49..670b204 100644 (file)
@@ -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;
+}
+