Ticket #423 (new enhancement)

Opened 7 years ago

Last modified 4 years ago

New Diff Engine (more flexible, side by side)

Reported by: bzg Owned by: unassigned
Priority: low Milestone: blue-sky
Component: core Version: 1.1.6.2
Severity: minor Keywords: revision
Cc:

Description (last modified by BrianKoontz) (diff)

Diffs within a page are basically additions or deletions.

Would that be possible to filter the diff result and only see addition OR deletion ?

Related tickets: #583

Change History

  Changed 7 years ago by DarTar

  • keywords revision added
  • version set to 1.1.6.2
  • milestone set to 1.1.8

I think we simply need a more flexible diff engine. I'm not very happy with the current one and would love to add the possibility of side by side diffs.

  Changed 7 years ago by DotMG

  • summary changed from Diff filters to New Diff Engine (more flexible, side by side)

I totally agree!

And diff should be based on raw code, not by output (formatted HTML). At least, a choice should be given if one feels the need of diff by formatted HTML.

  Changed 7 years ago by DarTar

(In [411]) Adding todo for diff engine in docblock, refs #423

follow-up: ↓ 5   Changed 7 years ago by BrianKoontz

If page revisions were saved as ed-style diffs in the DB rather than copies, there is a possibility of not only saving disk space on large wiki sites, but leveraging the diff information that's already been archived for each set of page revisions.

in reply to: ↑ 4   Changed 7 years ago by BrianKoontz

Just to give an idea of the disk space that's save by using diffs, I ran a script to "reverse diff" (same method used in RCS) all the pages on the current wikkawiki.org site (as of 01Jun07). Here are the results:

Pages saved raw: 183MB Pages saves as diffs: 59MB % reduction in disk space: 67%

Quite significant...performance, of course, is another matter, and is something I'll be looking at as well.

  Changed 7 years ago by BrianKoontz

  • description modified (diff)

  Changed 5 years ago by BrianKoontz

  • milestone changed from 1.2.2 to 1.3

  Changed 4 years ago by BrianKoontz

  • milestone changed from 1.3 to blue-sky
Note: See TracTickets for help on using tickets.