Extension:EditWarning

The EditWarning extension displays a warning if user edits a page/section which is currently being edited.

On pages which are being edited by many users simultaneously, edit conflicts can easily happen. This extension tries to avoid this problem by showing a warning message if the user edits a page that is being edited by other users at the same time. It's very similar to the MoinMoin Wiki warning with the difference that it doesn't lock the page.

It's not recommended to use this extension if anonymous users are allowed to edit pages, because it ignores anonymous page edits.

Configuration

 * The default timeout is set to 10 minutes. If you want to change this setting, add this line to your (Note: The value is the number of minutes):


 * The extension hides everything except the editor area (see screenshots). If you don't like this behavior, add this line to your LocalSettings.php:

Upgrade from 0.3
See the UPGRADE file.

Known Issues

 * The extension can only recognize the cancel of page editing if the user uses the "Cancel" button. Otherwise the warning will be showed until the timeout (default 10 minutes).
 * When a user tries to edit a page that is already edited by another user and she/he sees a blank page or a page with "Fatal error:Call to undefined function:bcdiv" you have to install the php module "bcmath".