diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:31:04 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:58:39 +0200 |
commit | f6d65e533c62f6deb21342d4901ece24497b433e (patch) | |
tree | f28adf0362d14bcd448f7b65a7aaf38650f923aa /includes/diff/TableDiffFormatter.php | |
parent | c27b2e832fe25651ef2410fae85b41072aae7519 (diff) |
Update to MediaWiki 1.25.1
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__ ); } } |