-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
History: Compare revisions #79
Comments
This is rather complicated. I'm not sure whether I'll be able to do it - I'll have to take a look. |
#60 might have something useful that we can use do attempt this. We could send the raw page revision data for the 2 different revisions and then have some client side javascript render a unified diff. |
I hardly know what I'm talking about here, but, this sounds a lot like what I quite like how WikiJS manages conflicts because it's familiar (it's essentially a |
That's an interesting idea @RyanGreenup. The problem is that Pepperminty Wiki already has a page revision system (that's tied into the page index), and I don't want to reply on git integration to allow for comparing revisions. Since I last commented on this issue though I've now implemented an extra data system, so it's just a case of finding a lightweight PHP library (1 file) to do the job (I'm really reluctant to spawn any subprocesses because of the performance hit). The other thing is that I'm very keen on implementing this server side, such that users with Javascript disabled or without javascript support (e.g. Before, I wasn't able to use any libraries at all (the Parsedown parser was a special case). With the new system, I can include files in the main Pepperminty Wiki |
Being able to compare revisions is an essential feature. This would be extremely useful for regulars of a wiki as they can quickly see what has changed.
The text was updated successfully, but these errors were encountered: