r92143 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92142
|
r92143
|
r92144
>
Date:
07:00, 14 July 2011
Author:
devayon
Status:
deferred
Tags:
Comment:
Fixed bug, parameters not a multiple of 3 aren't displayed. follow-up to
r85213
Modified paths:
/trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
—
—
@@ -766,17 +766,15 @@
767
767
$rowHtml .= $option;
768
768
$i++;
769
769
770
- if ( $i % 3 == 0 ) {
771
- $resultHtml .= Html::rawElement(
772
- 'div',
773
- array(
774
- 'style' => 'background: ' . ( $i % 6 == 0 ? 'white' : '#dddddd' ) . ';'
775
- ),
776
- $rowHtml
777
- );
778
- $rowHtml = '';
770
+ $resultHtml .= Html::rawElement(
771
+ 'div',
772
+ array(
773
+ 'style' => 'background: ' . ( $i % 6 == 0 ? 'white' : '#dddddd' ) . ';'
774
+ ),
775
+ $rowHtml
776
+ );
777
+ $rowHtml = '';
779
778
}
780
- }
781
779
782
780
return $resultHtml;
783
781
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r85213
some preliminary work on switching the query printers to use validator, the s...
jeroendedauw
21:51, 2 April 2011