r52788 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52787‎ | r52788 | r52789 >
Date:08:31, 6 July 2009
Author:mkroetzsch
Status:deferred
Tags:
Comment:
fixed Bug 19128
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_OrderedListPage.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/skins/SMW_custom.css (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_OrderedListPage.php
@@ -76,7 +76,7 @@
7777 global $wgOut;
7878 $this->clearPageState();
7979 $this->doQuery();
80 - $r = "<br style=\"clear:both;\"/>\n" . $this->getPages();
 80+ $r = "<br id=\"smwfootbr\"/>\n" . $this->getPages();
8181 return $r;
8282 }
8383
@@ -94,7 +94,7 @@
9595 protected abstract function doQuery();
9696
9797 /**
98 - * Generates the headline for the page list and the HTML encoded list of pages which
 98+ * Generates the headline for the page list and the HTML encoded list of pages which
9999 * shall be shown.
100100 */
101101 protected abstract function getPages();
@@ -106,7 +106,7 @@
107107 global $wgUser, $wgLang;
108108 $sk = $this->getSkin();
109109 $limitText = $wgLang->formatNum( $this->limit );
110 -
 110+
111111 $ac = count($this->articles);
112112 if ($this->until != '') {
113113 if ($ac > $this->limit) { // (we assume that limit is at least 1)
Index: trunk/extensions/SemanticMediaWiki/skins/SMW_custom.css
@@ -16,6 +16,10 @@
1717 margin-top: 0.5em;
1818 }
1919
 20+#smwfootbr { /* terminate page contents when inserting stuff below a page, typically used in <br> */
 21+ clear: both;
 22+}
 23+
2024 /* tables for inline queries */
2125
2226 table.smwtable{

Status & tagging log