r24633 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24632‎ | r24633 | r24634 >
Date:18:49, 6 August 2007
Author:david
Status:old
Tags:
Comment:
html/css improvement to archive teaser
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
@@ -117,13 +117,12 @@
118118 .lqt_archive_teaser {
119119 float: right;
120120 border: 1px solid #ddd;
121 - margin: 0.5em 0;
 121+ margin: 1em 0 0.5em 0;
122122 background-color: #eee;
123123 padding: 0.4em;
124124 display: table; width: auto;
125125 }
126126 .lqt_browse_archive {
127 - display: block;
128127 margin-bottom: 0.5em;
129128 font-weight: bold;
130129 }
Index: branches/liquidthreads/extensions/LqtExtension.php
@@ -635,14 +635,14 @@
636636
637637 if ( count($threadlinks) > 0 ) {
638638 $this->openDiv('lqt_archive_teaser');
639 - $this->output->addHTML('The following threads were archived recently:');
 639+ $this->output->addHTML('Recently archived:');
640640 $this->outputList('ul', '', '', $threadlinks);
641641 } else {
642642 $this->openDiv();
643643 }
644644 $url = $this->talkpageUrl($this->title, 'talkpage_archive');
645645 $this->output->addHTML(<<<HTML
646 - <a href="$url" class="lqt_browse_archive">Browse the Archive</a>
 646+ <p><a href="$url" class="lqt_browse_archive">Browse the Archive</a></p>
647647 HTML
648648 );
649649 $this->closeDiv();

Status & tagging log