jenkins-bot has submitted this change and it was merged. Change subject: Add linkable anchor #L<N> to (original text) line number in diff ......................................................................
Add linkable anchor #L<N> to (original text) line number in diff Bug: T63486 Change-Id: I068c7f6167e20f42cb675335554b98ff1fb83e16 --- M includes/diff/TableDiffFormatter.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/diff/TableDiffFormatter.php b/includes/diff/TableDiffFormatter.php index e5155bf..5d0183f 100644 --- a/includes/diff/TableDiffFormatter.php +++ b/includes/diff/TableDiffFormatter.php @@ -62,7 +62,7 @@ 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; -- To view, visit https://gerrit.wikimedia.org/r/185569 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I068c7f6167e20f42cb675335554b98ff1fb83e16 Gerrit-PatchSet: 4 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Nemo bis <federicol...@tiscali.it> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Nemo bis <federicol...@tiscali.it> Gerrit-Reviewer: Ricordisamoa <ricordisa...@openmailbox.org> Gerrit-Reviewer: TTO <at.li...@live.com.au> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits