r97228 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97227‎ | r97228 | r97229 >
Date:01:14, 16 September 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
Follow up to r97227;
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_Table.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_Table.php
@@ -67,7 +67,6 @@
6868
6969 $headers = '<tr>' . implode( "\n", $headers ) . '</tr>';
7070
71 - // MW 1.17 and earlier do not accept thead while later versions require it.
7271 if ( $outputmode == SMW_OUTPUT_HTML ) {
7372 $headers = '<thead>' . $headers . '</thead>';
7473 }
@@ -77,7 +76,6 @@
7877
7978 $tableRows = implode( "\n", $tableRows );
8079
81 - // MW 1.17 and earlier do not accept thead while later versions require it.
8280 if ( $outputmode == SMW_OUTPUT_HTML ) {
8381 $tableRows = '<tbody>' . $tableRows . '</tbody>';
8482 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97227fix to table format; I failed - difference is because of wikitext vs html, no...jeroendedauw01:02, 16 September 2011

Status & tagging log