r13299 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r13298
|
r13299
|
r13300
>
Date:
16:37, 24 March 2006
Author:
gabrielwicke
Status:
old
Tags:
Comment:
This is actually the table special case, the other was about script being wrapped in a paragraph
Modified paths:
/trunk/phase3/includes/Parser.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Parser.php
—
—
@@ -830,6 +830,9 @@
831
831
}
832
832
833
833
$t = implode ( "\n" , $t ) ;
834
+ # special case: don't return empty table
835
+ if($t == "<table>\n<tr><td></td></tr>\n</table>")
836
+ $t = '';
834
837
wfProfileOut( $fname );
835
838
return $t ;
836
839
}
Status & tagging log
01:58, 13 October 2010
😂
(
talk
|
contribs
)
changed the
status
of r13299
[
removed:
new
added:
old]