r66525 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66524‎ | r66525 | r66526 >
Date:12:32, 16 May 2010
Author:siebrand
Status:deferred
Tags:
Comment:
More CSS tweaks
Modified paths:
  • /trunk/extensions/Translate/SpecialTranslations.php (modified) (history)
  • /trunk/extensions/Translate/Translate.css (modified) (history)
  • /trunk/extensions/Translate/utils/MessageTable.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Translate.css
@@ -3,11 +3,13 @@
44 width: 100%;
55 border-style: solid none none solid;
66 border-width: 1px;
 7+ border-collapse: collapse;
78 }
89
910 .mw-sp-translate-table th {
1011 background-color: #b2b2ff;
1112 border-style: none solid solid none;
 13+ border-width: 1px;
1214 }
1315
1416 .mw-sp-translate-table tr.orig {
@@ -38,6 +40,7 @@
3941 .mw-sp-translate-table td {
4042 vertical-align: top;
4143 border-style: none solid solid none;
 44+ border-width: 1px;
4245 }
4346
4447 .mw-sp-translate-error {
Index: trunk/extensions/Translate/utils/MessageTable.php
@@ -81,9 +81,8 @@
8282
8383 public function header() {
8484 $tableheader = Xml::openElement( 'table', array(
85 - 'class' => 'mw-sp-translate-table',
86 - 'cellspacing' => '0' )
87 - );
 85+ 'class' => 'mw-sp-translate-table'
 86+ ) );
8887
8988 if ( $this->reviewMode ) {
9089 $tableheader .= Xml::openElement( 'tr' );
Index: trunk/extensions/Translate/SpecialTranslations.php
@@ -144,9 +144,8 @@
145145 $pageInfo = TranslateUtils::getContents( $titles, $namespace );
146146
147147 $tableheader = Xml::openElement( 'table', array(
148 - 'class' => 'mw-sp-translate-table',
149 - 'cellspacing' => '0' )
150 - );
 148+ 'class' => 'mw-sp-translate-table'
 149+ ) );
151150
152151 $tableheader .= Xml::openElement( 'tr' );
153152 $tableheader .= Xml::element( 'th', null, wfMsg( 'allmessagesname' ) );

Status & tagging log