Node Revision Limit
This module allows you to set a limit on the number of revisions kept for each node, independently for each language. When a node is updated, older revisions beyond the set limit are automatically deleted. This helps manage storage space and keeps revision history organized, especially on multilingual sites.
Node Revision Limit
The module allow to choose the number of revisions to keep to nodes.
Once set, revision deletions will occur on each node update to keep that number limit, independently for each language activated.
The module is compatible with the usage of Content Translation and Content Moderation
Context
This lightweight module has been developped because the Node Revision Delete module do not work properly on multilingual sites.
https://www.drupal.org/project/node_revision_delete/issues/3262899
How to use
- Enable the module.
- Go to /admin/config/content/node_revision_limit.
- For each enabled language, set the number of revisions to keep (default: 3).
- Revisions are pruned automatically the next time the node is updated.