Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

SimultaneousEdits

Summary: Enable simultaneous edits for platforms without popen or diff3
Version:
Prerequisites: pmwiki-2.1.0
Status: Stable
Maintainer: Pm
Votes:

Questions answered by this recipe

How can I get simultaneous edits to work on systems that can't call the Unix diff3 command?

Answer

The phpmerge.phpΔ script replaces the merge function distributed with PmWiki with a version that doesn't require an external diff3 program. To use this script, simply copy it to the cookbook/ directory and add the following lines to local/config.php:

    include_once('cookbook/phpmerge.php');
    $EnableSimulEdit = 0;             ## turn off pmwiki's version

This will cause PmWiki to attempt to merge simultaneous edits, denoting conflicting sections with <<<<<<< and >>>>>>> as appropriate.

Notes

Comments

caution: phppmerge does not show a conflicting change when a whole paragraph is removed.

jjs 2006-12-01

See Also

Contributors

Edit - History - Print - Recent Changes - Search
Page last modified on November 30, 2006, at 06:27 PM