revision_purgatory
Revision Purgatory module helps site builders keep content revision tables lean by queuing and deleting stale node revisions.
Features
- Node revisions are grouped by language and show the revision history through a dedicated admin UI. - Queue and purge outdated revisions automatically via cron, with batching to protect large sites. Use this module when you need to rein in database growth from revision-heavy content workflows with controllable surgical revision removal operations.
Post-Installation
After enabling the module, visit “admin/config/revision-purgatory” to set the purge window, batch size, and select which content types should be processed. Cron will enqueue and delete stale revisions according to these settings. The “Revision Purgatory” admin section provides node lists, revision overviews, and a manual preview function if you want to inspect a revision before removal.
UI: admin/revision-purgatory/nodes
Configuration: admin/config/revision-purgatory
NOTE: The Detailed revision view can show you revisions that are very old and that you didn't think you still have. These revisions you don't see in the default drupal core revision overview page. These revisions may throw errors on the page because they are no longer compatible with the current changes on your website. Check the message log for further clarifications.
Additional Requirements
No additional modules or external libraries are required beyond Drupal core.
Recommended modules/libraries
Optional: Queue UI (drupal/queue_ui) can help administrators monitor the revision purge queue in real time.
Similar projects
Core’s “Delete content revisions” action and various purge utilities exist, but Revision Purgatory adds a translation-aware batch removal operation, a browsable revision dashboard, and automated cron integration so large sites can prune revisions safely and transparently.
Supporting this Module
Contributions, issue reports, and patches on Drupal.org are always appreciated.