User:Lysander/EmailAllChanges

From BoyWiki
Revision as of 23:04, 3 April 2015 by Lysander (talk | contribs) (Created page with "The '''EmailAllChanges''' extension adds a preferences checkbox allowing users to have all changes to pages on the wiki emailed to them. It works by changing the value of me...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The EmailAllChanges extension adds a preferences checkbox allowing users to have all changes to pages on the wiki emailed to them. It works by changing the value of $wgUsersNotifiedOnAllChanges.

Installation

  • Download and place the file(s) in a directory called EmailAllChanges in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/EmailAllChanges/EmailAllChanges.php";
  • Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.

Configuration

$wgEmailAllChangesRight

Set to whatever user right you want users to have to possess in order to use the feature. Defaults to 'block' (which would limit it to sysops on most configurations).</translate>

$wgEmailAllChangesExcludePages

Array of pages to exclude from notification.

$wgEmailAllChangesExcludePages = array( 'MediaWiki:InterwikiMapBackup' );

$wgEmailAllChangesExcludeUsers

$wgEmailAllChangesExcludeUsers = array();

$wgEmailAllChangesExcludeGroups

$wgEmailAllChangesExcludeGroups = array( 'bot' );

Array of user groups whose changes should be excluded from notification