From 9ecc912a9e3f9d9dda3a1988fb5334ca0ffbd009 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 25 Mar 2009 08:09:08 +0000 Subject: [PATCH] Fix per comment in r48720: Remove style from code and use same table stylings as other tables. --- includes/DefaultSettings.php | 2 +- includes/specials/SpecialTags.php | 2 +- skins/common/shared.css | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 24863b4fb3..b4ed82c394 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 = '206'; +$wgStyleVersion = '207'; # Server-side caching: diff --git a/includes/specials/SpecialTags.php b/includes/specials/SpecialTags.php index 4f4e94f2c1..981eb2ffc9 100644 --- a/includes/specials/SpecialTags.php +++ b/includes/specials/SpecialTags.php @@ -36,7 +36,7 @@ class SpecialTags extends SpecialPage { $html .= $this->doTagRow( $tag, 0 ); } - $wgOut->addHTML( Xml::tags( 'table', array( 'style' => 'width: 80%', 'class' => 'mw-tags-table' ), $html ) ); + $wgOut->addHTML( Xml::tags( 'table', array( 'class' => 'mw-tags-table' ), $html ) ); } function doTagRow( $tag, $hitcount ) { diff --git a/skins/common/shared.css b/skins/common/shared.css index 1a80176aa3..bb08c64897 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -253,10 +253,12 @@ td.os-suggest-result-hl { /* * Special:ListGroupRights styling * Special:Statistics styling + * Special:Tags styling */ table.mw-listgrouprights-table, -table.mw-statistics-table { +table.mw-statistics-table, +table.mw-tags-table { border: 1px solid #ccc; border-collapse: collapse; } @@ -266,7 +268,8 @@ table.mw-listgrouprights-table tr { } table.mw-listgrouprights-table td, table.mw-listgrouprights-table th, -table.mw-statistics-table td, table.mw-statistics-table th { +table.mw-statistics-table td, table.mw-statistics-table th, +table.mw-tags-table td, table.mw-tags-table th { padding: 0.5em 0.2em 0.5em 0.2em; border: 1px solid #ccc; } -- 2.20.1