r38866 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38865‎ | r38866 | r38867 >
Date:09:34, 8 August 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
Make three-column list for 6 or more elements (not only for 7 or more)
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php
@@ -97,7 +97,7 @@
9898 if (count($this->subproperties) > 0) {
9999 $r .= "<div id=\"mw-subcategories\">\n<h2>" . wfMsg('smw_subproperty_header',$ti) . "</h2>\n";
100100 $r .= '<p>' . wfMsg('smw_subpropertyarticlecount', min($this->limit, count($this->subproperties))) . "</p>\n";
101 - if (count($this->subproperties) <= 6) {
 101+ if (count($this->subproperties) < 6) {
102102 $r .= $this->shortList(0,count($this->subproperties), $this->subproperties, $this->subprop_start_char);
103103 } else {
104104 $r .= $this->columnList(0,count($this->subproperties), $this->subproperties, $this->subprop_start_char);

Status & tagging log