Platonides schreef:
Roan Kattouw schreef:
* probably be integrated with wikidiff2 so the
two diffs are generated
simultaneously; this avoids calculating the differences between the same
set of revisions twice
Not really, as one is a wikitext diff and the other a html diff.
What can be used is a cached representation of the rendered html for one
of the sides. Although that gives me a feeling of "something will get
inconsistent here"
Maybe I should have made myself clearer. What I don't
want to happen is:
* wikidiff2 works its magic and figures out that "recieved" was changed
to "received" on line 123
* wikidiff2 outputs an HTML diff outlining that
* inlinediff works (more or less) the same magic and figures out that
"recieved" => "received" on line 123
* inlinediff outputs its HTML
The diff information (what was added/removed/changed and where)
shouldn't be calculated twice, but should somehow be shared between the
two. This will improve performance and increase consistency between the
two diffs. It seemed to me that integrating inlinediff with wikidiff2
would be the most practical way to implement this sharing of information.
Roan Kattouw (Catrope)