Last modified: 2013-10-25 09:40:22 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 T38976, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36976 - Diffs: Incorrect number of bytes added or removed
Diffs: Incorrect number of bytes added or removed
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-19 17:04 UTC by snaevar
Modified: 2013-10-25 09:40 UTC (History)
8 users (show)

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


Attachments

Description snaevar 2012-05-19 17:04:19 UTC
The number of bytes added in several diffs are wrong. The bug applies to page histories and user contributions, but does not seem to have any effect on Recent changes.

Here is one example:
MerlIWBot edits Template:Link GA on wikidata-test-client by adding one interlanguage link. In his contributions and in the page history the edit is stated as being 1370 bytes. Those 1370 bytes are actually the size of the template itself, but not the size of the edit. The RecentChanges state that the edit is 30 bytes, which is much more believable.

From /Special:Contributions/MerlIwBot:
18:51, 12 May 2012 (diff | hist) . . (+1,370)‎ . . Nm Template:Link GA ‎ (Robot: Adding el:Πρότυπο:Link GA) (top)

From index.php?title=Template:Link GA&action=history
(cur | prev) 18:51, 12 May 2012‎ MerlIwBot (Talk)‎ m . . (1,370 bytes) (+1,370)‎ . . (Robot: Adding el:Πρότυπο:Link GA) (undo)

From RecentChanges:
12 May 2012
(diff | hist) . . m Template:Link GA‎; 18:51 . . (+30)‎ . . ‎MerlIwBot (Talk)‎ (Robot: Adding el:Πρότυπο:Link GA)

I can name several other examples aswell, but I am going to stick to this one for now.
Comment 1 denny vrandecic 2012-05-20 03:18:21 UTC
Interesting error. My assumption is that this is due to the fact that we first imported only the most recent version of the articles, and then we changed our mind and imported their full histories, and so basically all the diff sizes use the wrong basis when they were calculated. The rebuildall scrip gets stuck for some reason on the simple.wp import of the elements, but we didn't investigate that further.

If this theory is confirmed, this would be a bug for the import or rebuild scripts, and does not have to do anything with the Wikidata extension, and would need to be recategorized. Thanks for the catch!
Comment 2 Mark A. Hershberger 2012-05-24 17:56:02 UTC
(In reply to comment #1)
> Interesting error. My assumption is that this is due to the fact that we first
> imported only the most recent version of the articles, and then we changed our
> mind and imported their full histories, and so basically all the diff sizes use
> the wrong basis when they were calculated. The rebuildall scrip gets stuck for
> some reason on the simple.wp import of the elements, but we didn't investigate
> that further.
> 
> If this theory is confirmed, this would be a bug for the import or rebuild
> scripts,


re-categorizing
Comment 3 Thehelpfulone 2012-05-27 12:53:26 UTC
Marking as new.
Comment 4 snaevar 2012-05-27 13:51:51 UTC
Adding a few links to the example I provided, for easy access.

User Contributions of MerlIwBot (when this was written the diff in question is the newest one): http://wikidata-test-client.wikimedia.de/wiki/Special:Contributions/MerlIwBot

Revision history of Template:LinkGA (when this was written the diff in question is the newest one): http://wikidata-test-client.wikimedia.de/w/index.php?title=Template:Link_GA&action=history

The diff itself: http://wikidata-test-client.wikimedia.de/w/index.php?title=Template%3ALink_GA&diff=2677&oldid=15118

Recent changes (the diff is under "12 may 2012" at 18:51): http://wikidata-test-client.wikimedia.de/w/index.php?title=Special:RecentChanges&days=30&from=&limit=250
Comment 5 PRO 2012-11-15 00:17:03 UTC
Another live example: http://de.wikipedia.org/wiki/Richard_Price_%28Philosoph%29
Comment 6 Daniel Kinzler 2012-11-15 16:34:42 UTC
removign this from the wikidata-bugs, since it'S not related to wikidata or wikibase.
Comment 7 Nathan Larson 2013-10-25 09:00:35 UTC
I am noticing an issue now in which if I go to, say, https://www.mediawiki.org/wiki/Special:Contributions/Leucosticte , it shows me in parentheses the total length of the page rather than the number of bytes added. E.g., if I increased the page length to 9,531, it says (+9,531). It's also doing this on my other wiki which is running MW 1.22alpha.
Comment 8 Helder 2013-10-25 09:16:08 UTC
(In reply to comment #7)

Confirmed.
Comment 9 Kevin Israel (PleaseStand) 2013-10-25 09:40:22 UTC
(In reply to comment #7)
> I am noticing an issue now in which if I go to, say,
> https://www.mediawiki.org/wiki/Special:Contributions/Leucosticte , it shows
> me
> in parentheses the total length of the page rather than the number of bytes
> added. E.g., if I increased the page length to 9,531, it says (+9,531). It's
> also doing this on my other wiki which is running MW 1.22alpha.

I think you have encountered a different bug (bug 56115).

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


Navigation
Links