Summary: Merge the latest successive minor edits in page histories
Version: 20220118
Prerequisites: PmWiki 2.3.1 or more recent
Status: Beta
Maintainer: Petko
License: GPLv2+
Categories: Editing, Security
Users: (view? / edit)
Discussion: FuseEdit-Talk?

This feature has been added to the core for 2.3.24 and can be enabled by setting $EnableMergeLastMinorEdit = 1; in config.php. If you enable the core version, please disable this recipe.

I am editing a page, and find small things to amend, one after another. I wish there was a way to make these edits without creating multiple separate history entries.


Merge the latest successive minor edits from the same user.

With the recipe installed, when an editor checks the checkbox "This is a minor edit", if the previous edit was from the same person (same user name, same IP address, same browser version), then the previous "diff" is emptied and marked as "hidden", and the newly created "diff" will contain the changes since the penultimate version.

This recipe was written in order to make life easier for translators in a multi-language wiki, but can be used in other cases as well.

It is enabled on PmWiki.org, you can test it in Main.WikiSandbox.


  1. Place fuseedit.phpΔ in your pmwiki/cookbook directory.
  2. Add to config.php such a line:
    if($action == 'edit') {


Only internationalization can be configured at the moment.


The following strings can be translated in an XLPage:

'[Edit fused with more recent]' => '[Édition fusionnée avec version plus récente]',

This is saved in the "hidden" page history entry before the edit summary typed by the user.


When you edit a page, if you want to merge your current edit with the previous one, check the checkbox "This is a minor edit".


Edits marked as "hidden" are actually hidden from the page history since 2.3.0.

To do / some day / maybe

Change log / Release notes

  • 20220118 First public release, ready to be tested.

See also


Written and maintained by Petko


See discussion at FuseEdit-Talk?

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.