r22923 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22922‎ | r22923 | r22924 >
Date:01:06, 12 June 2007
Author:david
Status:old
Tags:
Comment:
inch by inch, the archive page improves.
Modified paths:
  • /branches/liquidthreads/extensions/LqtExtension.php (modified) (history)
  • /branches/liquidthreads/skins/monobook/main.css (modified) (history)

Diff [purge]

Index: branches/liquidthreads/skins/monobook/main.css
@@ -144,6 +144,11 @@
145145 padding-bottom: 1em;
146146 vertical-align: top;
147147 }
 148+.lqt_archive_listing td p:first-child {
 149+ /* The summary is wrapped in <p> tags by the wikitext parser,
 150+ which messes up the vertical alignment. */
 151+ margin: 0; padding: 0;
 152+}
148153 .lqt_archive_listing th {
149154 text-align: left;
150155 vertical-align: baseline;
Index: branches/liquidthreads/extensions/LqtExtension.php
@@ -645,7 +645,7 @@
646646 function showThread($t) {
647647 $this->output->addHTML(<<<HTML
648648 <tr>
649 - <td>{$t->subjectWithoutIncrement()}</td>
 649+ <td><a href="{$this->permalinkUrl($t)}">{$t->subjectWithoutIncrement()}</a></td>
650650 <td>
651651 HTML
652652 ); $this->showPostBody($t->summary());

Status & tagging log