r22202 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22201‎ | r22202 | r22203 >
Date:13:59, 16 May 2007
Author:brion
Status:old
Tags:
Comment:
Fix regression in even sizing of diff columns; forgot to restore a couple bits I removed when experimenting.
Modified paths:
  • /trunk/phase3/includes/DifferenceEngine.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DifferenceEngine.php
@@ -488,10 +488,10 @@
489489 $ntitle = '<span class="history-deleted">'.$ntitle.'</span>';
490490 }
491491 $header = "
492 - <table border='0' cellpadding='0' cellspacing='4' class='diff'>
 492+ <table border='0' width='98%' cellpadding='0' cellspacing='4' class='diff'>
493493 <tr>
494 - <td colspan='2' align='center' class='diff-otitle'>{$otitle}</td>
495 - <td colspan='2' align='center' class='diff-ntitle'>{$ntitle}</td>
 494+ <td colspan='2' width='50%' align='center' class='diff-otitle'>{$otitle}</td>
 495+ <td colspan='2' width='50%' align='center' class='diff-ntitle'>{$ntitle}</td>
496496 </tr>
497497 ";
498498