Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5975
DifferenceEngineDiff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 10:47 PM
2014-11-21 22:47:41 (UTC+0)
Size
1001 B
Referenced Files
None
Subscribers
None
DifferenceEngineDiff
View Options
Index: includes/diff/DifferenceEngine.php
===================================================================
--- includes/diff/DifferenceEngine.php (revision 56233)
+++ includes/diff/DifferenceEngine.php (working copy)
@@ -817,8 +817,13 @@
$nta = explode( "\n", $wgContLang->segmentForDiff( $ntext ) );
$diffs = new Diff( $ota, $nta );
$formatter = new TableDiffFormatter();
- return $wgContLang->unsegmentForDiff( $formatter->format( $diffs ) ) .
- $this->debug();
+ return $wgContLang->unsegmentForDiff( $formatter->format( $diffs ) );
+## Please use proper debugging switches if you want to implement the following.
+## Be sure they are OFF by default, as they will cause systems to think output has changed when it
+## has in fact not. See bug #20601.
+## In fact why in the world is any debugging comment output carelessly left turned on by default any places in this file?
+## return $wgContLang->unsegmentForDiff( $formatter->format( $diffs ) ) .
+## $this->debug();
}
/**
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5523
Default Alt Text
DifferenceEngineDiff (1001 B)
Attached To
Mode
T22601: Do not put "diff generator" comments into feeds
Attached
Detach File
Event Timeline
Log In to Comment