Extension:EditNotify



EditNotify is an extension to MediaWiki that allow users to receive notification while creating and editing a page. The extension makes use of Echo extension to notify the users.

Features
The extension allows registered user to get notified for: All users who are subscribed for any of the event listed above will be notified with a simple alert message as well as an email whenever there is an edit. The users will receive notification via email as well as Echo notification.
 * Creation of new pages
 * Edit to existing pages - It includes notification to all changes.
 * Change in specific template field - Users get the notification when there is a change in template field
 * Change in specific template field to specific template value - Users are notified when there is a change in template field value
 * All pages - keep track of change or creation of all pages.
 * All pages in one or more namespaces
 * All pages in one or more categories

Installation
Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
 * Download and place the file(s) in a directory called  in your   folder.
 * Add the following code at the bottom of your LocalSettings.php:
 * The array $wgEditNotifyAlerts should be added to the LocalSettings.php and the username can be added to the respective array to get notified of the corresponding events.
 * New field name or field name to a specific field value can be added if you wish to track the changes. Namespaces or categories to be tracked can also be added to the respective 'namespace' or 'category' keys in the array.
 * If user wishes to receive notification of all pages, then the category and namespace keys can be avoided.

Requirements

 * Install Echo - EditNotify extension makes use of Echo notifications to notify the subscribed users of page creation/editing.

Examples
Users can get notified of the create and edit event of all pages. In the below example, Joe will get notified it any page is created, or if any page is edited.

Say, if users David and Ram have to get notified when a page is created, and the user John has to get notified when a non template page in 'User' namespace is edited and Charles has to track edit event in 'Uniwiki' category, then the array would something like: George and Ann will get notified of the change in template value if the field value of 'full name' changes in template 'User info' in 'User' and 'Talk' namespaces. While Mia will be notified for change in field value of 'full name' in template 'User info' in any page. If the value of 'full name' changes to 'Albert' in 'User' namespace, then Brennan will be notified of this event. New arrays can be added in $wgEditNotifyAlerts to get notified of the required event.

Issues of the extension

 * Users can get notified when a page is created in any of namespace or category, but user cannot track a particular namespace or category. So when you are subscribing for 'create' page notifications, don't include 'namespace' or 'category' within the individual array for that notification.