Diff arbitrary revisions of pages #4788

Open
opened 2026-02-05 09:15:49 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @highsciguy on GitHub (May 22, 2024).

Describe the feature you'd like

It would be great if BookStack could allow viewing changes between arbitrary revisions of a given page.
Contenders realize that by viewing check boxes alongside the different revisions on the Page Revisions equivalent overview allowing the selection of two revisions to compare.
Since the html diff function is already there, it seems the change would amount to mostly that frontend modification.
Each diff also has an url, but that may not make sense to implement for arbitrary page comparisons.

Describe the benefits this would bring to existing BookStack users

Everyone would be able to see commutative changes rather than the often atomic differences between two revisions. The function eases the review of pages significantly.

Can the goal of this request already be achieved via other means?

You could export the html of two page versions and use an independent html diff tool to do the same, but who would do that.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Not using yet, just scoping

Additional context

No response

Originally created by @highsciguy on GitHub (May 22, 2024). ### Describe the feature you'd like It would be great if BookStack could allow viewing changes between arbitrary revisions of a given page. Contenders realize that by viewing check boxes alongside the different revisions on the Page Revisions equivalent overview allowing the selection of two revisions to compare. Since the html diff function is already there, it seems the change would amount to mostly that frontend modification. Each diff also has an url, but that may not make sense to implement for arbitrary page comparisons. ### Describe the benefits this would bring to existing BookStack users Everyone would be able to see commutative changes rather than the often atomic differences between two revisions. The function eases the review of pages significantly. ### Can the goal of this request already be achieved via other means? You could export the html of two page versions and use an independent html diff tool to do the same, but who would do that. ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? Not using yet, just scoping ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 09:15:49 +03:00
Author
Owner

@david-prv commented on GitHub (May 24, 2024):

A feature that is for sure missing! Would be helpful for managing the different versions of a page. Especially in combination with https://github.com/BookStackApp/BookStack/issues/941 and others, this could enrich the revision feature a lot. I assume, that most BookStack instances are used by companies and thus it will become necessary for many to somehow moderate revision policies (e.g. enforce changelog comment) and compare changes made by different individuals (e.g. for precise rollbacks).

@david-prv commented on GitHub (May 24, 2024): A feature that is for sure missing! Would be helpful for managing the different versions of a page. Especially in combination with https://github.com/BookStackApp/BookStack/issues/941 and others, this could enrich the revision feature a lot. I assume, that most BookStack instances are used by companies and thus it will become necessary for many to somehow moderate revision policies (e.g. enforce changelog comment) and compare changes made by different individuals (e.g. for precise rollbacks).
Author
Owner

@Hallsie commented on GitHub (Jun 17, 2024):

Just a question/thought... but it does that now. If you select a revision to view it doesn't show it side-by-side but does show green vs. red text where there are differences against the newest revision.

@Hallsie commented on GitHub (Jun 17, 2024): Just a question/thought... but it does that now. If you select a revision to view it doesn't show it side-by-side but does show green vs. red text where there are differences against the newest revision.
Author
Owner

@highsciguy commented on GitHub (Jun 21, 2024):

Just a question/thought... but it does that now. If you select a revision to view it doesn't show it side-by-side but does show green vs. red text where there are differences against the newest revision.

I cannot follow that. If on the "Page Revisions" page for a given Page, I click the "Changes" link of a revision in the list, I see the differences against the previous revision with inline change marks.

I am not looking for a side-by-side diff, but for the same type of diff, however for arbitrary revisions. In particular for the newest revision against the selected one.

@highsciguy commented on GitHub (Jun 21, 2024): > Just a question/thought... but it does that now. If you select a revision to view it doesn't show it side-by-side but does show green vs. red text where there are differences against the newest revision. I cannot follow that. If on the "Page Revisions" page for a given Page, I click the "Changes" link of a revision in the list, I see the differences against the previous revision with inline change marks. I am not looking for a side-by-side diff, but for the same type of diff, however for arbitrary revisions. In particular for the newest revision against the selected one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4788