Kirby page history

Hello!

Right now, if someone edits a page and saves it, the previous state is lost.
I was wondering if there is a way with Kirby 3 to create revisions / edit history for a page?

I’ve found


but it’s for Kirby 2.

Cheers!

There is currently no native way to have revisions and I’m not aware of a plugin.

What is your use case? Would it be enough to store revisions in a git repo or in backups, or do you actually need a complete restore workflow in the Panel?

1 Like

thanks for the super quick reply!

Storing revisions in a git repo could be a good solution for now I suppose! The best would be to restore / see changes from the panel, but I guess it’s not urgent.

Basically we have contributors who might create pages, and others who might edit / improve them. For now we have only a dozen contributors, so checking the changes via a git repo would probably be ok I guess!
We just don’t want to use mediawiki for what we need. We are already using kirby so it would be perfect.
Or is there a way to automatically duplicate a page on change? Or even add a button or something via the blueprint? So like the page could be duplicated under a “history folder” or something?

Thank you!

Yes, you could do that either automated via a hook or using the Janitor plugin if you want a button in the Panel.

Git plugin: https://getkirby.com/plugins/oblikstudio/git

1 Like

That’s awesome!

I will then duplicate the page via a button, and show the other pages with the same title or something under a “history” folder on the front end via the template. Something around that!

Will keep you updated! :slight_smile:

Thank you so much!