Last modified: 2013-12-10 15:21:12 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 T60268, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58268 - Diff line numbers incorrect. Possibly due to prior diff
Diff line numbers incorrect. Possibly due to prior diff
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.23.0
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-10 13:29 UTC by Nathan Caldwell
Modified: 2013-12-10 15:21 UTC (History)
0 users

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


Attachments

Description Nathan Caldwell 2013-12-10 13:29:43 UTC
I've been trying to calculate a new article based on an original article and diffs.

http://en.wikipedia.org/w/index.php?title=Florida&diff=582177432&oldid=581998623  That is the diff table for certain revisions for the Florida Wikipedia page.  

http://en.wikipedia.org/w/index.php?title=Florida&action=edit&oldid=581998623  That is the page source being used for the base article being diffed to.  

http://en.wikipedia.org/w/index.php?title=Florida&action=edit&oldid=582177432  That is the page source of the next revision that the article is being diffed

If you open up these two sources in a text editor you can see the line count. Now, look at the diff table (first thing I linked). Look at the entry for the diff for original article line 359 and new article line 361. The lines before the change should line up, right? If I had to guess what's causing it, I would say it's the diffs above it. Part of a line is being removed, but not otherwise changed, and this removed text is then being added as a new paragraph.
Comment 1 Andre Klapper 2013-12-10 14:56:51 UTC
> The lines before the change should line up, right?

I'm not sure if I understand what you mean. Please elaborate.
Comment 2 Nathan Caldwell 2013-12-10 15:21:12 UTC
Let me rewrite that whole paragraph. 

If you open up these two sources in a text editor you can see the line count. Now, look at the diff table (first thing I linked). The diff for the original article is correct and begins at line 359. However, the diff for the second article begins at line 365 in my text editor whereas the diff table says it should begin at line 361. If I had to guess what's causing it, I would say it's the diffs above it. Part of a line is being removed, but not otherwise changed, and this removed text is then being added as a new paragraph.

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


Navigation
Links