diff options
Diffstat (limited to 'includes/diff/TableDiffFormatter.php')
-rw-r--r-- | includes/diff/TableDiffFormatter.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/diff/TableDiffFormatter.php b/includes/diff/TableDiffFormatter.php index db7318f2..5d0183ff 100644 --- a/includes/diff/TableDiffFormatter.php +++ b/includes/diff/TableDiffFormatter.php @@ -62,7 +62,7 @@ class TableDiffFormatter extends DiffFormatter { protected function blockHeader( $xbeg, $xlen, $ybeg, $ylen ) { // '<!--LINE \d+ -->' get replaced by a localised line number // in DifferenceEngine::localiseLineNumbers - $r = '<tr><td colspan="2" class="diff-lineno"><!--LINE ' . $xbeg . "--></td>\n" . + $r = '<tr><td colspan="2" class="diff-lineno" id="L' . $xbeg . '" ><!--LINE ' . $xbeg . "--></td>\n" . '<td colspan="2" class="diff-lineno"><!--LINE ' . $ybeg . "--></td></tr>\n"; return $r; @@ -190,7 +190,6 @@ class TableDiffFormatter extends DiffFormatter { * @param string[] $closing */ protected function changed( $orig, $closing ) { - wfProfileIn( __METHOD__ ); $diff = new WordLevelDiff( $orig, $closing ); $del = $diff->orig(); @@ -208,7 +207,6 @@ class TableDiffFormatter extends DiffFormatter { echo '<tr>' . $this->emptyLine() . $this->addedLine( $line ) . "</tr>\n"; } - wfProfileOut( __METHOD__ ); } } |