https://bugzilla.wikimedia.org/show_bug.cgi?id=34922

Jarry1250 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Jarry1250 <[email protected]> 2012-03-04 22:39:36 UTC ---
(In reply to comment #1)
> Special:Contributions is getting the size from the parent rev by using the
> rev_parent_id field in the database. Maybe in this case the parent_id is not
> populate.

Seems to be bang on the money. rev_parent_id is not fully populated, and each
of these bad diff sizes correlates to NULL. Page creations (presumably what
this is conflating NULL with) in fact have 0 as their parent_id. 

As for the fix, I think a good pro-tem measure would be to not display the
erroneous character changes, and then to look at properly populating the
parent_id field. Trying to seek backwards to do generate the parent_id on the
fly seems very inefficient. (Incidentally, the watchlist and RC look at the RC
table, which has old_bytes and new_bytes. Unfortunately we shan't be able to
replicate that behaviour here.)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to