* (bug 9417) Uploading new versions of images when using Postgres no longer
throws warnings.
* (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
+* (bug 1438) Fix for diff table layout on very wide lines for Gecko and
+ Opera-based browsers (incomplete, does not fix KHTML or MSIE)
== MediaWiki API changes since 1.10 ==
$ntitle = '<span class="history-deleted">'.$ntitle.'</span>';
}
$header = "
- <table border='0' width='98%' cellpadding='0' cellspacing='4' class='diff'>
+ <table border='0' cellpadding='0' cellspacing='4' class='diff'>
<tr>
- <td colspan='2' width='50%' align='center' class='diff-otitle'>{$otitle}</td>
- <td colspan='2' width='50%' align='center' class='diff-ntitle'>{$ntitle}</td>
+ <td colspan='2' align='center' class='diff-otitle'>{$otitle}</td>
+ <td colspan='2' align='center' class='diff-ntitle'>{$ntitle}</td>
</tr>
";
# HTML-escape parameter before calling this
function addedLine( $line ) {
- return "<td>+</td><td class='diff-addedline'>{$line}</td>";
+ return "<td>+</td><td class='diff-addedline'><div>{$line}</div></td>";
}
# HTML-escape parameter before calling this
function deletedLine( $line ) {
- return "<td>-</td><td class='diff-deletedline'>{$line}</td>";
+ return "<td>-</td><td class='diff-deletedline'><div>{$line}</div></td>";
}
# HTML-escape parameter before calling this
function contextLine( $line ) {
- return "<td> </td><td class='diff-context'>{$line}</td>";
+ return "<td> </td><td class='diff-context'><div>{$line}</div></td>";
}
function emptyLine() {