7

About

Screenshot / Code Snippet

/timeline pages:

post timeline with duplicate target edit diffs

/revisions pages:

post revisions with duplicate target edit diffs

duplicate list reorderings:

post timeline with duplicate targets reordered

About

The native post timeline displays "duplicate lists edited" event as a barely readable blob of links with excessive verbosity ("duplicate list changed from [list of links] to [list of links]"). This userscript diffs the changes and displays them as easy to visually parse lists of items.

As of v1.2.0, also fixes duplicate list edit entries on /revisions pages.

As of v2.0.0 uses Userscripts Configurer to provide configuration options. Currently, 3 options are available:

Option Default Description
Colored diffs true Color-code (red/green) changes in diff view
List type always-ordered Always prepend item number to items
View type list View to use for edit lists

Example of the diff view:

Diff view for the "duplicates list edited" timeline event with 1 target added and 0 removed

As of v3.0.0 uses its own storage for optional configuration (available by installing a Userscript Configurer peer dependency).

Userscript dependencies:

License

The script is licensed under the GPL-3.0-or-later license.

Download

Latest version: 3.0.0

Install | Minified

Platform

Version number means "last tested on":

Chrome Edge Explorer Firefox Opera
✔ 100.0.4896.127 - - ✔ 99.0.1 -

Contact

Author: Oleg Valter
Organization: UserScripters

Please, submit bug reports on the source repository.
Before adding a new one, please check if it hasn't been raised before.

You can also drop by to chat, we are a friendly bunch.

Code

Source code is written in TypeScript.

Contributions are welcome, you can always submit a PR here.

1 Answer 1

3

Small issue when exclusively reordering duplicates. Occasionally, it is necessary to change the order of duplicates to put more relevant ones first, but not to add or remove from the list.

The script only appears to consider additions and removals so we end up with an empty box when performing reorder-only duplicate list edits (red box added to indicate missing text):

duplicates list edited with missing edit description

Here is the timeline from the screenshot.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .