Last modified: 2013-09-10 00:53:37 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 T44669, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42669 - Diffs of trailing newlines addition and removal don't work properly
Diffs of trailing newlines addition and removal don't work properly
Status: NEW
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.21.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-04 04:30 UTC by MZMcBride
Modified: 2013-09-10 00:53 UTC (History)
3 users (show)

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


Attachments

Description MZMcBride 2012-12-04 04:30:50 UTC
Split from bug 42616, diffs of the removal of trailing newlines should work, even though such diffs are rare. Example diff: <https://test.wikipedia.org/w/index.php?title=Some_page_title&diff=prev&oldid=152897>.

This diff should show that the page went from "#REDIRECT [[Foo]]\n\n" to "#REDIRECT [[Foo]]\n". Instead, it pretends as though there were no changes to the wikitext of the page at all! This is incorrect diff behavior.
Comment 1 Graham87 2013-03-11 05:31:34 UTC
This is also true for diffs of trailing newline additions, and I've modified the summary accordingly:
http://en.wikipedia.org/w/index.php?title=Radiation_therapy&diff=543259144&oldid=543259121

Also see this discussion:
http://en.wikipedia.org/wiki/Wikipedia:Vpt#Bizarre_null_edit_thingy
Comment 2 MZMcBride 2013-09-10 00:53:37 UTC
I believe this same issue changes \r\n to \n without a visible diff, but I'm not completely sure.

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


Navigation
Links