EditConflictAlert gives a banner-like notification when the page you are editing gets edited, from which you can display the diff of that respective edit. You can also opt to replace your text with the new content (your edit won't be lost, it will be moved to another non-editable input at the bottom of the page).

Installation

Configuration

All variables must be declared before the importArticles call.

window.EditConflictAlertInterval
The time (in MS) that passes in-between API calls checking for new edits. Default: 5000

Example:

window.EditConflictAlertInterval = 15000;
// importArticles...
Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.