Last modified: 2012-04-12 13:54:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30610, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28610 - typo DifferenceInterface.php
typo DifferenceInterface.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.16.x
All All
: Unprioritized trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-19 13:59 UTC by Alexis
Modified: 2012-04-12 13:54 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alexis 2011-04-19 13:59:45 UTC
In 1.16.x there is a small error in includes/diff/DifferenceInterface.php. In svn/trunk, it has been moved to includes/diff/DifferenceEngine.php :

In function generateDiffBody( $otext, $ntext ) {...}

There is:

return $wgContLang->unsegementForDiff( wikidiff_do_diff( $otext, $ntext, 2 ) ) .	$this->debug( 'wikidiff1' );

I guess it ought to be:

return $wgContLang->unsegmentForDiff( wikidiff_do_diff( $otext, $ntext, 2 ) ) .
			$this->debug( 'wikidiff1' );
Comment 1 Chad H. 2011-04-19 14:04:12 UTC
Fixed in r86394.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links