Page MenuHomePhabricator

Visually merge consecutive edits from the same user in histories
Open, LowPublic

Description

Author: emery.denuccio

This is a derivative of T9900: Merge consecutive edits by the same user, and apparently more practical.

The request is that in the History page of an article, consecutive edits from the same user can be merged and displayed as a single user-edit segment to make the History page much cleaner, and easier to navigate. When a user-edit is viewed it will show only the most recent edit in that user-edit series.

The motivation behind this is that people often don't use the preview feature, or they change their mind about an edit after commiting it, but still before another user edits the article separately. When browsing the history of an article, you usually see edits in sequences of 2-5 from the same author, each being a minor change, like a single word exchanged for one more descriptive, or a simple typo which went unnoticed.

Details

Reference
bz7904

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:29 PM
bzimport set Reference to bz7904.
bzimport added a subscriber: Unknown Object (MLST).

Beetstra.wiki wrote:

This feature may be handy, also in fighting vandalism. It would group the edits of one user into one
group, which is easier to revert, Now one has to browse back to the first edit, and then revert that
edit. I would like to see this feature combined with a similar system on a users contributions list,
where consecutive edits to the same article are also grouped.

robchur wrote:

(In reply to comment #1)

This feature may be handy, also in fighting vandalism. It would group the

edits of one user into one

group, which is easier to revert, Now one has to browse back to the first

edit, and then revert that

edit.

Technically a separate request, since it's not "roll back the last change" but
"roll back to this version".

I would like to see this feature combined with a similar system on a users

contributions list,

where consecutive edits to the same article are also grouped.

Separate request.

ui2t5v002 wrote:

Although merged visually, you should still be able to "expand" the merged edits and view each one individually. The diff engine can't really handle that much, so I often make lots of smaller edits in a row that I know it will be able to display in a readable way. (Moving one paragraph to another position in its own edit, etc.)

He7d3r set Security to None.
He7d3r added a subscriber: DiegoQueiroz.

See related discussion at https://en.wiktionary.org/wiki/Wiktionary:Grease_pit/2016/March#Consolidating_minor_edits_into_a_single_major_edit_in_an_entry.

This would require some thought regarding the implementation. For example, how would it interact with grouped changes (the "Group changes by page in recent changes and watchlist" option in preferences)? Would there be 2 levels of grouping in that case?

Quoting my comment from T35943, for convenience:

There's already a very nice script to accomplish this: https://en.wikipedia.org/wiki/User:Alex_Smotrov/histcomb.js -- however, it would be nice to have the functionality natively in MediaWiki.

One thing that should be kept in mind in implementing this, is that edits should only be combined if they are made in rapid succession (a few minutes apart at most). Otherwise, pages heavily edited by a single editor but across a longer timeframe, will have their edit histories unnecessarily obscured.