Jump to content

User:TFOWR/easyDiff2

From Wikipedia, the free encyclopedia

Things it does

[edit]

Cheap and cheerful userscript. When viewing diffs, underneath the "← Previous edit" and "Next edit →" links you'll see a {{diff2}} ready for copying-and-pasting. And that's it. Except for...

At no extra cost: a {{diff}}, too. Covers multiple revisions.

Also: {{fullurl}} on Special:Log pages. Not sure what that has to do with diffs. Probably time for a change of name...

Things it doesn't do

[edit]
  • Handle long strings very nicely.

Things it breaks

[edit]

Things other people can do

[edit]
  • Anything! Copy it into your own userspace, though - don't break my copy. Once you've got it working, I'd gladly review it and accept your changes (properly attributed to you, of course). It's worth pointing out that the last time I wrote anything in JavaScript was in a different century...