|
Cookbook /
SimultaneousEditsSummary: Enable simultaneous edits for platforms without popen or diff3
Version:
Prerequisites: pmwiki-2.1.0
Status: Stable
Maintainer: Pm
Categories: Administration Windows
Votes:
Questions answered by this recipeHow can I get simultaneous edits to work on systems that can't call the Unix diff3 command? AnswerThe 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. NotesCommentscaution: phppmerge does not show a conflicting change when a whole paragraph is removed. jjs 2006-12-01
See AlsoContributors |