Saving a page without making any changes should not create a new revision. #1495

Closed
opened 2026-02-05 01:03:22 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Rumcajsev on GitHub (Jan 15, 2020).

Describe the feature you'd like
Currently if I edit a page and save it without making any changes a new revision is created.
I think that such action shouldn't create a new revision.

Describe the benefits this feature would bring to BookStack users
This change would make it easier to keep the page versions tidy. Currently I have to manually remove any 'empty' revisions which is time consuming and it's easy to make a mistake and delete the wrong one.
Thanks to this change in the revisions page users would only see actual changes made.

Another solution for this could be somehow marking the 'empty' revisions on the revision page.

Originally created by @Rumcajsev on GitHub (Jan 15, 2020). **Describe the feature you'd like** Currently if I edit a page and save it without making any changes a new revision is created. I think that such action shouldn't create a new revision. **Describe the benefits this feature would bring to BookStack users** This change would make it easier to keep the page versions tidy. Currently I have to manually remove any 'empty' revisions which is time consuming and it's easy to make a mistake and delete the wrong one. Thanks to this change in the revisions page users would only see actual changes made. Another solution for this could be somehow marking the 'empty' revisions on the revision page.
OVERLORD added the 🐛 Bug🏭 Back-End labels 2026-02-05 01:03:22 +03:00
Author
Owner

@mflagler commented on GitHub (Feb 21, 2020):

Why not just hit the back button instead of the save button? If you have made changes, it will prompt you before actually going back.

@mflagler commented on GitHub (Feb 21, 2020): Why not just hit the back button instead of the save button? If you have made changes, it will prompt you before actually going back.
Author
Owner

@ssddanbrown commented on GitHub (Feb 7, 2021):

Thanks for reporting @Rumcajsev.
There were some checks in place to prevent unrequired revisions but they were not working as intended. This has now been patched in 5323cb5224, to be part of the next feature release.

@ssddanbrown commented on GitHub (Feb 7, 2021): Thanks for reporting @Rumcajsev. There were some checks in place to prevent unrequired revisions but they were not working as intended. This has now been patched in 5323cb52245c4ec7f8735173e3057e321ff6327f, to be part of the next feature release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1495