r48844 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48843‎ | r48844 | r48845 >
Date:20:08, 25 March 2009
Author:ialex
Status:deferred
Tags:
Comment:
Follow-up r48842: use the "wikitable" CSS style since it's now in core
Modified paths:
  • /trunk/extensions/Interwiki/SpecialInterwiki.css (modified) (history)
  • /trunk/extensions/Interwiki/SpecialInterwiki_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Interwiki/SpecialInterwiki_body.php
@@ -227,7 +227,7 @@
228228 $message_1 = wfMsgHtml( 'interwiki_1' );
229229
230230 $out = '
231 -<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border:0" class="mw-interwikitable intro">
 231+<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border:0" class="mw-interwikitable wikitable intro">
232232 <tr><th class="mw-align-left">' . $prefixmessage . '</th><td>' . wfMsgExt( 'interwiki_prefix_intro', 'parseinline' ) . '</td></tr>
233233 <tr><th class="mw-align-left">' . $urlmessage . '</th><td>' . wfMsgExt( 'interwiki_url_intro', 'parseinline' ) . '</td></tr>
234234 <tr><th class="mw-align-left">' . $localmessage . '</th><td>' . wfMsgExt( 'interwiki_local_intro', 'parseinline' ) . '</td></tr>
@@ -259,7 +259,7 @@
260260 }
261261
262262 $out = "
263 - <table width='100%' class='mw-interwikitable body'>
 263+ <table width='100%' class='mw-interwikitable wikitable body'>
264264 <tr id='interwikitable-header'><th>$prefixmessage</th> <th>$urlmessage</th> <th>$localmessage</th> <th>$transmessage</th>";
265265 if( $admin ) {
266266 $deletemessage = wfMsgHtml( 'delete' );
Index: trunk/extensions/Interwiki/SpecialInterwiki.css
@@ -3,24 +3,6 @@
44 * CSS for Special:Interwiki
55 */
66
7 -table.mw-interwikitable {
8 - margin: 1em 1em 1em 0;
9 - background: #fdfdfd;
10 - border: 1px #aaa solid;
11 - border-collapse: collapse;
12 -}
13 -
14 -table.mw-interwikitable th,
15 -table.mw-interwikitable td {
16 - border: 1px #aaa solid;
17 - padding: 0.2em;
18 -}
19 -
20 -table.mw-interwikitable th {
21 - background: #f2f2f2;
22 - text-align: center;
23 -}
24 -
257 table.mw-interwikitable.intro th {
268 padding-right: 1.4ex;
279 vertical-align: top;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48842* Add CSS defintion of the 'wikitable' class to shared.css. Style copied from...raymond20:00, 25 March 2009

Status & tagging log