Extension:EmailDiff/en

The EmailDiff extension modifies outgoing notification emails by providing a text diff of all changes made. This enables you to see the changes without having to leave your mail client.

Edit the template
The extension works by replacing the word $PAGEDIFF in the email notification template with the actual diff. Therefore, you will need to edit the MediaWiki:Enotif_body page on your wiki to add that string. It is recommended that you put some short summary information at the top before the diff. Here is one suggested layout:

Page: $PAGETITLE Summary: $PAGESUMMARY $PAGEMINOREDIT User: $PAGEEDITOR Time: $PAGEEDITDATE $PAGEDIFF $NEWPAGE

Activate for users
In  add a tick in



Or activate the extension for all users in LocalSettings.php by adding:

Configuration parameters
If you need to change these, add them to your LocalSettings.php after the wfLoadExtension command above:


 * - String to be added to the end of the subject line. Defaults to  (diff)
 * - Command to perform the diff. Seldom needs to be changed from the default.